FFmpeg
Macros | Functions | Variables
aacdec_tab.c File Reference
#include "aacdec_tab.h"
#include "libavcodec/aac.h"
#include "libavcodec/aacps.h"
#include "libavcodec/aactab.h"
#include "libavcodec/vlc.h"
#include "libavutil/attributes.h"
#include "libavutil/thread.h"

Go to the source code of this file.

Macros

#define TAB_WRAP_SIZE(name)   name[i], sizeof(name[i][0]), sizeof(name[i][0])
 

Functions

static av_cold void init_sbr_tables (void)
 
static av_cold void init_base_tables (void)
 
static av_cold void aacdec_common_init (void)
 
av_cold void ff_aacdec_common_init_once (void)
 

Variables

const int8_t ff_tags_per_config [16] = { 0, 1, 1, 2, 3, 3, 4, 5, 0, 0, 0, 5, 5, 16, 5, 0 }
 
const uint8_t ff_aac_channel_layout_map [16][16][3]
 
const int16_t ff_aac_channel_map [3][4][6]
 
const AVChannelLayout ff_aac_ch_layout []
 
VLCElem ff_vlc_scalefactors [352]
 
const VLCElemff_vlc_spectral [11]
 
static const uint8_t sbr_huffman_tab [][2]
 Huffman tables for SBR. More...
 
static const uint8_t sbr_huffman_nb_codes []
 
static const int8_t sbr_vlc_offsets [10]
 
const VLCElemff_aac_sbr_vlc [10]
 
const int16_t ff_aac_hcod_firstband_CLD [30][2]
 
const int16_t ff_aac_hcod1D_CLD [2][30][2]
 
const int16_t ff_aac_hcod2D_CLD_03 [2][2][15][2]
 
const int16_t ff_aac_hcod2D_CLD_05 [2][2][35][2]
 
const int16_t ff_aac_hcod2D_CLD_07 [2][2][63][2]
 
const int16_t ff_aac_hcod2D_CLD_09 [2][2][99][2]
 
const int16_t ff_aac_hcod_firstband_ICC [7][2]
 
const int16_t ff_aac_hcod1D_ICC [7][2]
 
const int16_t ff_aac_hcod2D_ICC_01 [2][2][3][2]
 
const int16_t ff_aac_hcod2D_ICC_03 [2][2][15][2]
 
const int16_t ff_aac_hcod2D_ICC_05 [2][2][35][2]
 
const int16_t ff_aac_hcod2D_ICC_07 [2][2][63][2]
 
const int16_t ff_aac_hcod_firstband_IPD [7][2]
 
const int16_t ff_aac_hcod1D_IPD [2][7][2]
 
const int16_t ff_aac_hcod2D_IPD_01 [2][2][3][2]
 
const int16_t ff_aac_hcod2D_IPD_03 [2][2][15][2]
 
const int16_t ff_aac_hcod2D_IPD_05 [2][2][35][2]
 
const int16_t ff_aac_hcod2D_IPD_07 [2][2][63][2]
 
const int16_t ff_aac_hcod_lav_idx [3][2]
 
const int16_t ff_aac_hcod2D_reshape [39][2]
 
const uint8_t ff_aac_lav_tab_XXX [3][4]
 

Detailed Description

Common code and tables of the AAC fixed- and floating-point decoders

Definition in file aacdec_tab.c.

Macro Definition Documentation

◆ TAB_WRAP_SIZE

#define TAB_WRAP_SIZE (   name)    name[i], sizeof(name[i][0]), sizeof(name[i][0])

Function Documentation

◆ init_sbr_tables()

static av_cold void init_sbr_tables ( void  )
static

Definition at line 264 of file aacdec_tab.c.

Referenced by aacdec_common_init().

◆ init_base_tables()

static av_cold void init_base_tables ( void  )
static

Definition at line 748 of file aacdec_tab.c.

Referenced by aacdec_common_init().

◆ aacdec_common_init()

static av_cold void aacdec_common_init ( void  )
static

Definition at line 774 of file aacdec_tab.c.

Referenced by ff_aacdec_common_init_once().

◆ ff_aacdec_common_init_once()

av_cold void ff_aacdec_common_init_once ( void  )

Definition at line 781 of file aacdec_tab.c.

Referenced by ff_aac_decode_init().

Variable Documentation

◆ ff_tags_per_config

const int8_t ff_tags_per_config[16] = { 0, 1, 1, 2, 3, 3, 4, 5, 0, 0, 0, 5, 5, 16, 5, 0 }

◆ ff_aac_channel_layout_map

const uint8_t ff_aac_channel_layout_map[16][16][3]

Definition at line 40 of file aacdec_tab.c.

Referenced by aac_decode_er_frame(), and ff_aac_set_default_channel_config().

◆ ff_aac_channel_map

const int16_t ff_aac_channel_map[3][4][6]

◆ ff_aac_ch_layout

const AVChannelLayout ff_aac_ch_layout[]

◆ ff_vlc_scalefactors

VLCElem ff_vlc_scalefactors[352]

◆ ff_vlc_spectral

const VLCElem* ff_vlc_spectral[11]

Definition at line 112 of file aacdec_tab.c.

Referenced by decode_spectrum_and_dequant(), and init_base_tables().

◆ sbr_huffman_tab

const uint8_t sbr_huffman_tab[][2]
static

Huffman tables for SBR.

Definition at line 116 of file aacdec_tab.c.

Referenced by init_sbr_tables().

◆ sbr_huffman_nb_codes

const uint8_t sbr_huffman_nb_codes[]
static
Initial value:
= {
121, 121, 49, 49, 63, 63, 25, 25, 63, 25
}

Definition at line 253 of file aacdec_tab.c.

Referenced by init_sbr_tables().

◆ sbr_vlc_offsets

const int8_t sbr_vlc_offsets[10]
static
Initial value:
= {
-60, -60, -24, -24, -31, -31, -12, -12, -31, -12
}

Definition at line 257 of file aacdec_tab.c.

Referenced by init_sbr_tables().

◆ ff_aac_sbr_vlc

const VLCElem* ff_aac_sbr_vlc[10]

Definition at line 262 of file aacdec_tab.c.

Referenced by init_sbr_tables(), read_sbr_envelope(), and read_sbr_noise().

◆ ff_aac_hcod_firstband_CLD

const int16_t ff_aac_hcod_firstband_CLD[30][2]
Initial value:
= {
{ 2, 1 }, { 4, 3 }, { 6, 5 }, { 8, 7 }, { 10, 9 },
{ 12, 11 }, { 14, 13 }, { -8, 15 }, { -9, 16 }, { -10, 17 },
{ -18, 18 }, { -17, -19 }, { -16, 19 }, { -11, -20 }, { -15, -21 },
{ -7, 20 }, { -22, 21 }, { -12, -14 }, { -13, -23 }, { 23, 22 },
{ -24, -31 }, { -6, 24 }, { -25, -26 }, { 26, 25 }, { -5, -27 },
{ -28, 27 }, { -4, 28 }, { -29, 29 }, { -1, -30 }, { -2, -3 },
}

Definition at line 282 of file aacdec_tab.c.

Referenced by huff_data_1d(), and huff_data_2d().

◆ ff_aac_hcod1D_CLD

const int16_t ff_aac_hcod1D_CLD[2][30][2]
Initial value:
= {
{ { -1, 1 }, { -2, 2 }, { -3, 3 }, { -4, 4 }, { -5, 5 },
{ -6, 6 }, { -7, 7 }, { 9, 8 }, { -8, 10 }, { -9, 11 },
{ -10, 12 }, { -11, 13 }, { -12, 14 }, { -13, 15 }, { -14, 16 },
{ -15, 17 }, { -16, 18 }, { -17, 19 }, { -18, 20 }, { -19, -20 },
{ -21, 21 }, { -22, 22 }, { -23, 23 }, { 25, 24 }, { -24, 26 },
{ -25, 27 }, { 29, 28 }, { -26, -31 }, { -29, -30 }, { -27, -28 }, },
{ { -1, 1 }, { -2, 2 }, { -3, 3 }, { -4, 4 }, { -5, 5 },
{ -6, 6 }, { -7, 7 }, { -8, 8 }, { -9, 9 }, { -10, 10 },
{ -11, 11 }, { -12, 12 }, { -13, 13 }, { 15, 14 }, { -14, 16 },
{ -15, 17 }, { -16, 18 }, { -17, 19 }, { -18, 20 }, { -19, 21 },
{ -20, -21 }, { -23, 22 }, { -22, 23 }, { -24, 24 }, { -25, 25 },
{ 27, 26 }, { 29, 28 }, { -30, -31 }, { -28, -29 }, { -26, -27 }, },
}

Definition at line 291 of file aacdec_tab.c.

Referenced by huff_data_1d().

◆ ff_aac_hcod2D_CLD_03

const int16_t ff_aac_hcod2D_CLD_03[2][2][15][2]
Initial value:
= {
{ { { -1, 1 }, { -52, 2 }, { 4, 3 }, { -2, 5 }, { -17, 6 },
{ -18, 7 }, { -36, -51 }, { 9, 8 }, { -35, 10 }, { -34, 11 },
{ -19, -33 }, { -3, 12 }, { -20, 13 }, { -50, 14 }, { -4, -49 }, },
{ { -1, 1 }, { -52, 2 }, { -17, 3 }, { 5, 4 }, { -36, 6 },
{ -33, 7 }, { -2, -18 }, { -20, 8 }, { 10, 9 }, { -34, -49 },
{ -51, 11 }, { -35, 12 }, { -19, 13 }, { -3, 14 }, { -4, -50 }, }, },
{ { { -1, 1 }, { -52, 2 }, { -17, 3 }, { 5, 4 }, { -2, -36 },
{ -18, 6 }, { 8, 7 }, { -51, 9 }, { -33, 10 }, { -34, 11 },
{ -20, -35 }, { -19, 12 }, { -3, 13 }, { -49, 14 }, { -4, -50 }, },
{ { 2, 1 }, { -1, -52 }, { 4, 3 }, { -2, 5 }, { -51, 6 },
{ -17, -18 }, { 8, 7 }, { 10, 9 }, { -3, -36 }, { -19, 11 },
{ -35, -50 }, { -34, 12 }, { -4, 13 }, { -33, 14 }, { -20, -49 }, }, },
}

Definition at line 306 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_CLD_05

const int16_t ff_aac_hcod2D_CLD_05[2][2][35][2]
Initial value:
= {
{ { { 2, 1 }, { -86, 3 }, { 5, 4 }, { -1, 6 }, { 8, 7 },
{ -17, -18 }, { -2, 9 }, { -70, 10 }, { -85, 11 }, { 13, 12 },
{ -69, 14 }, { -34, 15 }, { 17, 16 }, { -19, 18 }, { -33, -35 },
{ -54, 19 }, { -53, 20 }, { -3, 21 }, { -68, 22 }, { -84, 23 },
{ -50, 24 }, { -52, 25 }, { -51, 26 }, { -20, -36 }, { -49, 27 },
{ -38, 28 }, { -37, 29 }, { -4, -83 }, { -67, 30 }, { -66, 31 },
{ -21, 32 }, { -22, -65 }, { -5, 33 }, { -82, 34 }, { -6, -81 }, },
{ { 2, 1 }, { 4, 3 }, { -86, 5 }, { -1, 6 }, { -17, 7 },
{ -70, 8 }, { 10, 9 }, { -18, 11 }, { -33, 12 }, { -54, 13 },
{ -2, 14 }, { -34, 15 }, { -38, 16 }, { -49, 17 }, { -85, 18 },
{ -50, 19 }, { -69, 20 }, { -53, -65 }, { -22, 21 }, { -66, 22 },
{ -19, 23 }, { -37, 24 }, { -35, -81 }, { -3, 25 }, { -51, 26 },
{ -68, -84 }, { -52, 27 }, { 29, 28 }, { -20, 30 }, { -4, -36 },
{ -83, 31 }, { -67, 32 }, { -21, 33 }, { -5, 34 }, { -6, -82 }, }, },
{ { { 2, 1 }, { -86, 3 }, { -1, 4 }, { -17, 5 }, { 7, 6 },
{ -70, 8 }, { -2, -18 }, { 10, 9 }, { 12, 11 }, { -85, 13 },
{ -33, 14 }, { -34, -54 }, { 16, 15 }, { -69, 17 }, { 19, 18 },
{ -50, -53 }, { -19, 20 }, { -38, 21 }, { -35, -49 }, { -3, 22 },
{ 24, 23 }, { -68, 25 }, { -84, 26 }, { -65, 27 }, { -51, -66 },
{ -22, -37 }, { -52, 28 }, { -20, 29 }, { -36, 30 }, { -81, 31 },
{ -4, -83 }, { -67, 32 }, { -21, 33 }, { -5, 34 }, { -6, -82 }, },
{ { 2, 1 }, { 4, 3 }, { -86, 5 }, { 7, 6 }, { 9, 8 },
{ -1, -2 }, { -85, 10 }, { -18, 11 }, { -17, 12 }, { 14, 13 },
{ -70, 15 }, { 17, 16 }, { -19, -69 }, { -84, 18 }, { -3, 19 },
{ 21, 20 }, { -34, -68 }, { -20, 22 }, { -35, 23 }, { -83, 24 },
{ -33, 25 }, { -4, 26 }, { -53, 27 }, { -54, -67 }, { -36, 28 },
{ -21, -52 }, { -82, 29 }, { -5, -50 }, { -51, 30 }, { -38, 31 },
{ -37, -49 }, { -6, 32 }, { -66, 33 }, { -65, 34 }, { -22, -81 }, }, },
}

Definition at line 321 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_CLD_07

const int16_t ff_aac_hcod2D_CLD_07[2][2][63][2]

Definition at line 352 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_CLD_09

const int16_t ff_aac_hcod2D_CLD_09[2][2][99][2]

Definition at line 407 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod_firstband_ICC

const int16_t ff_aac_hcod_firstband_ICC[7][2]
Initial value:
= {
{ 2, 1 }, { -5, 3 }, { -4, -6 }, { -3, 4 }, { -2, 5 },
{ -1, 6 }, { -7, -8 },
}

Definition at line 491 of file aacdec_tab.c.

Referenced by huff_data_1d(), and huff_data_2d().

◆ ff_aac_hcod1D_ICC

const int16_t ff_aac_hcod1D_ICC[7][2]
Initial value:
= {
{ -1, 1 }, { -2, 2 }, { -3, 3 }, { -4, 4 }, { -5, 5 },
{ -6, 6 }, { -7, -8 },
}

Definition at line 496 of file aacdec_tab.c.

Referenced by huff_data_1d().

◆ ff_aac_hcod2D_ICC_01

const int16_t ff_aac_hcod2D_ICC_01[2][2][3][2]
Initial value:
= {
{ { { -1, 1 }, { -18, 2 }, { -2, -17 }, },
{ { -1, 1 }, { -18, 2 }, { -2, -17 }, }, },
{ { { -1, 1 }, { -18, 2 }, { -2, -17 }, },
{ { -1, 1 }, { -18, 2 }, { -2, -17 }, }, },
}

Definition at line 501 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_ICC_03

const int16_t ff_aac_hcod2D_ICC_03[2][2][15][2]
Initial value:
= {
{ { { -52, 1 }, { -1, 2 }, { 4, 3 }, { -2, 5 }, { -17, -18 },
{ -51, 6 }, { -36, 7 }, { 9, 8 }, { -35, 10 }, { -3, 11 },
{ -19, -34 }, { -33, 12 }, { -50, 13 }, { -20, 14 }, { -4, -49 }, },
{ { 2, 1 }, { -1, -52 }, { -17, 3 }, { 5, 4 }, { -36, 6 },
{ -2, 7 }, { -18, -33 }, { 9, 8 }, { -20, 10 }, { -34, -51 },
{ -49, 11 }, { -35, 12 }, { -19, 13 }, { -3, 14 }, { -4, -50 }, }, },
{ { { -52, 1 }, { -1, 2 }, { 4, 3 }, { -2, -17 }, { -18, 5 },
{ -36, 6 }, { -51, 7 }, { 9, 8 }, { -33, 10 }, { -34, 11 },
{ -35, 12 }, { -19, -20 }, { -3, 13 }, { -49, 14 }, { -4, -50 }, },
{ { 2, 1 }, { -1, -52 }, { -2, 3 }, { 5, 4 }, { -51, 6 },
{ -18, 7 }, { -17, 8 }, { -3, 9 }, { -36, 10 }, { -19, -50 },
{ -35, 11 }, { -4, 12 }, { -34, 13 }, { -33, 14 }, { -20, -49 }, },},
}

Definition at line 508 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_ICC_05

const int16_t ff_aac_hcod2D_ICC_05[2][2][35][2]
Initial value:
= {
{ { { 2, 1 }, { -86, 3 }, { -1, 4 }, { 6, 5 }, { -18, 7 },
{ -2, -17 }, { 9, 8 }, { -70, 10 }, { -69, -85 }, { -35, 11 },
{ 13, 12 }, { -34, 14 }, { -19, 15 }, { -53, 16 }, { -68, 17 },
{ -33, 18 }, { -3, -52 }, { 20, 19 }, { -54, 21 }, { -84, 22 },
{ -50, 23 }, { -20, -51 }, { -36, 24 }, { 26, 25 }, { -83, 27 },
{ -4, -38 }, { -49, 28 }, { -37, 29 }, { -67, 30 }, { -5, 31 },
{ -21, 32 }, { -65, -66 }, { -82, 33 }, { -22, 34 }, { -6, -81 }, },
{ { 2, 1 }, { -86, 3 }, { -1, 4 }, { -17, 5 }, { 7, 6 },
{ -70, 8 }, { -33, 9 }, { -18, 10 }, { -2, 11 }, { -54, 12 },
{ -49, 13 }, { -38, 14 }, { -34, -65 }, { -85, 15 }, { -50, 16 },
{ -69, 17 }, { -22, 18 }, { -53, 19 }, { 21, 20 }, { -19, -81 },
{ -66, 22 }, { -3, -35 }, { 24, 23 }, { -37, 25 }, { -68, -84 },
{ -51, 26 }, { 28, 27 }, { -20, -52 }, { 30, 29 }, { -4, -36 },
{ -83, 31 }, { -67, 32 }, { -82, 33 }, { -21, 34 }, { -5, -6 }, }, },
{ { { -1, 1 }, { -86, 2 }, { 4, 3 }, { -17, 5 }, { -2, 6 },
{ -18, 7 }, { -70, 8 }, { -85, 9 }, { 11, 10 }, { 13, 12 },
{ -33, 14 }, { 16, 15 }, { -34, -54 }, { -69, 17 }, { -38, 18 },
{ -50, 19 }, { -35, -53 }, { -49, 20 }, { -19, 21 }, { -3, 22 },
{ -65, 23 }, { -68, 24 }, { -22, 25 }, { -81, -84 }, { -66, 26 },
{ -37, 27 }, { -20, -51 }, { 29, 28 }, { -52, 30 }, { -4, -83 },
{ -36, 31 }, { -67, 32 }, { -5, 33 }, { -82, 34 }, { -21, 0 }, },
{ { 2, 1 }, { -86, 3 }, { -1, 4 }, { 6, 5 }, { -2, 7 },
{ -85, 8 }, { -18, 9 }, { 11, 10 }, { -17, 12 }, { 14, 13 },
{ -70, 15 }, { -3, -19 }, { -69, 16 }, { -84, 17 }, { -68, 18 },
{ -20, -35 }, { -34, -83 }, { 20, 19 }, { -4, 21 }, { -33, 22 },
{ -5, 23 }, { -53, 24 }, { -36, -52 }, { -67, 25 }, { -21, -82 },
{ -54, 26 }, { -6, 27 }, { -51, 28 }, { -50, 29 }, { -49, 30 },
{ -37, 31 }, { -38, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, }, },
}

Definition at line 523 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_ICC_07

const int16_t ff_aac_hcod2D_ICC_07[2][2][63][2]

Definition at line 554 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod_firstband_IPD

const int16_t ff_aac_hcod_firstband_IPD[7][2]
Initial value:
= {
{ -1, 1 }, { -8, 2 }, { -2, 3 }, { 5, 4 }, { -7, 6 },
{ -3, -5 }, { -4, -6 },
}

Definition at line 609 of file aacdec_tab.c.

Referenced by huff_data_1d(), and huff_data_2d().

◆ ff_aac_hcod1D_IPD

const int16_t ff_aac_hcod1D_IPD[2][7][2]
Initial value:
= {
{ { -1, 1 }, { -2, 2 }, { -8, 3 }, { -3, 4 }, { -7, 5 },
{ -4, 6 }, { -5, -6 }, },
{ { -1, 1 }, { -8, 2 }, { -2, 3 }, { 5, 4 }, { -3, -7 },
{ -6, 6 }, { -4, -5 }, },
}

Definition at line 614 of file aacdec_tab.c.

Referenced by huff_data_1d().

◆ ff_aac_hcod2D_IPD_01

const int16_t ff_aac_hcod2D_IPD_01[2][2][3][2]
Initial value:
= {
{ { { -1, 1 }, { -18, 2 }, { -17, 0 }, },
{ { -1, 1 }, { -18, 2 }, { -17, 0 }, }, },
{ { { -1, 1 }, { -18, 2 }, { -17, 0 }, },
{ { -1, 1 }, { -18, 2 }, { -17, 0 }, }, },
}

Definition at line 621 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_IPD_03

const int16_t ff_aac_hcod2D_IPD_03[2][2][15][2]
Initial value:
= {
{ { { -1, 1 }, { 3, 2 }, { -18, 4 }, { -52, 5 }, { -34, -36 },
{ -35, 6 }, { -17, 7 }, { -33, 8 }, { -20, 9 }, { -49, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, },
{ { -1, 1 }, { -36, 2 }, { -18, 3 }, { -35, 4 }, { -52, 5 },
{ 7, 6 }, { -34, 8 }, { -33, -49 }, { -20, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, }, },
{ { { -1, 1 }, { 3, 2 }, { -18, 4 }, { -52, 5 }, { -34, -36 },
{ -35, 6 }, { -17, 7 }, { -33, 8 }, { -20, 9 }, { -49, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, },
{ { -1, 1 }, { -36, 2 }, { -18, 3 }, { -35, 4 }, { -52, 5 },
{ 7, 6 }, { -34, 8 }, { -33, -49 }, { -20, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, }, },
}

Definition at line 628 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_IPD_05

const int16_t ff_aac_hcod2D_IPD_05[2][2][35][2]
Initial value:
= {
{ { { -1, 1 }, { 3, 2 }, { -52, 4 }, { -86, 5 }, { -35, 6 },
{ -53, 7 }, { -70, 8 }, { -17, 9 }, { -37, 10 }, { 12, 11 },
{ -38, -66 }, { -18, 13 }, { -51, 14 }, { 16, 15 }, { -34, -69 },
{ 18, 17 }, { -54, -65 }, { -50, 19 }, { -33, -49 }, { -22, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, },
{ { -1, 1 }, { 3, 2 }, { 5, 4 }, { -86, 6 }, { -66, 7 },
{ 9, 8 }, { 11, 10 }, { -18, 12 }, { -51, 13 }, { -37, -52 },
{ -69, 14 }, { -38, 15 }, { -53, 16 }, { -35, 17 }, { -50, -70 },
{ -22, -49 }, { -33, 18 }, { -17, 19 }, { -34, -65 }, { -81, 20 },
{ -54, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, }, },
{ { { -1, 1 }, { 3, 2 }, { -52, 4 }, { -86, 5 }, { -35, 6 },
{ -53, 7 }, { -70, 8 }, { -17, 9 }, { -37, 10 }, { 12, 11 },
{ -38, -66 }, { -18, 13 }, { -51, 14 }, { 16, 15 }, { -34, -69 },
{ 18, 17 }, { -54, -65 }, { -50, 19 }, { -33, -49 }, { -22, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, },
{ { -1, 1 }, { 3, 2 }, { 5, 4 }, { -86, 6 }, { -66, 7 },
{ 9, 8 }, { 11, 10 }, { -18, 12 }, { -51, 13 }, { -37, -52 },
{ -69, 14 }, { -38, 15 }, { -53, 16 }, { -35, 17 }, { -50, -70 },
{ -22, -49 }, { -33, 18 }, { -17, 19 }, { -34, -65 }, { -81, 20 },
{ -54, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, }, },
}

Definition at line 643 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_IPD_07

const int16_t ff_aac_hcod2D_IPD_07[2][2][63][2]

Definition at line 674 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod_lav_idx

const int16_t ff_aac_hcod_lav_idx[3][2]
Initial value:
= {
{ -1, 1 }, { -2, 2 }, { -3, -4 },
}

Definition at line 729 of file aacdec_tab.c.

Referenced by huff_data_2d().

◆ ff_aac_hcod2D_reshape

const int16_t ff_aac_hcod2D_reshape[39][2]
Initial value:
= {
{ 2, 1 }, { 4, 3 }, { 6, 5 }, { -33, 7 }, { -17, 8 },
{ -49, 9 }, { -34, 10 }, { 12, 11 }, { -18, -35 }, { -50, 13 },
{ 15, 14 }, { -40, 16 }, { -36, 17 }, { -19, 18 }, { -1, -37 },
{ -51, 19 }, { 21, 20 }, { -38, -65 }, { -2, -39 }, { -20, 22 },
{ -52, 23 }, { 25, 24 }, { -21, 26 }, { -66, 27 }, { -53, 28 },
{ -3, 29 }, { 31, 30 }, { -22, 32 }, { -54, 33 }, { -4, 34 },
{ -56, 35 }, { -24, -67 }, { -23, -55 }, { -8, -72 }, { -5, 36 },
{ -68, 37 }, { -6, 38 }, { -7, -69 }, { -70, -71 },
}

Definition at line 733 of file aacdec_tab.c.

Referenced by ff_aac_huff_dec_reshape().

◆ ff_aac_lav_tab_XXX

const uint8_t ff_aac_lav_tab_XXX[3][4]
Initial value:
= {
{ 3, 5, 7, 9 }, { 1, 3, 5, 7 }, { 7, 1, 3, 5 }
}

Definition at line 744 of file aacdec_tab.c.

Referenced by huff_data_2d().

AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_STEREO
Definition: channel_layout.h:395
AV_CHAN_TOP_BACK_RIGHT
@ AV_CHAN_TOP_BACK_RIGHT
Definition: channel_layout.h:67
AV_CHANNEL_LAYOUT_7POINT1_TOP_BACK
#define AV_CHANNEL_LAYOUT_7POINT1_TOP_BACK
Definition: channel_layout.h:435
AV_CHANNEL_LAYOUT_SURROUND
#define AV_CHANNEL_LAYOUT_SURROUND
Definition: channel_layout.h:398
AV_CHAN_BOTTOM_FRONT_LEFT
@ AV_CHAN_BOTTOM_FRONT_LEFT
Definition: channel_layout.h:80
AV_CHANNEL_LAYOUT_4POINT0
#define AV_CHANNEL_LAYOUT_4POINT0
Definition: channel_layout.h:400
AV_CHANNEL_LAYOUT_7POINT1
#define AV_CHANNEL_LAYOUT_7POINT1
Definition: channel_layout.h:417
AV_CHANNEL_LAYOUT_5POINT0_BACK
#define AV_CHANNEL_LAYOUT_5POINT0_BACK
Definition: channel_layout.h:406
AV_CHAN_SIDE_RIGHT
@ AV_CHAN_SIDE_RIGHT
Definition: channel_layout.h:60
AV_CHAN_TOP_SIDE_LEFT
@ AV_CHAN_TOP_SIDE_LEFT
Definition: channel_layout.h:77
AV_CHAN_TOP_SIDE_RIGHT
@ AV_CHAN_TOP_SIDE_RIGHT
Definition: channel_layout.h:78
AV_CHANNEL_LAYOUT_7POINT1_WIDE_BACK
#define AV_CHANNEL_LAYOUT_7POINT1_WIDE_BACK
Definition: channel_layout.h:419
AV_CHAN_TOP_BACK_CENTER
@ AV_CHAN_TOP_BACK_CENTER
Definition: channel_layout.h:66
AV_CHAN_BOTTOM_FRONT_RIGHT
@ AV_CHAN_BOTTOM_FRONT_RIGHT
Definition: channel_layout.h:81
AV_CHAN_TOP_CENTER
@ AV_CHAN_TOP_CENTER
Definition: channel_layout.h:61
AV_CHAN_FRONT_RIGHT_OF_CENTER
@ AV_CHAN_FRONT_RIGHT_OF_CENTER
Definition: channel_layout.h:57
AV_CHANNEL_LAYOUT_22POINT2
#define AV_CHANNEL_LAYOUT_22POINT2
Definition: channel_layout.h:433
AV_CHAN_FRONT_RIGHT
@ AV_CHAN_FRONT_RIGHT
Definition: channel_layout.h:51
AV_CHAN_FRONT_CENTER
@ AV_CHAN_FRONT_CENTER
Definition: channel_layout.h:52
AV_CHAN_LOW_FREQUENCY
@ AV_CHAN_LOW_FREQUENCY
Definition: channel_layout.h:53
AV_CHAN_BACK_RIGHT
@ AV_CHAN_BACK_RIGHT
Definition: channel_layout.h:55
AV_CHAN_SIDE_LEFT
@ AV_CHAN_SIDE_LEFT
Definition: channel_layout.h:59
AV_CHAN_TOP_FRONT_RIGHT
@ AV_CHAN_TOP_FRONT_RIGHT
Definition: channel_layout.h:64
AV_CHAN_FRONT_LEFT_OF_CENTER
@ AV_CHAN_FRONT_LEFT_OF_CENTER
Definition: channel_layout.h:56
AV_CHAN_UNUSED
@ AV_CHAN_UNUSED
Channel is empty can be safely skipped.
Definition: channel_layout.h:91
AV_CHANNEL_LAYOUT_6POINT1_BACK
#define AV_CHANNEL_LAYOUT_6POINT1_BACK
Definition: channel_layout.h:413
AV_CHAN_BACK_CENTER
@ AV_CHAN_BACK_CENTER
Definition: channel_layout.h:58
AV_CHAN_NONE
@ AV_CHAN_NONE
Invalid channel index.
Definition: channel_layout.h:49
AV_CHAN_LOW_FREQUENCY_2
@ AV_CHAN_LOW_FREQUENCY_2
Definition: channel_layout.h:76
AV_CHAN_TOP_BACK_LEFT
@ AV_CHAN_TOP_BACK_LEFT
Definition: channel_layout.h:65
AV_CHAN_BACK_LEFT
@ AV_CHAN_BACK_LEFT
Definition: channel_layout.h:54
AV_CHAN_BOTTOM_FRONT_CENTER
@ AV_CHAN_BOTTOM_FRONT_CENTER
Definition: channel_layout.h:79
AV_CHAN_TOP_FRONT_CENTER
@ AV_CHAN_TOP_FRONT_CENTER
Definition: channel_layout.h:63
AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_MONO
Definition: channel_layout.h:394
AV_CHAN_TOP_FRONT_LEFT
@ AV_CHAN_TOP_FRONT_LEFT
Definition: channel_layout.h:62
AV_CHANNEL_LAYOUT_5POINT1_BACK
#define AV_CHANNEL_LAYOUT_5POINT1_BACK
Definition: channel_layout.h:407
AV_CHAN_FRONT_LEFT
@ AV_CHAN_FRONT_LEFT
Definition: channel_layout.h:50