Class SEQFrame

java.lang.Object
org.monte.media.seq.SEQFrame
Direct Known Subclasses:
SEQDeltaFrame

public abstract class SEQFrame extends Object
Represents a frame in a movie track.
Author:
Werner Randelshofer, Hausmatt 10, CH-6405 Goldau, Switzerland
  • Field Details

  • Constructor Details

    • SEQFrame

      public SEQFrame()
  • Method Details

    • addAudioCommand

      public void addAudioCommand(SEQAudioCommand command)
      Adds an audio command to this anim frame.
    • getAudioCommands

      public SEQAudioCommand[] 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

      public void setColorModel(ColorModel cm)
    • getColorModel

      public ColorModel 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

      public abstract void decode(AmigaBitmapImage bitmap, SEQMovieTrack track)
    • getTopBound

      public int getTopBound(SEQMovieTrack track)
    • getBottomBound

      public int getBottomBound(SEQMovieTrack track)
    • getLeftBound

      public int getLeftBound(SEQMovieTrack track)
    • getRightBound

      public int getRightBound(SEQMovieTrack track)
    • 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.