org.kc7bfi.jflac.util
Class RiceCodes

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

public class RiceCodes
extends Object

Utility class for handling Rice codes.

Author:
kc7bfi

Constructor Summary
RiceCodes()
           
 
Method Summary
 int riceBits(int val, int parameter)
          generate int from rice code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


Copyright © 2004-2011. All Rights Reserved.