#include "ac3.h"
#include "bitstream.h"
Go to the source code of this file.
Functions | |
int | ff_ac3_parse_header (GetBitContext *gbc, AC3HeaderInfo *hdr) |
Parses AC-3 frame header. | |
int | ff_ac3_parse_header_full (GetBitContext *gbc, AC3HeaderInfo *hdr) |
Parses AC-3 frame header and sets channel_map Parses the header up to the lfeon (channel_map in E-AC-3) element, which is the first 52, 54 or 104 bits depending on the audio coding mode. |
int ff_ac3_parse_header | ( | GetBitContext * | gbc, | |
AC3HeaderInfo * | hdr | |||
) |
Parses AC-3 frame header.
Parses the header up to the lfeon element, which is the first 52 or 54 bits depending on the audio coding mode.
gbc[in] | BitContext containing the first 54 bits of the frame. | |
hdr[out] | Pointer to struct where header info is written. |
Definition at line 37 of file ac3_parser.c.
Referenced by ac3_sync(), ff_ac3_parse_header_full(), and parse_frame_header().
int ff_ac3_parse_header_full | ( | GetBitContext * | gbc, | |
AC3HeaderInfo * | hdr | |||
) |
Parses AC-3 frame header and sets channel_map Parses the header up to the lfeon (channel_map in E-AC-3) element, which is the first 52, 54 or 104 bits depending on the audio coding mode.
gbc[in] | BitContext containing the first 54 bits of the frame. | |
hdr[out] | Pointer to struct where header info is written. |
Definition at line 128 of file ac3_parser.c.