com.googlecode.mp4parser.h264.write
Class CAVLCWriter

java.lang.Object
  extended by com.googlecode.mp4parser.h264.write.BitstreamWriter
      extended by com.googlecode.mp4parser.h264.write.CAVLCWriter

public class CAVLCWriter
extends BitstreamWriter

A class responsible for outputting exp-Golumb values into binary stream

Author:
Stanislav Vitvitskiy

Constructor Summary
CAVLCWriter(OutputStream out)
           
 
Method Summary
 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 com.googlecode.mp4parser.h264.write.BitstreamWriter
flush, write1Bit, writeByte, writeNBit, writeRemainingZero
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2012. All Rights Reserved.