com.googlecode.mp4parser.h264.read
Class BitstreamReader
java.lang.Object
com.googlecode.mp4parser.h264.read.BitstreamReader
- Direct Known Subclasses:
- CAVLCReader
public class BitstreamReader
- extends java.lang.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(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
read1Bit
public int read1Bit()
throws java.io.IOException
- Throws:
java.io.IOException
readNBit
public long readNBit(int n)
throws java.io.IOException
- Throws:
java.io.IOException
readByte
public int readByte()
throws java.io.IOException
- Throws:
java.io.IOException
moreRBSPData
public boolean moreRBSPData()
throws java.io.IOException
- Throws:
java.io.IOException
getBitPosition
public long getBitPosition()
readRemainingByte
public long readRemainingByte()
throws java.io.IOException
- Throws:
java.io.IOException
peakNextBits
public int peakNextBits(int n)
throws java.io.IOException
- Throws:
java.io.IOException
isByteAligned
public boolean isByteAligned()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getCurBit
public int getCurBit()
Copyright © 2012. All Rights Reserved.