FFmpeg
|
Go to the source code of this file.
Functions | |
static int | parse_config_ALS (GetBitContext *gb, MPEG4AudioConfig *c) |
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 | avpriv_mpeg4audio_get_config (MPEG4AudioConfig *c, const uint8_t *buf, int bit_size, int sync_extension) |
Parse MPEG-4 systems extradata to retrieve audio configuration. More... | |
static av_always_inline unsigned int | copy_bits (PutBitContext *pb, GetBitContext *gb, int bits) |
int | avpriv_copy_pce_data (PutBitContext *pb, GetBitContext *gb) |
Variables | |
const int | avpriv_mpeg4audio_sample_rates [16] |
const uint8_t | ff_mpeg4audio_channels [8] |
Function Documentation
int avpriv_copy_pce_data | ( | PutBitContext * | pb, |
GetBitContext * | gb | ||
) |
Definition at line 161 of file mpeg4audio.c.
Referenced by aac_adtstoasc_filter(), adts_decode_extradata(), and latm_write_frame_header().
int avpriv_mpeg4audio_get_config | ( | MPEG4AudioConfig * | c, |
const uint8_t * | buf, | ||
int | bit_size, | ||
int | sync_extension | ||
) |
Parse MPEG-4 systems extradata to retrieve audio configuration.
- Parameters
-
[in] c MPEG4AudioConfig structure to fill. [in] buf Extradata from container. [in] bit_size Extradata size in bits. [in] sync_extension look for a sync extension after config if true.
- Returns
- On error -1 is returned, on success AudioSpecificConfig bit index in extradata.
Definition at line 81 of file mpeg4audio.c.
Referenced by adts_decode_extradata(), decode_audio_specific_config(), ff_mp4_read_dec_config_descr(), flush(), flv_read_packet(), get_aac_sample_rates(), latm_decode_extradata(), and read_specific_config().
|
static |
Definition at line 152 of file mpeg4audio.c.
Referenced by avpriv_copy_pce_data().
|
inlinestatic |
Definition at line 66 of file mpeg4audio.c.
Referenced by avpriv_mpeg4audio_get_config().
|
inlinestatic |
Definition at line 74 of file mpeg4audio.c.
Referenced by avpriv_mpeg4audio_get_config().
|
static |
Parse MPEG-4 audio configuration for ALS object type.
- Parameters
-
[in] gb bit reader context [in] c MPEG4AudioConfig structure to fill
- Returns
- on success 0 is returned, otherwise a value < 0
Definition at line 33 of file mpeg4audio.c.
Referenced by avpriv_mpeg4audio_get_config().
Variable Documentation
const int avpriv_mpeg4audio_sample_rates[16] |
Definition at line 57 of file mpeg4audio.c.
Referenced by aac_encode_init(), avpriv_aac_parse_header(), get_sample_rate(), and matroska_aac_sri().
const uint8_t ff_mpeg4audio_channels[8] |
Definition at line 62 of file mpeg4audio.c.
Referenced by aac_decode_init(), aac_sync(), avpriv_mpeg4audio_get_config(), and flush().
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11