java.lang.Object
org.monte.media.seq.SEQFrame
- Direct Known Subclasses:
SEQDeltaFrame
Represents a frame in a movie track.
- Author:
- Werner Randelshofer, Hausmatt 10, CH-6405 Goldau, Switzerland
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected ColorModelprotected byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAudioCommand(SEQAudioCommand command) Adds an audio command to this anim frame.voidRemoves duplicate audio commands.abstract voiddecode(AmigaBitmapImage bitmap, SEQMovieTrack track) Returns audio commands associated with this frame.intgetBits()intgetBottomBound(SEQMovieTrack track) intintgetLeftBound(SEQMovieTrack track) intlongintgetRightBound(SEQMovieTrack track) intintgetTopBound(SEQMovieTrack track) booleanReturns true if the frame can be decoded over both the previous frame or the subsequent frame.voidsetAbsTime(long abstime) voidsetBits(int bits) voidvoidsetData(byte[] data) voidsetHeight(int h) voidsetInterleave(int interleave) voidsetOperation(int operation) voidsetRelTime(long reltime) voidsetStorageMethod(int storageMethod) voidsetWidth(int w) voidsetX(int x) voidsetY(int y)
-
Field Details
-
colorModel
-
data
protected byte[] data -
BadBitsOP_GeneralDelta
protected static final int BadBitsOP_GeneralDelta- See Also:
-
BIT_LongData
protected static final int BIT_LongData- See Also:
-
BIT_XOR
protected static final int BIT_XOR- See Also:
-
BIT_OneInfoListForAllPlanes
protected static final int BIT_OneInfoListForAllPlanes- See Also:
-
BIT_RLC
protected static final int BIT_RLC- See Also:
-
BIT_Vertical
protected static final int BIT_Vertical- See Also:
-
BIT_LongInfoOffsets
protected static final int BIT_LongInfoOffsets- See Also:
-
BadBitsOP_ByteVertical
protected static final int BadBitsOP_ByteVertical- See Also:
-
-
Constructor Details
-
SEQFrame
public SEQFrame()
-
-
Method Details
-
addAudioCommand
Adds an audio command to this anim frame. -
getAudioCommands
Returns audio commands associated with this frame. Returns null if there are no audio commands available for this frame. -
cleanUpAudioCommands
public void cleanUpAudioCommands()Removes duplicate audio commands. -
setColorModel
-
getColorModel
-
setData
public void setData(byte[] data) -
setOperation
public void setOperation(int operation) -
setStorageMethod
public void setStorageMethod(int storageMethod) -
setWidth
public void setWidth(int w) -
setHeight
public void setHeight(int h) -
setX
public void setX(int x) -
setY
public void setY(int y) -
setAbsTime
public void setAbsTime(long abstime) -
setRelTime
public void setRelTime(long reltime) -
setInterleave
public void setInterleave(int interleave) -
setBits
public void setBits(int bits) -
getOperation
public int getOperation() -
getStorageMethod
public int getStorageMethod() -
getBits
public int getBits() -
getRelTime
public long getRelTime() -
getInterleave
public int getInterleave() -
decode
-
getTopBound
-
getBottomBound
-
getLeftBound
-
getRightBound
-
isBidirectional
public boolean isBidirectional()Returns true if the frame can be decoded over both the previous frame or the subsequent frame. Bidirectional frames can be used efficiently for forward and backward playing a movie.All key frames are bidirectional. Delta frames which use an XOR OP-mode are bidirectional as well.
-