org.kc7bfi.jflac.util
Class RiceCodes

java.lang.Object
  extended by org.kc7bfi.jflac.util.RiceCodes

public class RiceCodes
extends java.lang.Object

Utility class for handling Rice codes.


Constructor Summary
RiceCodes()
           
 
Method Summary
 int riceBits(int val, int parameter)
          generate int from rice code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiceCodes

public RiceCodes()
Method Detail

riceBits

public int riceBits(int val,
                    int parameter)
generate int from rice code.

Parameters:
val - The rice code
parameter - The rice parameter
Returns:
The decoded value