public abstract class SEQFrame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int |
BadBitsOP_ByteVertical |
protected static int |
BadBitsOP_GeneralDelta |
protected static int |
BIT_LongData |
protected static int |
BIT_LongInfoOffsets |
protected static int |
BIT_OneInfoListForAllPlanes |
protected static int |
BIT_RLC |
protected static int |
BIT_Vertical |
protected static int |
BIT_XOR |
protected java.awt.image.ColorModel |
colorModel |
protected byte[] |
data |
Constructor and Description |
---|
SEQFrame() |
Modifier and Type | Method and Description |
---|---|
void |
addAudioCommand(SEQAudioCommand command)
Adds an audio command to this anim frame.
|
void |
cleanUpAudioCommands()
Removes duplicate audio commands.
|
abstract void |
decode(BitmapImage bitmap,
SEQMovieTrack track) |
SEQAudioCommand[] |
getAudioCommands()
Returns audio commands associated with this frame.
|
int |
getBits() |
int |
getBottomBound(SEQMovieTrack track) |
java.awt.image.ColorModel |
getColorModel() |
int |
getInterleave() |
int |
getLeftBound(SEQMovieTrack track) |
int |
getOperation() |
long |
getRelTime() |
int |
getRightBound(SEQMovieTrack track) |
int |
getStorageMethod() |
int |
getTopBound(SEQMovieTrack track) |
boolean |
isBidirectional()
Returns true if the frame can be decoded over both the previous frame
or the subsequent frame.
|
void |
setAbsTime(long abstime) |
void |
setBits(int bits) |
void |
setColorModel(java.awt.image.ColorModel cm) |
void |
setData(byte[] data) |
void |
setHeight(int h) |
void |
setInterleave(int interleave) |
void |
setOperation(int operation) |
void |
setRelTime(long reltime) |
void |
setStorageMethod(int storageMethod) |
void |
setWidth(int w) |
void |
setX(int x) |
void |
setY(int y) |
protected java.awt.image.ColorModel colorModel
protected byte[] data
protected static final int BadBitsOP_GeneralDelta
protected static final int BIT_LongData
protected static final int BIT_XOR
protected static final int BIT_OneInfoListForAllPlanes
protected static final int BIT_RLC
protected static final int BIT_Vertical
protected static final int BIT_LongInfoOffsets
protected static final int BadBitsOP_ByteVertical
public void addAudioCommand(SEQAudioCommand command)
public SEQAudioCommand[] getAudioCommands()
public void cleanUpAudioCommands()
public void setColorModel(java.awt.image.ColorModel cm)
public java.awt.image.ColorModel getColorModel()
public void setData(byte[] data)
public void setOperation(int operation)
public void setStorageMethod(int storageMethod)
public void setWidth(int w)
public void setHeight(int h)
public void setX(int x)
public void setY(int y)
public void setAbsTime(long abstime)
public void setRelTime(long reltime)
public void setInterleave(int interleave)
public void setBits(int bits)
public int getOperation()
public int getStorageMethod()
public int getBits()
public long getRelTime()
public int getInterleave()
public abstract void decode(BitmapImage bitmap, SEQMovieTrack track)
public int getTopBound(SEQMovieTrack track)
public int getBottomBound(SEQMovieTrack track)
public int getLeftBound(SEQMovieTrack track)
public int getRightBound(SEQMovieTrack track)
public boolean isBidirectional()
All key frames are bidirectional. Delta frames which use an XOR OP-mode are bidirectional as well.