libavcodec/mpegaudiotab.h File Reference

mpeg audio layer 2 tables. More...

#include <stdint.h>
#include "mpegaudio.h"

Go to the source code of this file.

Defines

#define SQRT2   1.41421356237309514547

Variables

static const int costab32 [30]
static const int bitinv32 [32]
static int16_t filter_bank [512]
static int scale_factor_table [64]
static int8_t scale_factor_shift [64]
static unsigned short scale_factor_mult [64]
static unsigned char scale_diff_table [128]
static unsigned short total_quant_bits [17]
static const unsigned short quant_snr [17]
static const float fixed_smr [SBLIMIT]
static const unsigned char nb_scale_factors [4] = { 3, 2, 1, 2 }


Detailed Description

mpeg audio layer 2 tables.

Most of them come from the mpeg audio specification.

Definition in file mpegaudiotab.h.


Define Documentation

#define SQRT2   1.41421356237309514547

Definition at line 36 of file mpegaudiotab.h.

Referenced by idct32().


Variable Documentation

const int bitinv32[32] [static]

Initial value:

 {
    0,  16,  8, 24,  4,  20,  12,  28,
    2,  18, 10, 26,  6,  22,  14,  30,
    1,  17,  9, 25,  5,  21,  13,  29,
    3,  19, 11, 27,  7,  23,  15,  31
}

Definition at line 74 of file mpegaudiotab.h.

Referenced by idct32().

const int costab32[30] [static]

Definition at line 38 of file mpegaudiotab.h.

Referenced by idct32().

int16_t filter_bank[512] [static]

Definition at line 82 of file mpegaudiotab.h.

Referenced by filter(), and MPA_encode_init().

const float fixed_smr[SBLIMIT] [static]

Initial value:

  {
    30, 17, 16, 10, 3, 12, 8, 2.5,
    5, 5, 6, 6, 5, 6, 10, 6,
    -4, -10, -21, -30, -42, -55, -68, -75,
    -75, -75, -75, -75, -91, -107, -110, -108
}

Definition at line 109 of file mpegaudiotab.h.

Referenced by psycho_acoustic_model().

const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 } [static]

Definition at line 116 of file mpegaudiotab.h.

Referenced by compute_bit_allocation().

const unsigned short quant_snr[17] [static]

Initial value:

 {
     70, 110, 160, 208,
    253, 316, 378, 439,
    499, 559, 620, 680,
    740, 800, 861, 920,
    980
}

Definition at line 99 of file mpegaudiotab.h.

Referenced by compute_bit_allocation().

unsigned char scale_diff_table[128] [static]

Definition at line 91 of file mpegaudiotab.h.

Referenced by compute_scale_factors(), and MPA_encode_init().

unsigned short scale_factor_mult[64] [static]

Definition at line 89 of file mpegaudiotab.h.

int8_t scale_factor_shift[64] [static]

Definition at line 88 of file mpegaudiotab.h.

Referenced by encode_frame(), and MPA_encode_init().

int scale_factor_table[64] [static]

Definition at line 84 of file mpegaudiotab.h.

Referenced by compute_scale_factors(), and MPA_encode_init().

unsigned short total_quant_bits[17] [static]

Definition at line 94 of file mpegaudiotab.h.

Referenced by compute_bit_allocation(), and MPA_encode_init().


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8