Class CAVLCWriter
- java.lang.Object
-
- org.mp4parser.muxer.tracks.h264.parsing.write.BitstreamWriter
-
- org.mp4parser.muxer.tracks.h264.parsing.write.CAVLCWriter
-
public class CAVLCWriter extends BitstreamWriter
A class responsible for outputting exp-Golumb values into binary stream- Author:
- Stanislav Vitvitskiy
-
-
Constructor Summary
Constructors Constructor Description CAVLCWriter(OutputStream out)
-
Method Summary
Modifier and Type Method Description void
writeBool(boolean value, String string)
void
writeNBit(long value, int n, String string)
void
writeSE(int value, String string)
void
writeSliceTrailingBits()
void
writeTrailingBits()
void
writeU(int i, int n)
void
writeU(int value, int n, String string)
void
writeUE(int value)
void
writeUE(int value, String string)
-
Methods inherited from class org.mp4parser.muxer.tracks.h264.parsing.write.BitstreamWriter
flush, write1Bit, writeByte, writeNBit, writeRemainingZero
-
-
-
-
Constructor Detail
-
CAVLCWriter
public CAVLCWriter(OutputStream out)
-
-
Method Detail
-
writeU
public void writeU(int value, int n, String string) throws IOException
- Throws:
IOException
-
writeUE
public void writeUE(int value) throws IOException
- Throws:
IOException
-
writeUE
public void writeUE(int value, String string) throws IOException
- Throws:
IOException
-
writeSE
public void writeSE(int value, String string) throws IOException
- Throws:
IOException
-
writeBool
public void writeBool(boolean value, String string) throws IOException
- Throws:
IOException
-
writeU
public void writeU(int i, int n) throws IOException
- Throws:
IOException
-
writeNBit
public void writeNBit(long value, int n, String string) throws IOException
- Throws:
IOException
-
writeTrailingBits
public void writeTrailingBits() throws IOException
- Throws:
IOException
-
writeSliceTrailingBits
public void writeSliceTrailingBits()
-
-