FFmpeg
|
Go to the source code of this file.
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 247 of file ac3_parser.c.