Class SEQDeltaFrame
java.lang.Object
org.monte.media.seq.SEQFrame
org.monte.media.seq.SEQDeltaFrame
Represents a delta frame in a movie track.
References:
http://www.fileformat.info/format/atari/egff.htm
http://www.atari-forum.com/wiki/index.php/ST_Picture_Formats
- Author:
- Werner Randelshofer, Hausmatt 10, CH-6405 Goldau, Switzerland
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class org.monte.media.seq.SEQFrame
BadBitsOP_ByteVertical, BadBitsOP_GeneralDelta, BIT_LongData, BIT_LongInfoOffsets, BIT_OneInfoListForAllPlanes, BIT_RLC, BIT_Vertical, BIT_XOR, colorModel, data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(AmigaBitmapImage bitmap, SEQMovieTrack track) intgetBottomBound(SEQMovieTrack track) intgetLeftBound(SEQMovieTrack track) intgetRightBound(SEQMovieTrack track) intgetTopBound(SEQMovieTrack track) booleanReturns true if the frame can be decoded over both the previous frame or the subsequent frame.voidsetBounds(int x, int y, int w, int h) Methods inherited from class org.monte.media.seq.SEQFrame
addAudioCommand, cleanUpAudioCommands, getAudioCommands, getBits, getColorModel, getInterleave, getOperation, getRelTime, getStorageMethod, setAbsTime, setBits, setColorModel, setData, setHeight, setInterleave, setOperation, setRelTime, setStorageMethod, setWidth, setX, setY
-
Field Details
-
OP_Copy
public static final int OP_Copy- See Also:
-
OP_XOR
public static final int OP_XOR- See Also:
-
SM_UNCOMPRESSED
public static final int SM_UNCOMPRESSED- See Also:
-
SM_COMPRESSED
public static final int SM_COMPRESSED- See Also:
-
-
Constructor Details
-
SEQDeltaFrame
public SEQDeltaFrame()
-
-
Method Details
-
decode
-
setBounds
public void setBounds(int x, int y, int w, int h) -
getTopBound
- Overrides:
getTopBoundin classSEQFrame
-
getBottomBound
- Overrides:
getBottomBoundin classSEQFrame
-
getLeftBound
- Overrides:
getLeftBoundin classSEQFrame
-
getRightBound
- Overrides:
getRightBoundin classSEQFrame
-
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.
- Overrides:
isBidirectionalin classSEQFrame
-