FFmpeg
AC3HeaderInfo Struct Reference

#include <ac3_parser_internal.h>

Data Fields

Coded elements
uint16_t sync_word
 
uint16_t crc1
 
uint8_t sr_code
 
uint8_t bitstream_id
 
uint8_t bitstream_mode
 
uint8_t channel_mode
 
uint8_t lfe_on
 
uint8_t frame_type
 
int substreamid
 substream identification More...
 
int center_mix_level
 Center mix level index. More...
 
int surround_mix_level
 Surround mix level index. More...
 
uint16_t channel_map
 
int num_blocks
 number of audio blocks More...
 
int dolby_surround_mode
 
Derived values
uint8_t sr_shift
 
uint16_t sample_rate
 
uint32_t bit_rate
 
uint8_t channels
 
uint16_t frame_size
 
uint64_t channel_layout
 
int8_t ac3_bit_rate_code
 

Detailed Description

Coded AC-3 header values up to the lfeon element, plus derived values.

Definition at line 34 of file ac3_parser_internal.h.

Field Documentation

◆ sync_word

uint16_t AC3HeaderInfo::sync_word

Definition at line 38 of file ac3_parser_internal.h.

◆ crc1

uint16_t AC3HeaderInfo::crc1

Definition at line 39 of file ac3_parser_internal.h.

◆ sr_code

uint8_t AC3HeaderInfo::sr_code

Definition at line 40 of file ac3_parser_internal.h.

Referenced by handle_eac3(), and parse_frame_header().

◆ bitstream_id

uint8_t AC3HeaderInfo::bitstream_id

◆ bitstream_mode

uint8_t AC3HeaderInfo::bitstream_mode

◆ channel_mode

uint8_t AC3HeaderInfo::channel_mode

◆ lfe_on

uint8_t AC3HeaderInfo::lfe_on

Definition at line 44 of file ac3_parser_internal.h.

Referenced by handle_eac3(), and parse_frame_header().

◆ frame_type

uint8_t AC3HeaderInfo::frame_type

◆ substreamid

int AC3HeaderInfo::substreamid

substream identification

Definition at line 46 of file ac3_parser_internal.h.

Referenced by handle_eac3(), and parse_frame_header().

◆ center_mix_level

int AC3HeaderInfo::center_mix_level

Center mix level index.

Definition at line 47 of file ac3_parser_internal.h.

Referenced by parse_frame_header().

◆ surround_mix_level

int AC3HeaderInfo::surround_mix_level

Surround mix level index.

Definition at line 48 of file ac3_parser_internal.h.

Referenced by parse_frame_header().

◆ channel_map

uint16_t AC3HeaderInfo::channel_map

Definition at line 49 of file ac3_parser_internal.h.

◆ num_blocks

int AC3HeaderInfo::num_blocks

number of audio blocks

Definition at line 50 of file ac3_parser_internal.h.

Referenced by ac3_decode_frame(), ff_aac_ac3_parse(), ffat_create_decoder(), handle_eac3(), and parse_frame_header().

◆ dolby_surround_mode

int AC3HeaderInfo::dolby_surround_mode

Definition at line 51 of file ac3_parser_internal.h.

Referenced by mpegts_write_packet_internal(), and parse_frame_header().

◆ sr_shift

uint8_t AC3HeaderInfo::sr_shift

Definition at line 57 of file ac3_parser_internal.h.

Referenced by parse_frame_header().

◆ sample_rate

uint16_t AC3HeaderInfo::sample_rate

◆ bit_rate

uint32_t AC3HeaderInfo::bit_rate

◆ channels

uint8_t AC3HeaderInfo::channels

Definition at line 60 of file ac3_parser_internal.h.

Referenced by ff_aac_ac3_parse(), ffat_create_decoder(), and parse_frame_header().

◆ frame_size

uint16_t AC3HeaderInfo::frame_size

◆ channel_layout

uint64_t AC3HeaderInfo::channel_layout

Definition at line 62 of file ac3_parser_internal.h.

Referenced by ff_aac_ac3_parse(), and ff_hls_senc_parse_audio_setup_info().

◆ ac3_bit_rate_code

int8_t AC3HeaderInfo::ac3_bit_rate_code

Definition at line 63 of file ac3_parser_internal.h.

Referenced by handle_eac3().


The documentation for this struct was generated from the following file: