libavcodec/psymodel.h File Reference
Go to the source code of this file.
|#define PSY_MAX_BANDS 128
maximum possible number of bands
Definition at line 28 of file psymodel.h.
maximum number of channels
Definition at line 30 of file psymodel.h.
Determine what group a channel belongs to.
|ctx ||psymodel context |
|channel ||channel to locate the group for|
- pointer to the FFPsyChannelGroup this channel belongs to
Definition at line 63 of file psymodel.c.
Referenced by psy_3gpp_analyze().
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|
- zero if successful, a negative value if not
Definition at line 28 of file psymodel.c.
Referenced by aac_encode_init().
Preprocess several channel in audio frame in order to compress it better.
|ctx ||preprocessing context |
|audio ||samples to be filtered (in place) |
|channels ||number of channel to preprocess |
Definition at line 115 of file psymodel.c.
Referenced by aac_encode_frame().