Class MediaVideoDecoder

java.lang.Object
javaforce.media.MediaCoder
javaforce.media.MediaVideoDecoder

public class MediaVideoDecoder extends MediaCoder
  • Constructor Details

    • MediaVideoDecoder

      public MediaVideoDecoder()
    • MediaVideoDecoder

      public MediaVideoDecoder(MediaInput input)
  • Method Details

    • nstart

      public long nstart(int codec_id, int new_width, int new_height)
    • start

      public boolean start(int codec_id, int new_width, int new_height)
    • nstop

      public void nstop(long ctx)
    • stop

      public void stop()
    • ndecode

      public int[] ndecode(long ctx, byte[] data, int offset, int length)
    • decode

      public int[] decode(byte[] data, int offset, int length)
    • decode

      public int[] decode(Packet packet)
    • ngetWidth

      public int ngetWidth(long ctx)
    • getWidth

      public int getWidth()
    • ngetHeight

      public int ngetHeight(long ctx)
    • getHeight

      public int getHeight()
    • ngetFrameRate

      public float ngetFrameRate(long ctx)
    • getFrameRate

      public float getFrameRate()