| 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 | 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_config (MPEG4AudioConfig *c, const uint8_t *buf, int bit_size, int sync_extension) | 
| Parse MPEG-4 systems extradata from a raw buffer 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 int | avpriv_mpeg4audio_sample_rates [16] | 
| const uint8_t | ff_mpeg4audio_channels [8] | 
| 
 | static | 
Parse MPEG-4 audio configuration for ALS object type.
| [in] | gb | bit reader context | 
| [in] | c | MPEG4AudioConfig structure to fill | 
Definition at line 33 of file mpeg4audio.c.
Referenced by ff_mpeg4audio_get_config_gb().
| 
 | inlinestatic | 
Definition at line 71 of file mpeg4audio.c.
Referenced by ff_mpeg4audio_get_config_gb().
| 
 | inlinestatic | 
Definition at line 79 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 86 of file mpeg4audio.c.
Referenced by avpriv_mpeg4audio_get_config(), avpriv_mpeg4audio_get_config2(), and decode_audio_specific_config_gb().
| int avpriv_mpeg4audio_get_config | ( | MPEG4AudioConfig * | c, | 
| const uint8_t * | buf, | ||
| int | bit_size, | ||
| int | sync_extension | ||
| ) | 
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] | bit_size | Extradata size in bits. | 
| [in] | sync_extension | look for a sync extension after config if true. | 
Definition at line 160 of file mpeg4audio.c.
| 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 177 of file mpeg4audio.c.
Referenced by aac_adtstoasc_init(), adts_decode_extradata(), ff_mp4_read_dec_config_descr(), get_aac_sample_rates(), latm_decode_extradata(), and read_specific_config().
| const int avpriv_mpeg4audio_sample_rates[16] | 
Definition at line 62 of file mpeg4audio.c.
Referenced by aac_encode_init(), ff_adts_header_parse(), and get_sample_rate().
| const uint8_t ff_mpeg4audio_channels[8] | 
Definition at line 67 of file mpeg4audio.c.
Referenced by aac_decode_init(), aac_sync(), and ff_mpeg4audio_get_config_gb().
 1.8.17
 1.8.17