| Modifier and Type | Field and Description |
|---|---|
| private float[] | _tmpOut
Compute PCM Samples. |
| private float[] | |
| private int | |
| private int | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static final float | |
| private static float[] | |
| private static float[][] | d16
d[] split into subarrays of length 16. |
| private static final double | |
| private float[] | |
| private float | |
| private float[] | |
| private float[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | calculate_pcm_samples(OutputBuffer buffer)
Calculate 32 PCM samples and put the into the Obuffer-object. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public static Object | |
| private static Object | deserializeArray(InputStream
The in, Class<T> InputStream to deserialize an object from.The class denoting the type of the array elements. elemType, int The expected length of the array, or -1 if any length is expected. length)Deserializes an array from a given |
| public void | |
| public void | |
| private static float[] | |
| public void | |
| private static float[][] | Returns: An array of arrays in which each element in the returned array will be of lengthblockSize.The array to split up into blocks. array, final int The size of the blocks to split the array into. This must be an exact divisor of the length of the array,
or some data will be lost from the main array. blockSize)Converts a 1D array into a number of smaller arrays. |
| private static float[] | Returns: The subarray, which may be of length 0.The array to retrieve a subarra from. array, final int The offset in the array that corresponds to the first index of the subarray. offs, int The number of indeces in the subarray. len)Returns a subarray of an existing array. |
| _tmpOut | back to summary |
|---|---|
| private float[] _tmpOut Compute PCM Samples. | |
| actual_v | back to summary |
|---|---|
| private float[] actual_v | |
| actual_write_pos | back to summary |
|---|---|
| private int actual_write_pos | |
| channel | back to summary |
|---|---|
| private int channel | |
| cos11_32 | back to summary |
|---|---|
| private static final float cos11_32 | |
| cos11_64 | back to summary |
|---|---|
| private static final float cos11_64 | |
| cos13_32 | back to summary |
|---|---|
| private static final float cos13_32 | |
| cos13_64 | back to summary |
|---|---|
| private static final float cos13_64 | |
| cos15_32 | back to summary |
|---|---|
| private static final float cos15_32 | |
| cos15_64 | back to summary |
|---|---|
| private static final float cos15_64 | |
| cos17_64 | back to summary |
|---|---|
| private static final float cos17_64 | |
| cos19_64 | back to summary |
|---|---|
| private static final float cos19_64 | |
| cos1_16 | back to summary |
|---|---|
| private static final float cos1_16 | |
| cos1_32 | back to summary |
|---|---|
| private static final float cos1_32 | |
| cos1_4 | back to summary |
|---|---|
| private static final float cos1_4 | |
| cos1_64 | back to summary |
|---|---|
| private static final float cos1_64 | |
| cos1_8 | back to summary |
|---|---|
| private static final float cos1_8 | |
| cos21_64 | back to summary |
|---|---|
| private static final float cos21_64 | |
| cos23_64 | back to summary |
|---|---|
| private static final float cos23_64 | |
| cos25_64 | back to summary |
|---|---|
| private static final float cos25_64 | |
| cos27_64 | back to summary |
|---|---|
| private static final float cos27_64 | |
| cos29_64 | back to summary |
|---|---|
| private static final float cos29_64 | |
| cos31_64 | back to summary |
|---|---|
| private static final float cos31_64 | |
| cos3_16 | back to summary |
|---|---|
| private static final float cos3_16 | |
| cos3_32 | back to summary |
|---|---|
| private static final float cos3_32 | |
| cos3_64 | back to summary |
|---|---|
| private static final float cos3_64 | |
| cos3_8 | back to summary |
|---|---|
| private static final float cos3_8 | |
| cos5_16 | back to summary |
|---|---|
| private static final float cos5_16 | |
| cos5_32 | back to summary |
|---|---|
| private static final float cos5_32 | |
| cos5_64 | back to summary |
|---|---|
| private static final float cos5_64 | |
| cos7_16 | back to summary |
|---|---|
| private static final float cos7_16 | |
| cos7_32 | back to summary |
|---|---|
| private static final float cos7_32 | |
| cos7_64 | back to summary |
|---|---|
| private static final float cos7_64 | |
| cos9_32 | back to summary |
|---|---|
| private static final float cos9_32 | |
| cos9_64 | back to summary |
|---|---|
| private static final float cos9_64 | |
| d | back to summary |
|---|---|
| private static float[] d | |
| d16 | back to summary |
|---|---|
| private static float[][] d16 d[] split into subarrays of length 16. This provides for more faster access by allowing a block of 16 to be addressed with constant offset. | |
| MY_PI | back to summary |
|---|---|
| private static final double MY_PI | |
| samples | back to summary |
|---|---|
| private float[] samples | |
| scalefactor | back to summary |
|---|---|
| private float scalefactor | |
| v1 | back to summary |
|---|---|
| private float[] v1 | |
| v2 | back to summary |
|---|---|
| private float[] v2 | |
| SynthesisFilter | back to summary |
|---|---|
| public SynthesisFilter(int channelnumber, float factor, float[] eq0) Contructor. The scalefactor scales the calculated float pcm samples to short values (raw pcm samples are in [-1.0, 1.0], if no violations occur). | |
| calculate_pcm_samples | back to summary |
|---|---|
| public void calculate_pcm_samples(OutputBuffer buffer) Calculate 32 PCM samples and put the into the Obuffer-object. | |
| compute_new_v | back to summary |
|---|---|
| private void compute_new_v() Compute new values via a fast cosine transform. | |
| compute_pcm_samples | back to summary |
|---|---|
| private void compute_pcm_samples(OutputBuffer buffer) | |
| compute_pcm_samples0 | back to summary |
|---|---|
| private void compute_pcm_samples0(OutputBuffer buffer) | |
| compute_pcm_samples1 | back to summary |
|---|---|
| private void compute_pcm_samples1(OutputBuffer buffer) | |
| compute_pcm_samples10 | back to summary |
|---|---|
| private void compute_pcm_samples10(OutputBuffer buffer) | |
| compute_pcm_samples11 | back to summary |
|---|---|
| private void compute_pcm_samples11(OutputBuffer buffer) | |
| compute_pcm_samples12 | back to summary |
|---|---|
| private void compute_pcm_samples12(OutputBuffer buffer) | |
| compute_pcm_samples13 | back to summary |
|---|---|
| private void compute_pcm_samples13(OutputBuffer buffer) | |
| compute_pcm_samples14 | back to summary |
|---|---|
| private void compute_pcm_samples14(OutputBuffer buffer) | |
| compute_pcm_samples15 | back to summary |
|---|---|
| private void compute_pcm_samples15(OutputBuffer buffer) | |
| compute_pcm_samples2 | back to summary |
|---|---|
| private void compute_pcm_samples2(OutputBuffer buffer) | |
| compute_pcm_samples3 | back to summary |
|---|---|
| private void compute_pcm_samples3(OutputBuffer buffer) | |
| compute_pcm_samples4 | back to summary |
|---|---|
| private void compute_pcm_samples4(OutputBuffer buffer) | |
| compute_pcm_samples5 | back to summary |
|---|---|
| private void compute_pcm_samples5(OutputBuffer buffer) | |
| compute_pcm_samples6 | back to summary |
|---|---|
| private void compute_pcm_samples6(OutputBuffer buffer) | |
| compute_pcm_samples7 | back to summary |
|---|---|
| private void compute_pcm_samples7(OutputBuffer buffer) | |
| compute_pcm_samples8 | back to summary |
|---|---|
| private void compute_pcm_samples8(OutputBuffer buffer) | |
| compute_pcm_samples9 | back to summary |
|---|---|
| private void compute_pcm_samples9(OutputBuffer buffer) | |
| deserialize | back to summary |
|---|---|
| public static Object deserialize(InputStream in) throws IOException | |
| deserializeArray | back to summary |
|---|---|
| private static Object deserializeArray(InputStream in, Class<T> elemType, int length) throws IOException Deserializes an array from a given
| |
| input_sample | back to summary |
|---|---|
| public void input_sample(float sample, int subbandnumber) Inject Sample. | |
| input_samples | back to summary |
|---|---|
| public void input_samples(float[] s) | |
| load_d | back to summary |
|---|---|
| private static float[] load_d() Loads the data for the d[] from the resource SFd.ser.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the synthesis filter. | |
| splitArray | back to summary |
|---|---|
| private static float[][] splitArray(final float[] array, final int blockSize) Converts a 1D array into a number of smaller arrays. This is used to achieve offset + constant indexing into an array. Each sub-array represents a block of values of the original array.
| |
| subArray | back to summary |
|---|---|
| private static float[] subArray(final float[] array, final int offs, int len) Returns a subarray of an existing array.
| |