|
FFmpeg
|
Go to the source code of this file.
Data Structures | |
| struct | AC3HeaderInfo |
Enumerations | |
| enum | AC3ParseError { AC3_PARSE_ERROR_SYNC = -0x1030c0a, AC3_PARSE_ERROR_BSID = -0x2030c0a, AC3_PARSE_ERROR_SAMPLE_RATE = -0x3030c0a, AC3_PARSE_ERROR_FRAME_SIZE = -0x4030c0a, AC3_PARSE_ERROR_FRAME_TYPE = -0x5030c0a, AC3_PARSE_ERROR_CRC = -0x6030c0a, AC3_PARSE_ERROR_CHANNEL_MAP = -0x7030c0a } |
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_find_syncword (const uint8_t *buf, int buf_size) |
| enum AC3ParseError |
| Enumerator | |
|---|---|
| AC3_PARSE_ERROR_SYNC | |
| AC3_PARSE_ERROR_BSID | |
| AC3_PARSE_ERROR_SAMPLE_RATE | |
| AC3_PARSE_ERROR_FRAME_SIZE | |
| AC3_PARSE_ERROR_FRAME_TYPE | |
| AC3_PARSE_ERROR_CRC | |
| AC3_PARSE_ERROR_CHANNEL_MAP | |
Definition at line 85 of file ac3_parser_internal.h.
| 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 491 of file ac3_parser.c.
Referenced by ff_aac_ac3_parse(), ff_hls_senc_parse_audio_setup_info(), get_next_ac3_eac3_sync_frame(), handle_eac3(), and mpegts_write_packet_internal().
| int ff_ac3_find_syncword | ( | const uint8_t * | buf, |
| int | buf_size | ||
| ) |
Referenced by ac3_decode_frame(), and ff_aac_ac3_parse().
1.8.17