Fix case collision between FLAKE and Flake. (#52)

* Fix case collision between FLAKE and Flake.

* Keep only necessary changes of PR#52

Co-authored-by: Wolfgang Stöggl <c72578@yahoo.de>
This commit is contained in:
2020-06-07 06:36:15 +01:00
committed by GitHub
parent 978874aa05
commit 422c24145c
22 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,30 @@
namespace CUETools.Codecs.Flake
{
unsafe public class RiceContext
{
public RiceContext()
{
rparams = new int[FlakeConstants.MAX_PARTITIONS];
esc_bps = new int[FlakeConstants.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;
};
}