com.googlecode.mp4parser.h264.write
Class BitstreamWriter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitstreamWriter
public BitstreamWriter(OutputStream out)
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.