Class BitstreamWriter
- java.lang.Object
-
- org.mp4parser.muxer.tracks.h264.parsing.write.BitstreamWriter
-
- Direct Known Subclasses:
CAVLCWriter
public class BitstreamWriter extends Object
A dummy implementation of H264 RBSP output stream- Author:
- Stanislav Vitvitskiy
-
-
Constructor Summary
Constructors Constructor Description BitstreamWriter(OutputStream out)
-
Method Summary
Modifier and Type Method Description voidflush()voidwrite1Bit(int value)voidwriteByte(int b)voidwriteNBit(long value, int n)voidwriteRemainingZero()
-
-
-
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
-
-