FFmpeg
|
tables taken directly from the AC-3 spec. More...
#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "ac3tab.h"
Go to the source code of this file.
Macros | |
#define | COMMON_CHANNEL_MAP |
Variables | |
const uint16_t | ff_ac3_frame_size_tab [38][3] |
Possible frame sizes. More... | |
const uint8_t | ff_ac3_channels_tab [8] |
Map audio coding mode (acmod) to number of full-bandwidth channels. More... | |
const uint16_t | avpriv_ac3_channel_layout_tab [8] |
Map audio coding mode (acmod) to channel layout mask. More... | |
const uint8_t | ff_ac3_enc_channel_map [8][2][6] |
Table to remap channels from SMPTE order to AC-3 order. More... | |
const uint8_t | ff_ac3_dec_channel_map [8][2][6] |
Table to remap channels from AC-3 order to SMPTE order. More... | |
const uint16_t | ff_ac3_sample_rate_tab [3] = { 48000, 44100, 32000 } |
const uint16_t | ff_ac3_bitrate_tab [19] |
const uint8_t | ff_ac3_rematrix_band_tab [5] = { 13, 25, 37, 61, 253 } |
Table of bin locations for rematrixing bands reference: Section 7.5.2 Rematrixing : Frequency Band Definitions. More... | |
const uint8_t | ff_eac3_default_cpl_band_struct [18] |
Table E2.16 Default Coupling Banding Structure. More... | |
const int16_t | ff_ac3_window [AC3_WINDOW_SIZE/2] |
const uint8_t | ff_ac3_log_add_tab [260] |
const uint16_t | ff_ac3_hearing_threshold_tab [AC3_CRITICAL_BANDS][3] |
const uint8_t | ff_ac3_bap_tab [64] |
const uint8_t | ff_ac3_slow_decay_tab [4] |
const uint8_t | ff_ac3_fast_decay_tab [4] |
const uint16_t | ff_ac3_slow_gain_tab [4] |
const uint16_t | ff_ac3_db_per_bit_tab [4] |
const int16_t | ff_ac3_floor_tab [8] |
const uint16_t | ff_ac3_fast_gain_tab [8] |
const uint16_t | ff_eac3_default_chmap [8] |
Default channel map for a dependent substream defined by acmod. More... | |
tables taken directly from the AC-3 spec.
Definition in file ac3tab.c.
#define COMMON_CHANNEL_MAP |
const uint16_t ff_ac3_frame_size_tab[38][3] |
const uint8_t ff_ac3_channels_tab[8] |
const uint16_t avpriv_ac3_channel_layout_tab[8] |
Map audio coding mode (acmod) to channel layout mask.
Definition at line 89 of file ac3tab.c.
Referenced by ac3_decode_frame(), mov_read_dac3(), and mov_read_dec3().
const uint8_t ff_ac3_enc_channel_map[8][2][6] |
Table to remap channels from SMPTE order to AC-3 order.
[channel_mode][lfe][ch]
Definition at line 112 of file ac3tab.c.
Referenced by set_channel_info().
const uint8_t ff_ac3_dec_channel_map[8][2][6] |
Table to remap channels from AC-3 order to SMPTE order.
[channel_mode][lfe][ch]
Definition at line 122 of file ac3tab.c.
Referenced by ac3_decode_frame().
const uint16_t ff_ac3_sample_rate_tab[3] = { 48000, 44100, 32000 } |
Definition at line 129 of file ac3tab.c.
Referenced by validate_options().
const uint16_t ff_ac3_bitrate_tab[19] |
Definition at line 132 of file ac3tab.c.
Referenced by validate_options().
const uint8_t ff_ac3_rematrix_band_tab[5] = { 13, 25, 37, 61, 253 } |
Table of bin locations for rematrixing bands reference: Section 7.5.2 Rematrixing : Frequency Band Definitions.
Definition at line 141 of file ac3tab.c.
Referenced by compute_rematrixing_strategy(), do_rematrixing(), and ff_ac3_apply_rematrixing().
const uint8_t ff_eac3_default_cpl_band_struct[18] |
Table E2.16 Default Coupling Banding Structure.
Definition at line 146 of file ac3tab.c.
Referenced by coupling_strategy(), output_audio_block(), and set_bandwidth().
const int16_t ff_ac3_window[AC3_WINDOW_SIZE/2] |
Definition at line 153 of file ac3tab.c.
Referenced by ff_ac3_fixed_mdct_init().
const uint8_t ff_ac3_log_add_tab[260] |
Definition at line 188 of file ac3tab.c.
Referenced by ff_ac3_bit_alloc_calc_psd().
const uint16_t ff_ac3_hearing_threshold_tab[AC3_CRITICAL_BANDS][3] |
Definition at line 217 of file ac3tab.c.
Referenced by ff_ac3_bit_alloc_calc_mask().
const uint8_t ff_ac3_bap_tab[64] |
Definition at line 270 of file ac3tab.c.
Referenced by bit_alloc(), and decode_audio_block().
const uint8_t ff_ac3_slow_decay_tab[4] |
Definition at line 280 of file ac3tab.c.
Referenced by bit_alloc_init(), decode_audio_block(), and ff_eac3_parse_header().
const uint8_t ff_ac3_fast_decay_tab[4] |
Definition at line 284 of file ac3tab.c.
Referenced by bit_alloc_init(), decode_audio_block(), and ff_eac3_parse_header().
const uint16_t ff_ac3_slow_gain_tab[4] |
Definition at line 288 of file ac3tab.c.
Referenced by bit_alloc_init(), decode_audio_block(), and ff_eac3_parse_header().
const uint16_t ff_ac3_db_per_bit_tab[4] |
Definition at line 292 of file ac3tab.c.
Referenced by bit_alloc_init(), decode_audio_block(), and ff_eac3_parse_header().
const int16_t ff_ac3_floor_tab[8] |
Definition at line 296 of file ac3tab.c.
Referenced by bit_alloc_init(), decode_audio_block(), and ff_eac3_parse_header().
const uint16_t ff_ac3_fast_gain_tab[8] |
Definition at line 300 of file ac3tab.c.
Referenced by bit_alloc_masking(), and decode_audio_block().
const uint16_t ff_eac3_default_chmap[8] |
Default channel map for a dependent substream defined by acmod.