com.googlecode.mp4parser.h264.write
Class BitstreamWriter
java.lang.Object
com.googlecode.mp4parser.h264.write.BitstreamWriter
- Direct Known Subclasses:
- CAVLCWriter
public class BitstreamWriter
- extends java.lang.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(java.io.OutputStream out)
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
write1Bit
public void write1Bit(int value)
throws java.io.IOException
- Throws:
java.io.IOException
writeNBit
public void writeNBit(long value,
int n)
throws java.io.IOException
- Throws:
java.io.IOException
writeRemainingZero
public void writeRemainingZero()
throws java.io.IOException
- Throws:
java.io.IOException
writeByte
public void writeByte(int b)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012. All Rights Reserved.