28#ifndef AVCODEC_AACENCTAB_H
29#define AVCODEC_AACENCTAB_H
41#define AAC_MAX_CHANNELS 16
97 { 2, 0, 1, 4, 5, 6, 3, },
98 { 2, 0, 1, 6, 7, 4, 5, 3 },
100 { 2, 0, 1, 4, 5, 3, 6, 7 },
105 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
106 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 10,
107 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
108 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 15
113 3, 3, 3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 6, 6, 6, 9
118 2, 2, 2, 3, 3, 4, 6, 6, 8, 10, 10, 12, 12, 12, 12, 12
122 12, 13, 15, 16, 17, 20, 25, 26, 24, 28, 30, 31, 31, 31, 31, 31
134static const uint8_t
aac_cb_out_map[
CB_TOT_ALL] = {0,1,2,3,4,5,6,7,8,9,10,11,13,14,15};
136static const uint8_t
aac_cb_in_map[
CB_TOT_ALL+1] = {0,1,2,3,4,5,6,7,8,9,10,11,0,12,13,14};
138static const uint8_t
aac_cb_range [12] = {0, 3, 3, 3, 3, 9, 9, 8, 8, 13, 13, 17};
139static const uint8_t
aac_cb_maxval[12] = {0, 1, 1, 2, 2, 4, 4, 7, 7, 12, 12, 16};
142 0, 1, 3, 5, 5, 7, 7, 7, 9, 9, 9, 9, 9, 11
AAC definitions and structures.
const uint8_t *const ff_aac_swb_size_1024[]
const uint8_t *const ff_aac_swb_size_128[]
static const uint8_t aac_cb_maxval[12]
static const uint8_t aac_cb_out_map[CB_TOT_ALL]
Map to convert values from BandCodingPath index to a codebook index.
static const uint8_t aac_chan_maps[14][AAC_MAX_CHANNELS]
Table to remap channels from libavcodec's default order to AAC order.
static const uint8_t tns_min_sfb_long[16]
static const uint8_t *const run_value_bits[2]
static const AVChannelLayout aac_normal_chan_layouts[15]
static const uint8_t run_value_bits_long[64]
bits needed to code codebook run value for long windows
static const uint8_t *const tns_min_sfb[2]
static const uint8_t aac_cb_range[12]
static const uint8_t aac_chan_configs[14][6]
default channel configurations
static const uint8_t run_value_bits_short[16]
bits needed to code codebook run value for short windows
#define CB_TOT_ALL
Total number of codebooks, including special ones.
static const int aacenc_profiles[]
static const uint8_t tns_min_sfb_short[16]
static const uint8_t aac_cb_in_map[CB_TOT_ALL+1]
Inverse map to convert from codebooks to BandCodingPath indices.
static const unsigned char aac_maxval_cb[]
Public libavutil channel layout APIs header.
Misc types and constants that do not belong anywhere else.
#define AV_PROFILE_MPEG2_AAC_LOW
#define AV_PROFILE_AAC_LOW
#define AV_CHANNEL_LAYOUT_4POINT0
#define AV_CHANNEL_LAYOUT_5POINT1_BACK
#define AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_6POINT1_BACK
#define AV_CHANNEL_LAYOUT_5POINT0_BACK
#define AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_SURROUND
#define AV_CHANNEL_LAYOUT_5POINT1POINT2_BACK
#define AV_CHANNEL_LAYOUT_7POINT1
An AVChannelLayout holds information about the channel layout of audio data.