FFmpeg
|
ac3_parser.c
Go to the documentation of this file.
static unsigned int show_bits_long(GetBitContext *s, int n)
Show 0-32 bits.
Definition: get_bits.h:352
Definition: libavcodec/avcodec.h:100
Definition: ac3.h:131
static int ac3_sync(uint64_t state, AACAC3ParseContext *hdr_info, int *need_next_header, int *new_frame_start)
Definition: ac3_parser.c:144
bitstream reader API header.
Definition: aac_ac3_parser.h:32
struct AACAC3ParseContext AACAC3ParseContext
const uint16_t avpriv_ac3_channel_layout_tab[8]
Map audio coding mode (acmod) to channel layout mask.
Definition: ac3tab.c:87
static const uint8_t center_levels[4]
Table for center mix levels reference: Section 5.4.2.4 cmixlev.
Definition: ac3_parser.c:41
Definition: aac_ac3_parser.h:31
Coded AC-3 header values up to the lfeon element, plus derived values.
Definition: ac3.h:96
Definition: libavcodec/avcodec.h:3883
Definition: aac_ac3_parser.h:40
audio channel layout utility functions
int avpriv_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr)
Parse AC-3 frame header.
Definition: ac3_parser.c:50
int(* sync)(uint64_t state, struct AACAC3ParseContext *hdr_info, int *need_next_header, int *new_frame_start)
Definition: aac_ac3_parser.h:44
Definition: libavcodec/avcodec.h:3747
Definition: ac3.h:129
Definition: ac3.h:76
Definition: libavcodec/avcodec.h:384
Definition: libavcodec/avcodec.h:422
static int init_get_bits(GetBitContext *s, const uint8_t *buffer, int bit_size)
Initialize GetBitContext.
Definition: get_bits.h:379
static av_cold int ac3_parse_init(AVCodecParserContext *s1)
Definition: ac3_parser.c:179
static const uint8_t surround_levels[4]
Table for surround mix levels reference: Section 5.4.2.5 surmixlev.
Definition: ac3_parser.c:47
Definition: ac3.h:130
int ff_aac_ac3_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: aac_ac3_parser.c:27
Definition: get_bits.h:54
const uint8_t ff_ac3_channels_tab[8]
Map audio coding mode (acmod) to number of full-bandwidth channels.
Definition: ac3tab.c:80
Definition: ac3.h:77
Generated on Fri Dec 20 2024 06:55:57 for FFmpeg by 1.8.11