org.jcodec.codecs.mjpeg
Class JPEGBitStream
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPEGBitStream
public JPEGBitStream(CodedImage coded)
- Deprecated.
- Parameters:
coded -
- Throws:
IOException
JPEGBitStream
public JPEGBitStream(CodedImage coded,
ByteBuffer b)
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.