com.badlogic.gdx.utils.compression.rangecoder
Class BitTreeEncoder

java.lang.Object
  extended by com.badlogic.gdx.utils.compression.rangecoder.BitTreeEncoder

public class BitTreeEncoder
extends Object


Constructor Summary
BitTreeEncoder(int numBitLevels)
           
 
Method Summary
 void Encode(Encoder rangeEncoder, int symbol)
           
 int GetPrice(int symbol)
           
 void Init()
           
 void ReverseEncode(Encoder rangeEncoder, int symbol)
           
static void ReverseEncode(short[] Models, int startIndex, Encoder rangeEncoder, int NumBitLevels, int symbol)
           
 int ReverseGetPrice(int symbol)
           
static int ReverseGetPrice(short[] Models, int startIndex, int NumBitLevels, int symbol)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitTreeEncoder

public BitTreeEncoder(int numBitLevels)
Method Detail

Init

public void Init()

Encode

public void Encode(Encoder rangeEncoder,
                   int symbol)
            throws IOException
Throws:
IOException

ReverseEncode

public void ReverseEncode(Encoder rangeEncoder,
                          int symbol)
                   throws IOException
Throws:
IOException

GetPrice

public int GetPrice(int symbol)

ReverseGetPrice

public int ReverseGetPrice(int symbol)

ReverseGetPrice

public static int ReverseGetPrice(short[] Models,
                                  int startIndex,
                                  int NumBitLevels,
                                  int symbol)

ReverseEncode

public static void ReverseEncode(short[] Models,
                                 int startIndex,
                                 Encoder rangeEncoder,
                                 int NumBitLevels,
                                 int symbol)
                          throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.