org.jcodec.common.io
Class DummyBitstreamReader
java.lang.Object
org.jcodec.common.io.DummyBitstreamReader
public class DummyBitstreamReader
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
A dummy implementation of H264 RBSP reading
- Author:
- The JCodec project
|
Field Summary |
protected static int |
bitsRead
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bitsRead
protected static int bitsRead
DummyBitstreamReader
public DummyBitstreamReader(InputStream is)
throws IOException
- Throws:
IOException
read1Bit
public int read1Bit()
throws IOException
- Throws:
IOException
read1BitInt
public int read1BitInt()
throws IOException
- Throws:
IOException
readNBit
public int 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()
moreData
public boolean moreData()
throws IOException
- Throws:
IOException
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()
moreData
public boolean moreData(int bits)
throws IOException
- Throws:
IOException
skip
public final int skip(int bits)
throws IOException
- Throws:
IOException
align
public int align()
throws IOException
- Throws:
IOException
checkNBit
public int checkNBit(int n)
throws IOException
- Throws:
IOException
curBit
public int curBit()
lastByte
public boolean lastByte()
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.