FFmpeg
|
Go to the source code of this file.
Functions | |
av_cold int | ff_psy_init (FFPsyContext *ctx, AVCodecContext *avctx, int num_lens, const uint8_t **bands, const int *num_bands, int num_groups, const uint8_t *group_map) |
Initialize psychoacoustic model. More... | |
FFPsyChannelGroup * | ff_psy_find_group (FFPsyContext *ctx, int channel) |
Determine what group a channel belongs to. More... | |
av_cold void | ff_psy_end (FFPsyContext *ctx) |
Cleanup model context at the end. More... | |
Variables | |
const FFPsyModel | ff_aac_psy_model |
av_cold int ff_psy_init | ( | FFPsyContext * | ctx, |
AVCodecContext * | avctx, | ||
int | num_lens, | ||
const uint8_t ** | bands, | ||
const int * | num_bands, | ||
int | num_groups, | ||
const uint8_t * | group_map | ||
) |
Initialize psychoacoustic model.
ctx | model context |
avctx | codec context |
num_lens | number of possible frame lengths |
bands | scalefactor band lengths for all frame lengths |
num_bands | number of scalefactor bands for all frame lengths |
num_groups | number of channel groups |
group_map | array with # of channels in group - 1, for each group |
Definition at line 28 of file psymodel.c.
Referenced by aac_encode_init().
FFPsyChannelGroup* ff_psy_find_group | ( | FFPsyContext * | ctx, |
int | channel | ||
) |
Determine what group a channel belongs to.
ctx | psymodel context |
channel | channel to locate the group for |
Definition at line 67 of file psymodel.c.
Referenced by psy_3gpp_analyze().
av_cold void ff_psy_end | ( | FFPsyContext * | ctx | ) |
Cleanup model context at the end.
ctx | model context |
Definition at line 77 of file psymodel.c.
Referenced by aac_encode_end(), and ff_psy_init().
const FFPsyModel ff_aac_psy_model |
Definition at line 1015 of file aacpsy.c.
Referenced by ff_psy_init().