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 voidwriteBool(boolean value, String string)voidwriteNBit(long value, int n, String string)voidwriteSE(int value, String string)voidwriteSliceTrailingBits()voidwriteTrailingBits()voidwriteU(int i, int n)voidwriteU(int value, int n, String string)voidwriteUE(int value)voidwriteUE(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()
-
-