org.jcodec.codecs.vpx
Class VPXBitstream

java.lang.Object
  extended by org.jcodec.codecs.vpx.VPXBitstream

public class VPXBitstream
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
The JCodec project

Field Summary
static int[] coeffBandMapping
           
 
Constructor Summary
VPXBitstream(int[][][][] tokenBinProbs, int mbWidth)
           
 
Method Summary
 void encodeCoeffs(VPxBooleanEncoder bc, int[] coeffs, int firstCoeff, int nCoeff, int blkType, int ctx)
          Encodes DCT/WHT coefficients into the provided instance of a boolean encoder
 void encodeCoeffsDCT15(VPxBooleanEncoder bc, int[] coeffs, int mbX, int blkX, int blkY)
           
 void encodeCoeffsDCT16(VPxBooleanEncoder bc, int[] coeffs, int mbX, int blkX, int blkY)
           
 void encodeCoeffsDCTUV(VPxBooleanEncoder bc, int[] coeffs, int comp, int mbX, int blkX, int blkY)
           
 void encodeCoeffsWHT(VPxBooleanEncoder bc, int[] coeffs, int mbX)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coeffBandMapping

public static final int[] coeffBandMapping
Constructor Detail

VPXBitstream

public VPXBitstream(int[][][][] tokenBinProbs,
                    int mbWidth)
Method Detail

encodeCoeffsWHT

public void encodeCoeffsWHT(VPxBooleanEncoder bc,
                            int[] coeffs,
                            int mbX)

encodeCoeffsDCT15

public void encodeCoeffsDCT15(VPxBooleanEncoder bc,
                              int[] coeffs,
                              int mbX,
                              int blkX,
                              int blkY)

encodeCoeffsDCT16

public void encodeCoeffsDCT16(VPxBooleanEncoder bc,
                              int[] coeffs,
                              int mbX,
                              int blkX,
                              int blkY)

encodeCoeffsDCTUV

public void encodeCoeffsDCTUV(VPxBooleanEncoder bc,
                              int[] coeffs,
                              int comp,
                              int mbX,
                              int blkX,
                              int blkY)

encodeCoeffs

public void encodeCoeffs(VPxBooleanEncoder bc,
                         int[] coeffs,
                         int firstCoeff,
                         int nCoeff,
                         int blkType,
                         int ctx)
Encodes DCT/WHT coefficients into the provided instance of a boolean encoder

Parameters:
bc -
coeffs -


Copyright © 2013. All Rights Reserved.