org.jcodec.codecs.mjpeg
Class JPEGBitStream

java.lang.Object
  extended by org.jcodec.codecs.mjpeg.JPEGBitStream

public class JPEGBitStream
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Class for convenient reading JPEG entropy coded bit stream

Author:
Jay Codec

Constructor Summary
JPEGBitStream(CodedImage coded)
          Deprecated.  
JPEGBitStream(CodedImage coded, ByteBuffer b)
           
 
Method Summary
 void readACValues(int[] target, VLC table)
           
 MCU readBlock(MCU block)
           
 void readDCValue(int[] target, int[] prevDC, VLC table)
           
 int toValue(int raw, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPEGBitStream

public JPEGBitStream(CodedImage coded)
Deprecated. 

Parameters:
coded -
Throws:
IOException

JPEGBitStream

public JPEGBitStream(CodedImage coded,
                     ByteBuffer b)
Method Detail

readBlock

public MCU readBlock(MCU block)
              throws IOException
Throws:
IOException

readDCValue

public void readDCValue(int[] target,
                        int[] prevDC,
                        VLC table)

readACValues

public void readACValues(int[] target,
                         VLC table)
                  throws IOException
Throws:
IOException

toValue

public final int toValue(int raw,
                         int length)


Copyright © 2013. All Rights Reserved.