Files
1605296300@qq.com 7607c8b4d2 add acb&awb support
2022-09-07 01:22:44 +08:00

29 lines
1.1 KiB
C#

using static ClHcaSharp.Constants;
namespace ClHcaSharp
{
internal class Channel
{
public ChannelType Type { get; set; }
public int CodedCount { get; set; }
public byte[] Intensity { get; } = new byte[Subframes];
public byte[] ScaleFactors { get; } = new byte[SamplesPerSubframe];
public byte[] Resolution { get; } = new byte[SamplesPerSubframe];
public byte[] Noises { get; } = new byte[SamplesPerSubframe];
public int NoiseCount { get; set; }
public int ValidCount { get; set; }
public float[] Gain { get; } = new float[SamplesPerSubframe];
public float[][] Spectra { get; } =
JaggedArray.CreateJaggedArray<float[][]>(
Subframes, SamplesPerSubframe);
public float[] Temp { get; } = new float[SamplesPerSubframe];
public float[] Dct { get; } = new float[SamplesPerSubframe];
public float[] ImdctPrevious { get; } = new float[SamplesPerSubframe];
public float[][] Wave { get; } =
JaggedArray.CreateJaggedArray<float[][]>(
Subframes, SamplesPerSubframe);
}
}