FFmpeg
|
Go to the source code of this file.
Functions | |
static int | parse_config_ALS (GetBitContext *gb, MPEG4AudioConfig *c, void *logctx) |
Parse MPEG-4 audio configuration for ALS object type. More... | |
static int | get_object_type (GetBitContext *gb) |
static int | get_sample_rate (GetBitContext *gb, int *index) |
int | ff_mpeg4audio_get_config_gb (MPEG4AudioConfig *c, GetBitContext *gb, int sync_extension, void *logctx) |
Parse MPEG-4 systems extradata from a potentially unaligned GetBitContext to retrieve audio configuration. More... | |
int | avpriv_mpeg4audio_get_config2 (MPEG4AudioConfig *c, const uint8_t *buf, int size, int sync_extension, void *logctx) |
Parse MPEG-4 systems extradata from a raw buffer to retrieve audio configuration. More... | |
Variables | |
const uint8_t | ff_mpeg4audio_channels [15] |
|
static |
Parse MPEG-4 audio configuration for ALS object type.
[in] | gb | bit reader context |
[in] | c | MPEG4AudioConfig structure to fill |
Definition at line 32 of file mpeg4audio.c.
Referenced by ff_mpeg4audio_get_config_gb().
|
inlinestatic |
Definition at line 77 of file mpeg4audio.c.
Referenced by ff_mpeg4audio_get_config_gb().
|
inlinestatic |
Definition at line 85 of file mpeg4audio.c.
Referenced by ff_mpeg4audio_get_config_gb().
int ff_mpeg4audio_get_config_gb | ( | MPEG4AudioConfig * | c, |
GetBitContext * | gb, | ||
int | sync_extension, | ||
void * | logctx | ||
) |
Parse MPEG-4 systems extradata from a potentially unaligned GetBitContext to retrieve audio configuration.
[in] | c | MPEG4AudioConfig structure to fill. |
[in] | gb | Extradata from container. |
[in] | sync_extension | look for a sync extension after config if true. |
[in] | logctx | opaque struct starting with an AVClass element, used for logging. |
Definition at line 92 of file mpeg4audio.c.
Referenced by avpriv_mpeg4audio_get_config2(), and decode_audio_specific_config_gb().
int avpriv_mpeg4audio_get_config2 | ( | MPEG4AudioConfig * | c, |
const uint8_t * | buf, | ||
int | size, | ||
int | sync_extension, | ||
void * | logctx | ||
) |
Parse MPEG-4 systems extradata from a raw buffer to retrieve audio configuration.
[in] | c | MPEG4AudioConfig structure to fill. |
[in] | buf | Extradata from container. |
[in] | size | Extradata size in bytes. |
[in] | sync_extension | look for a sync extension after config if true. |
[in] | logctx | opaque struct starting with an AVClass element, used for logging. |
Definition at line 165 of file mpeg4audio.c.
Referenced by aac_adtstoasc_init(), adts_decode_extradata(), ff_mp4_read_dec_config_descr(), latm_decode_extradata(), and read_specific_config().
const uint8_t ff_mpeg4audio_channels[15] |
Definition at line 59 of file mpeg4audio.c.
Referenced by aac_decode_init(), ff_mpeg4audio_get_config_gb(), and ftr_parse().