com.googlecode.mp4parser.h264.read
Class BitstreamReader
java.lang.Object
com.googlecode.mp4parser.h264.read.BitstreamReader
- Direct Known Subclasses:
- CAVLCReader
public class BitstreamReader
- extends Object
A dummy implementation of H264 RBSP reading
- Author:
- Stanislav Vitvitskiy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bitsRead
protected static int bitsRead
debugBits
protected CharCache debugBits
BitstreamReader
public BitstreamReader(InputStream is)
throws IOException
- Throws:
IOException
read1Bit
public int read1Bit()
throws IOException
- Throws:
IOException
readNBit
public long readNBit(int n)
throws IOException
- Throws:
IOException
readByte
public int readByte()
throws IOException
- Throws:
IOException
moreRBSPData
public boolean moreRBSPData()
throws IOException
- Throws:
IOException
getBitPosition
public long getBitPosition()
readRemainingByte
public long readRemainingByte()
throws IOException
- Throws:
IOException
peakNextBits
public int peakNextBits(int n)
throws IOException
- Throws:
IOException
isByteAligned
public boolean isByteAligned()
close
public void close()
throws IOException
- Throws:
IOException
getCurBit
public int getCurBit()
Copyright © 2012. All Rights Reserved.