org.jcodec.codecs.prores
Class ProresToThumb

java.lang.Object
  extended by org.jcodec.codecs.prores.ProresDecoder
      extended by org.jcodec.codecs.prores.ProresToThumb
All Implemented Interfaces:
VideoDecoder

public class ProresToThumb
extends ProresDecoder

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Decodes a ProRes file in low res. Decodes each 8x8 block as 1 pixel.

Author:
The JCodec project

Constructor Summary
ProresToThumb()
           
 
Method Summary
 Picture decodeFrame(ByteBuffer data, int[][] target)
          Decodes a video frame to an uncompressed picture in codec native colorspace
protected  int[] decodeOnePlane(BitReader bits, int blocksPerSlice, int[] qMat, int[] scan, int mbX, int mbY, int plane)
           
protected  void putSlice(int[][] result, int lumaStride, int mbX, int mbY, int[] y, int[] u, int[] v, int dist, int shift, int chromaType)
           
 
Methods inherited from class org.jcodec.codecs.prores.ProresDecoder
decodeFields, decodePicture, golumbSign, golumbToSigned, isProgressive, nZeros, probe, readACCoeffs, readCodeword, readDCCoeffs, readFrameHeader, readPictureHeader, scaleMat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProresToThumb

public ProresToThumb()
Method Detail

decodeOnePlane

protected int[] decodeOnePlane(BitReader bits,
                               int blocksPerSlice,
                               int[] qMat,
                               int[] scan,
                               int mbX,
                               int mbY,
                               int plane)
Overrides:
decodeOnePlane in class ProresDecoder

decodeFrame

public Picture decodeFrame(ByteBuffer data,
                           int[][] target)
Description copied from interface: VideoDecoder
Decodes a video frame to an uncompressed picture in codec native colorspace

Specified by:
decodeFrame in interface VideoDecoder
Overrides:
decodeFrame in class ProresDecoder
Parameters:
data - Compressed frame data

putSlice

protected void putSlice(int[][] result,
                        int lumaStride,
                        int mbX,
                        int mbY,
                        int[] y,
                        int[] u,
                        int[] v,
                        int dist,
                        int shift,
                        int chromaType)
Overrides:
putSlice in class ProresDecoder


Copyright © 2013. All Rights Reserved.