|
FFmpeg
|
SEGA CRI adx codecs. More...
Go to the source code of this file.
Data Structures | |
| struct | ADXChannelState |
| struct | ADXContext |
Macros | |
| #define | MAX_CHANNELS 6 |
| #define | COEFF_BITS 12 |
| #define | BLOCK_SIZE 18 |
| #define | BLOCK_SAMPLES 32 |
Functions | |
| void | ff_adx_calculate_coeffs (int cutoff, int sample_rate, int bits, int *coeff) |
| Calculate LPC coefficients based on cutoff frequency and sample rate. | |
SEGA CRI adx codecs.
Reference documents: http://ku-www.ss.titech.ac.jp/~yatsushi/adx.html adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/
Definition in file adx.h.
| #define COEFF_BITS 12 |
Definition at line 49 of file adx.h.
Referenced by adx_decode(), adx_decode_header(), adx_encode(), adx_encode_init(), config_input(), and resample_cubic().
| #define BLOCK_SIZE 18 |
Definition at line 51 of file adx.h.
Referenced by adx_decode(), adx_decode_frame(), adx_decode_header(), adx_encode(), adx_encode_frame(), adx_encode_header(), adx_parse(), adx_read_header(), and adx_read_packet().
| #define BLOCK_SAMPLES 32 |
Definition at line 52 of file adx.h.
Referenced by adx_decode(), adx_decode_frame(), adx_decode_header(), adx_encode_init(), adx_parse(), and adx_read_header().
| void ff_adx_calculate_coeffs | ( | int | cutoff, |
| int | sample_rate, | ||
| int | bits, | ||
| int * | coeff ) |
Calculate LPC coefficients based on cutoff frequency and sample rate.
| cutoff | cutoff frequency | |
| sample_rate | sample rate | |
| bits | number of bits used to quantize coefficients | |
| [out] | coeff | 2 quantized LPC coefficients |
Definition at line 25 of file adx.c.
Referenced by adx_decode_header(), and adx_encode_init().