|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectjmp123.decoder.BitStream
jmp123.decoder.BitStreamMainData
public final class BitStreamMainData
用于MPEG-1/MPEG-2/MPEG-2.5 Audio Layer Ⅲ 主数据(main_data)解码时读位流并对哈夫曼数据解码。
字段摘要 |
---|
从类 jmp123.decoder.BitStream 继承的字段 |
---|
bitPos, bitReservoir, bytePos |
构造方法摘要 | |
---|---|
BitStreamMainData(int len,
int extra)
创建一个位流BitStreamMainData对象,位流的缓冲区大小len指定,位流的缓冲区尾部空出的长度由extra指定。 |
方法摘要 | |
---|---|
int |
decodeHuff(int[] region,
int[] table_select,
int count1table_select,
int[] hv)
一个粒度组内的一个声道哈夫曼解码。 |
从类 jmp123.decoder.BitStream 继承的方法 |
---|
append, feed, get1Bit, getBits17, getBits9, getBytePos, getMark, getSize, mark, skipBits, skipBytes |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public BitStreamMainData(int len, int extra)
len
- 缓冲区可访问长度。extra
- 缓冲区尾部空出的字节数。方法详细信息 |
---|
public int decodeHuff(int[] region, int[] table_select, int count1table_select, int[] hv)
region
- region[0..2]是解码时码表用于解码主数据区域的长度,region[3]是啥夫曼位总长度。table_select
- 解码大值区码表的索引。count1table_select
- 解码小值区(count1区)码表的索引hv
- 接收解码得到的576个值。
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |