org.jcodec.common.io
Class DummyBitstreamReader

java.lang.Object
  extended by 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
           
 
Constructor Summary
DummyBitstreamReader(InputStream is)
           
 
Method Summary
 int align()
           
 int checkNBit(int n)
           
 void close()
           
 int curBit()
           
 long getBitPosition()
           
 int getCurBit()
           
 boolean isByteAligned()
           
 boolean lastByte()
           
 boolean moreData()
           
 boolean moreData(int bits)
           
 boolean moreRBSPData()
           
 int peakNextBits(int n)
           
 int read1Bit()
           
 int read1BitInt()
           
 int readByte()
           
 int readNBit(int n)
           
 long readRemainingByte()
           
 int skip(int bits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bitsRead

protected static int bitsRead
Constructor Detail

DummyBitstreamReader

public DummyBitstreamReader(InputStream is)
                     throws IOException
Throws:
IOException
Method Detail

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.