FFmpeg
Loading...
Searching...
No Matches
ac3dec_data.h
Go to the documentation of this file.
1/*
2 * AC-3 and E-AC-3 decoder tables
3 * Copyright (c) 2007 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com>
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#ifndef AVCODEC_AC3DEC_DATA_H
23#define AVCODEC_AC3DEC_DATA_H
24
25#include <stdint.h>
26
28
30
31extern const uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3];
32extern uint8_t ff_ac3_ungroup_3_in_7_bits_tab[128][3];
33
34extern const int ff_ac3_bap3_mantissas[ 7 + 1];
35extern const int ff_ac3_bap5_mantissas[15 + 1];
36
37/** tables for ungrouping mantissas */
38extern int ff_ac3_bap1_mantissas[32][3];
39extern int ff_ac3_bap2_mantissas[128][3];
40extern int ff_ac3_bap4_mantissas[128][2];
41
42extern const uint8_t ff_ac3_quantization_tab[16];
43
44extern const uint8_t ff_ac3_default_coeffs[8][5][2];
45
46extern const uint8_t ff_eac3_hebap_tab[64];
47extern const uint8_t ff_eac3_default_spx_band_struct[17];
48extern const float ff_eac3_gain_levels_lfe[32];
49
50void ff_ac3_init_static(void);
51
53
54#endif /* AVCODEC_AC3DEC_DATA_H */
uint8_t ff_ac3_ungroup_3_in_7_bits_tab[128][3]
table for ungrouping 3 values in 7 bits.
Definition ac3dec_data.c:50
const uint8_t ff_ac3_quantization_tab[16]
Quantization table: levels for symmetric.
const uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3]
Table used to ungroup 3 values stored in 5 bits.
Definition ac3dec_data.c:35
const uint8_t ff_eac3_default_spx_band_struct[17]
Table E2.15 Default Spectral Extension Banding Structure.
int ff_ac3_bap1_mantissas[32][3]
tables for ungrouping mantissas
Definition ac3dec_data.c:94
const uint8_t ff_ac3_default_coeffs[8][5][2]
Table for default stereo downmixing coefficients reference: Section 7.8.2 Downmixing Into Two Channel...
int ff_ac3_bap4_mantissas[128][2]
Definition ac3dec_data.c:96
const int ff_ac3_bap3_mantissas[7+1]
Ungrouped mantissa tables; the extra entry is padding to avoid range checks.
Definition ac3dec_data.c:64
const float ff_eac3_gain_levels_lfe[32]
Adjustments in dB gain (LFE, +10 to -21 dB)
const uint8_t ff_eac3_hebap_tab[64]
const int ff_ac3_bap5_mantissas[15+1]
Table 7.23.
Definition ac3dec_data.c:76
int ff_ac3_bap2_mantissas[128][3]
Definition ac3dec_data.c:95
void ff_ac3_init_static(void)
#define FF_VISIBILITY_PUSH_HIDDEN
#define FF_VISIBILITY_POP_HIDDEN