|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfi.helsinki.cs.ohtu.mpeg2.audio.mpa.BitAllocator.Allocation
public static class BitAllocator.Allocation
Represents a bit allocation for a frame of audio samples.
| Field Summary | |
|---|---|
private int |
bitsUsed
The number of bits used. |
private int[][] |
qlevels
The quantization levels. |
| Constructor Summary | |
|---|---|
BitAllocator.Allocation(int[][] qlevels,
int bitsUsed)
Creates a new Allocation. |
|
| Method Summary | |
|---|---|
int |
getBitsUsed()
Returns the number of data bits this Allocation
uses in an encoded form. |
int[][] |
getQLevels()
Returns the quantization levels for this Allocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int[][] qlevels
private final int bitsUsed
| Constructor Detail |
|---|
public BitAllocator.Allocation(int[][] qlevels,
int bitsUsed)
Allocation.
qlevels - the quantization levels [channel][subband]bitsUsed - the number of bits used| Method Detail |
|---|
public int[][] getQLevels()
Allocation.
public int getBitsUsed()
Allocation
uses in an encoded form.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||