com.googlecode.mp4parser.h264.write
Class BitstreamWriter

java.lang.Object
  extended by com.googlecode.mp4parser.h264.write.BitstreamWriter
Direct Known Subclasses:
CAVLCWriter

public class BitstreamWriter
extends Object

A dummy implementation of H264 RBSP output stream

Author:
Stanislav Vitvitskiy

Constructor Summary
BitstreamWriter(OutputStream out)
           
 
Method Summary
 void flush()
           
 void write1Bit(int value)
           
 void writeByte(int b)
           
 void writeNBit(long value, int n)
           
 void writeRemainingZero()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitstreamWriter

public BitstreamWriter(OutputStream out)
Method Detail

flush

public void flush()
           throws IOException
Throws:
IOException

write1Bit

public void write1Bit(int value)
               throws IOException
Throws:
IOException

writeNBit

public void writeNBit(long value,
                      int n)
               throws IOException
Throws:
IOException

writeRemainingZero

public void writeRemainingZero()
                        throws IOException
Throws:
IOException

writeByte

public void writeByte(int b)
               throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.