FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
mpegaudiotab.h File Reference

mpeg audio layer 2 tables. More...

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

Go to the source code of this file.

Macros

#define SQRT2   1.41421356237309514547
 

Variables

static const int costab32 [30]
 
static const int bitinv32 [32]
 
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.

Macro Definition Documentation

#define SQRT2   1.41421356237309514547

Definition at line 36 of file mpegaudiotab.h.

Referenced by idct32().

Variable Documentation

const int costab32[30]
static

Definition at line 38 of file mpegaudiotab.h.

Referenced by idct32().

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 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 85 of file mpegaudiotab.h.

Referenced by compute_bit_allocation().

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 95 of file mpegaudiotab.h.

Referenced by psycho_acoustic_model().

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

Definition at line 102 of file mpegaudiotab.h.

Referenced by compute_bit_allocation().