ATRAC common header.
More...
Go to the source code of this file.
|
|
void | ff_atrac_generate_tables (void) |
| | Generate common tables.
|
| |
| void | ff_atrac_init_gain_compensation (AtracGCContext *gctx, int id2exp_offset, int loc_scale) |
| | Initialize gain compensation context. More...
|
| |
| void | ff_atrac_gain_compensation (AtracGCContext *gctx, float *in, float *prev, AtracGainInfo *gc_now, AtracGainInfo *gc_next, int num_samples, float *out) |
| | Apply gain compensation and perform the MDCT overlapping part. More...
|
| |
| void | ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp) |
| | Quadrature mirror synthesis filter. More...
|
| |
|
|
float | ff_atrac_sf_table [64] |
| |
§ ff_atrac_gain_compensation()
Apply gain compensation and perform the MDCT overlapping part.
- Parameters
-
| gctx | pointer to gain compensation context |
| in | input buffer |
| prev | previous buffer to perform overlap against |
| gc_now | gain control information for current frame |
| gc_next | gain control information for next frame |
| num_samples | number of samples to process |
| out | output data goes here |
§ ff_atrac_init_gain_compensation()
| void ff_atrac_init_gain_compensation |
( |
AtracGCContext * |
gctx, |
|
|
int |
id2exp_offset, |
|
|
int |
loc_scale |
|
) |
| |
Initialize gain compensation context.
- Parameters
-
| gctx | pointer to gain compensation context to initialize |
| id2exp_offset | offset for converting level index into level exponent |
| loc_scale | location size factor |
§ ff_atrac_iqmf()
| void ff_atrac_iqmf |
( |
float * |
inlo, |
|
|
float * |
inhi, |
|
|
unsigned int |
nIn, |
|
|
float * |
pOut, |
|
|
float * |
delayBuf, |
|
|
float * |
temp |
|
) |
| |
Quadrature mirror synthesis filter.
- Parameters
-
| inlo | lower part of spectrum |
| inhi | higher part of spectrum |
| nIn | size of spectrum buffer |
| pOut | out buffer |
| delayBuf | delayBuf buffer |
| temp | temp buffer |