mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
31 lines
775 B
C#
31 lines
775 B
C#
|
|
namespace CUETools.Codecs.FLAKE
|
|||
|
|
{
|
|||
|
|
unsafe public class RiceContext
|
|||
|
|
{
|
|||
|
|
public RiceContext()
|
|||
|
|
{
|
|||
|
|
rparams = new int[Flake.MAX_PARTITIONS];
|
|||
|
|
esc_bps = new int[Flake.MAX_PARTITIONS];
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// partition order
|
|||
|
|
/// </summary>
|
|||
|
|
public int porder;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// coding method: rice parameters use 4 bits for coding_method 0 and 5 bits for coding_method 1
|
|||
|
|
/// </summary>
|
|||
|
|
public int coding_method;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Rice parameters
|
|||
|
|
/// </summary>
|
|||
|
|
public int[] rparams;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// bps if using escape code
|
|||
|
|
/// </summary>
|
|||
|
|
public int[] esc_bps;
|
|||
|
|
};
|
|||
|
|
}
|