FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AC3HeaderInfo |
Functions | |
int | ff_ac3_parse_header (GetBitContext *gbc, AC3HeaderInfo *hdr) |
Parse AC-3 frame header. More... | |
int | avpriv_ac3_parse_header (AC3HeaderInfo **hdr, const uint8_t *buf, size_t size) |
int ff_ac3_parse_header | ( | GetBitContext * | gbc, |
AC3HeaderInfo * | hdr | ||
) |
Parse AC-3 frame header.
Parse the header up to the lfeon element, which is the first 52 or 54 bits depending on the audio coding mode.
[in] | gbc | BitContext containing the first 54 bits of the frame. |
[out] | hdr | Pointer to struct where header info is written. |
Referenced by ac3_decode_frame(), eac3_core_filter(), ffat_create_decoder(), and parse_frame_header().
int avpriv_ac3_parse_header | ( | AC3HeaderInfo ** | hdr, |
const uint8_t * | buf, | ||
size_t | size | ||
) |
Definition at line 259 of file ac3_parser.c.
Referenced by ff_hls_senc_parse_audio_setup_info(), get_next_ac3_eac3_sync_frame(), handle_eac3(), and mpegts_write_packet_internal().