FFmpeg
Macros | Functions | Variables
mpegaudiodata.h File Reference
#include <stdint.h>
#include "config.h"
#include "internal.h"
#include "vlc.h"

Go to the source code of this file.

Macros

#define MODE_EXT_MS_STEREO   2
 
#define MODE_EXT_I_STEREO   1
 
#define TABLE_4_3_SIZE   ((8191 + 16)*4)
 

Functions

void ff_mpegaudiodec_common_init_static (void)
 

Variables

const av_export_avcodec uint16_t avpriv_mpa_bitrate_tab [2][3][15]
 
const av_export_avcodec uint16_t avpriv_mpa_freq_tab [3]
 
const int ff_mpa_sblimit_table [5]
 
const int ff_mpa_quant_steps [17]
 
const int ff_mpa_quant_bits [17]
 
const unsigned char *const ff_mpa_alloc_tables [5]
 
int8_t ff_table_4_3_exp [TABLE_4_3_SIZE]
 
uint32_t ff_table_4_3_value [TABLE_4_3_SIZE]
 
VLC ff_huff_vlc [16]
 
VLC ff_huff_quad_vlc [2]
 
const uint8_t ff_slen_table [2][16]
 
const uint8_t ff_lsf_nsf_table [6][3][4]
 
const uint8_t ff_mpa_huff_data [32][2]
 
const uint8_t ff_band_size_long [9][22]
 
const uint8_t ff_band_size_short [9][13]
 
uint16_t ff_band_index_long [9][23]
 
int16_t *const ff_division_tabs [4]
 
uint16_t ff_scale_factor_modshift [64]
 
const uint8_t ff_mpa_pretab [2][22]
 

Detailed Description

mpeg audio layer common tables.

Definition in file mpegaudiodata.h.

Macro Definition Documentation

◆ MODE_EXT_MS_STEREO

#define MODE_EXT_MS_STEREO   2

Definition at line 37 of file mpegaudiodata.h.

◆ MODE_EXT_I_STEREO

#define MODE_EXT_I_STEREO   1

Definition at line 38 of file mpegaudiodata.h.

◆ TABLE_4_3_SIZE

#define TABLE_4_3_SIZE   ((8191 + 16)*4)

Definition at line 47 of file mpegaudiodata.h.

Function Documentation

◆ ff_mpegaudiodec_common_init_static()

void ff_mpegaudiodec_common_init_static ( void  )

Definition at line 477 of file mpegaudiodec_common.c.

Referenced by decode_init_static().

Variable Documentation

◆ avpriv_mpa_bitrate_tab

const av_export_avcodec uint16_t avpriv_mpa_bitrate_tab[2][3][15]

◆ avpriv_mpa_freq_tab

const av_export_avcodec uint16_t avpriv_mpa_freq_tab[3]

◆ ff_mpa_sblimit_table

const int ff_mpa_sblimit_table[5]

Definition at line 45 of file mpegaudiodata.c.

Referenced by mp_decode_layer2(), and MPA_encode_init().

◆ ff_mpa_quant_steps

const int ff_mpa_quant_steps[17]

Definition at line 47 of file mpegaudiodata.c.

Referenced by encode_frame(), mp_decode_layer2(), and mpegaudiodec_common_init_static().

◆ ff_mpa_quant_bits

const int ff_mpa_quant_bits[17]

◆ ff_mpa_alloc_tables

const unsigned char* const ff_mpa_alloc_tables[5]

Definition at line 145 of file mpegaudiodata.c.

Referenced by mp_decode_layer2(), and MPA_encode_init().

◆ ff_table_4_3_exp

int8_t ff_table_4_3_exp[TABLE_4_3_SIZE]

Definition at line 38 of file mpegaudiodec_common_tablegen.h.

Referenced by l3_unscale(), main(), and mpegaudiodec_common_tableinit().

◆ ff_table_4_3_value

uint32_t ff_table_4_3_value[TABLE_4_3_SIZE]

Definition at line 39 of file mpegaudiodec_common_tablegen.h.

Referenced by l3_unscale(), main(), and mpegaudiodec_common_tableinit().

◆ ff_huff_vlc

VLC ff_huff_vlc[16]

Definition at line 66 of file mpegaudiodec_common.c.

Referenced by huffman_decode(), and mpegaudiodec_common_init_static().

◆ ff_huff_quad_vlc

VLC ff_huff_quad_vlc[2]

Definition at line 69 of file mpegaudiodec_common.c.

Referenced by huffman_decode(), and mpegaudiodec_common_init_static().

◆ ff_slen_table

const uint8_t ff_slen_table[2][16]

Definition at line 51 of file mpegaudiodec_common.c.

Referenced by mp_decode_layer3().

◆ ff_lsf_nsf_table

const uint8_t ff_lsf_nsf_table[6][3][4]

Definition at line 56 of file mpegaudiodec_common.c.

Referenced by mp_decode_layer3().

◆ ff_mpa_huff_data

const uint8_t ff_mpa_huff_data[32][2]

Definition at line 314 of file mpegaudiodec_common.c.

Referenced by huffman_decode().

◆ ff_band_size_long

const uint8_t ff_band_size_long[9][22]

◆ ff_band_size_short

const uint8_t ff_band_size_short[9][13]

◆ ff_band_index_long

uint16_t ff_band_index_long[9][23]

Definition at line 394 of file mpegaudiodec_common.c.

Referenced by init_long_region(), and mpegaudiodec_common_init_static().

◆ ff_division_tabs

int16_t* const ff_division_tabs[4]

Definition at line 43 of file mpegaudiodec_common.c.

Referenced by mp_decode_layer2(), and mpegaudiodec_common_init_static().

◆ ff_scale_factor_modshift

uint16_t ff_scale_factor_modshift[64]

◆ ff_mpa_pretab

const uint8_t ff_mpa_pretab[2][22]

Definition at line 396 of file mpegaudiodec_common.c.

Referenced by exponents_from_scale_factors().