libavcodec/mpegaudiodata.c File Reference

mpeg audio layer common tables. More...

#include "mpegaudiodata.h"

Go to the source code of this file.

Variables

const uint16_t ff_mpa_bitrate_tab [2][3][15]
const uint16_t ff_mpa_freq_tab [3] = { 44100, 48000, 32000 }
const int32_t ff_mpa_enwindow [257]
const int ff_mpa_sblimit_table [5] = { 27 , 30 , 8, 12 , 30 }
const int ff_mpa_quant_steps [17]
const int ff_mpa_quant_bits [17]
static const unsigned char alloc_table_1 []
static const unsigned char alloc_table_3 []
static const unsigned char alloc_table_4 []
const unsigned char *const ff_mpa_alloc_tables [5]


Detailed Description

mpeg audio layer common tables.

Definition in file mpegaudiodata.c.


Variable Documentation

const unsigned char alloc_table_1[] [static]

Definition at line 102 of file mpegaudiodata.c.

const unsigned char alloc_table_3[] [static]

Initial value:

 {
 4,  0,  1,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15,
 4,  0,  1,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
 3,  0,  1,  3,  4,  5,  6,  7,
}

Definition at line 135 of file mpegaudiodata.c.

const unsigned char alloc_table_4[] [static]

Definition at line 150 of file mpegaudiodata.c.

const unsigned char* const ff_mpa_alloc_tables[5]

Initial value:

Definition at line 183 of file mpegaudiodata.c.

Referenced by mp_decode_layer2(), and MPA_encode_init().

const uint16_t ff_mpa_bitrate_tab[2][3][15]

Initial value:

 {
    { {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448 },
      {0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384 },
      {0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 } },
    { {0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256},
      {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160},
      {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}
    }
}

Definition at line 30 of file mpegaudiodata.c.

Referenced by ff_mpegaudio_decode_header(), find_expected_header(), mp3_header_decompress(), and MPA_encode_init().

const int32_t ff_mpa_enwindow[257]

Definition at line 44 of file mpegaudiodata.c.

Referenced by ff_mpa_synth_init_TMPL(), and MPA_encode_init().

const uint16_t ff_mpa_freq_tab[3] = { 44100, 48000, 32000 }

const int ff_mpa_quant_bits[17]

Initial value:

 {
    -5,  -7,  3, -10, 4,
     5,  6,  7,  8,  9,
    10, 11, 12, 13, 14,
    15, 16
}

Definition at line 93 of file mpegaudiodata.c.

Referenced by decode_init(), encode_frame(), mp_decode_layer2(), and MPA_encode_init().

const int ff_mpa_quant_steps[17]

Initial value:

 {
    3,     5,    7,    9,    15,
    31,    63,  127,  255,   511,
    1023,  2047, 4095, 8191, 16383,
    32767, 65535
}

Definition at line 85 of file mpegaudiodata.c.

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

const int ff_mpa_sblimit_table[5] = { 27 , 30 , 8, 12 , 30 }

Definition at line 83 of file mpegaudiodata.c.

Referenced by mp_decode_layer2(), and MPA_encode_init().


Generated on Fri Oct 26 02:39:45 2012 for FFmpeg by  doxygen 1.5.8