FFmpeg
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions | Variables
ac3dec_data.h File Reference
#include <stdint.h>
#include "libavutil/attributes_internal.h"

Go to the source code of this file.

Functions

void ff_ac3_init_static (void)
 

Variables

const FF_VISIBILITY_PUSH_HIDDEN uint8_t ff_ac3_ungroup_3_in_5_bits_tab [32][3]
 Table used to ungroup 3 values stored in 5 bits. More...
 
uint8_t ff_ac3_ungroup_3_in_7_bits_tab [128][3]
 table for ungrouping 3 values in 7 bits. More...
 
const int ff_ac3_bap3_mantissas [7+1]
 Ungrouped mantissa tables; the extra entry is padding to avoid range checks. More...
 
const int ff_ac3_bap5_mantissas [15+1]
 Table 7.23. More...
 
int ff_ac3_bap1_mantissas [32][3]
 tables for ungrouping mantissas More...
 
int ff_ac3_bap2_mantissas [128][3]
 
int ff_ac3_bap4_mantissas [128][2]
 
const uint8_t ff_ac3_quantization_tab [16]
 Quantization table: levels for symmetric. More...
 
const uint8_t ff_ac3_default_coeffs [8][5][2]
 Table for default stereo downmixing coefficients reference: Section 7.8.2 Downmixing Into Two Channels. More...
 
const uint8_t ff_eac3_hebap_tab [64]
 
const uint8_t ff_eac3_default_spx_band_struct [17]
 Table E2.15 Default Spectral Extension Banding Structure. More...
 
const float ff_eac3_gain_levels_lfe [32]
 Adjustments in dB gain (LFE, +10 to -21 dB) More...
 

Function Documentation

◆ ff_ac3_init_static()

void ff_ac3_init_static ( void  )

Definition at line 134 of file ac3dec_data.c.

Referenced by ac3_decode_init(), and ac3_float_tables_init().

Variable Documentation

◆ ff_ac3_ungroup_3_in_5_bits_tab

const FF_VISIBILITY_PUSH_HIDDEN uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3]

Table used to ungroup 3 values stored in 5 bits.

Used by bap=1 mantissas and GAQ. ff_ac3_ungroup_3_in_5_bits_tab[i] = { i/9, (i%9)/3, (i%9)%3 }

Definition at line 35 of file ac3dec_data.c.

Referenced by ac3_init_static(), and ff_eac3_decode_transform_coeffs_aht_ch().

◆ ff_ac3_ungroup_3_in_7_bits_tab

uint8_t ff_ac3_ungroup_3_in_7_bits_tab[128][3]

table for ungrouping 3 values in 7 bits.

used for exponents and bap=2 mantissas

Definition at line 50 of file ac3dec_data.c.

Referenced by ac3_init_static(), and decode_exponents().

◆ ff_ac3_bap3_mantissas

const int ff_ac3_bap3_mantissas[7+1]

Ungrouped mantissa tables; the extra entry is padding to avoid range checks.

Table 7.21

Definition at line 64 of file ac3dec_data.c.

Referenced by ac3_decode_transform_coeffs_ch().

◆ ff_ac3_bap5_mantissas

const int ff_ac3_bap5_mantissas[15+1]

Table 7.23.

Definition at line 76 of file ac3dec_data.c.

Referenced by ac3_decode_transform_coeffs_ch().

◆ ff_ac3_bap1_mantissas

int ff_ac3_bap1_mantissas[32][3]

tables for ungrouping mantissas

Definition at line 94 of file ac3dec_data.c.

Referenced by ac3_decode_transform_coeffs_ch(), and ac3_init_static().

◆ ff_ac3_bap2_mantissas

int ff_ac3_bap2_mantissas[128][3]

Definition at line 95 of file ac3dec_data.c.

Referenced by ac3_decode_transform_coeffs_ch(), and ac3_init_static().

◆ ff_ac3_bap4_mantissas

int ff_ac3_bap4_mantissas[128][2]

Definition at line 96 of file ac3dec_data.c.

Referenced by ac3_decode_transform_coeffs_ch(), and ac3_init_static().

◆ ff_ac3_quantization_tab

const uint8_t ff_ac3_quantization_tab[16]

Quantization table: levels for symmetric.

bits for asymmetric. reference: Table 7.18 Mapping of bap to Quantizer

Definition at line 144 of file ac3dec_data.c.

Referenced by ac3_decode_transform_coeffs_ch().

◆ ff_ac3_default_coeffs

const uint8_t ff_ac3_default_coeffs[8][5][2]

Table for default stereo downmixing coefficients reference: Section 7.8.2 Downmixing Into Two Channels.

Definition at line 153 of file ac3dec_data.c.

Referenced by set_downmix_coeffs().

◆ ff_eac3_hebap_tab

const uint8_t ff_eac3_hebap_tab[64]

Definition at line 164 of file ac3dec_data.c.

Referenced by decode_audio_block().

◆ ff_eac3_default_spx_band_struct

const uint8_t ff_eac3_default_spx_band_struct[17]

Table E2.15 Default Spectral Extension Banding Structure.

Definition at line 177 of file ac3dec_data.c.

Referenced by spx_strategy().

◆ ff_eac3_gain_levels_lfe

const float ff_eac3_gain_levels_lfe[32]

Adjustments in dB gain (LFE, +10 to -21 dB)

Definition at line 181 of file ac3dec_data.c.

Referenced by ac3_decode_frame().