org.jcodec.codecs.prores
Class Mpeg2Prores

java.lang.Object
  extended by org.jcodec.codecs.mpeg12.MPEGDecoder
      extended by org.jcodec.codecs.prores.Mpeg2Prores
All Implemented Interfaces:
VideoDecoder

public class Mpeg2Prores
extends MPEGDecoder

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Converts MPEG 2 I-frame to a ProRes frame without re-transcoding ( without inverse and forward DCT step and frame reconstruction ). This is possible due to MPEG 2 and ProRes use similar DCT 8x8 based compression with macroblocks of 16x16 pixels

Author:
The JCodec project

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jcodec.codecs.mpeg12.MPEGDecoder
MPEGDecoder.Context
 
Field Summary
 
Fields inherited from class org.jcodec.codecs.mpeg12.MPEGDecoder
gh, sh
 
Constructor Summary
Mpeg2Prores(SequenceHeader sh, GOPHeader gh, ProresEncoder.Profile profile)
           
 
Method Summary
protected  void idctPut(int[] block, int[][] buf, int stride, int chromaFormat, int blkNo, int mbX, int mbY, int dctType)
           
 ByteBuffer transcode(ByteBuffer in, ByteBuffer _out)
           
 
Methods inherited from class org.jcodec.codecs.mpeg12.MPEGDecoder
decodeFrame, decodeMacroblock, decodePicture, decodeSlice, getCodedHeight, getSize, probe, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mpeg2Prores

public Mpeg2Prores(SequenceHeader sh,
                   GOPHeader gh,
                   ProresEncoder.Profile profile)
Method Detail

idctPut

protected void idctPut(int[] block,
                       int[][] buf,
                       int stride,
                       int chromaFormat,
                       int blkNo,
                       int mbX,
                       int mbY,
                       int dctType)

transcode

public ByteBuffer transcode(ByteBuffer in,
                            ByteBuffer _out)


Copyright © 2013. All Rights Reserved.