FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
gsmdec_data.c File Reference
#include <stdint.h>
#include "gsmdec_data.h"

Go to the source code of this file.

Variables

const uint16_t ff_gsm_long_term_gain_tab [4]
 
const int16_t ff_gsm_dequant_tab [64][8]
 
static const int apcm_bits [11][13]
 
const int *const ff_gsm_apcm_bits [][4]
 

Variable Documentation

const uint16_t ff_gsm_long_term_gain_tab[4]
Initial value:
= {
3277, 11469, 21299, 32767
}

Definition at line 25 of file gsmdec_data.c.

Referenced by long_term_synth().

const int16_t ff_gsm_dequant_tab[64][8]

Definition at line 29 of file gsmdec_data.c.

Referenced by apcm_dequant_add().

const int apcm_bits[11][13]
static
Initial value:
= {
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1 },
{ 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1 },
{ 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1 },
{ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
{ 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
{ 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
{ 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
{ 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
{ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 }
}

Definition at line 96 of file gsmdec_data.c.

const int* const ff_gsm_apcm_bits[][4]
Initial value:
= {
{ apcm_bits[10], apcm_bits[10], apcm_bits[10], apcm_bits[10] },
{ apcm_bits[10], apcm_bits[10], apcm_bits[10], apcm_bits[ 6] },
{ apcm_bits[10], apcm_bits[10], apcm_bits[ 7], apcm_bits[ 5] },
{ apcm_bits[10], apcm_bits[ 8], apcm_bits[ 5], apcm_bits[ 5] },
{ apcm_bits[ 9], apcm_bits[ 5], apcm_bits[ 5], apcm_bits[ 5] },
{ apcm_bits[ 5], apcm_bits[ 5], apcm_bits[ 5], apcm_bits[ 1] },
{ apcm_bits[ 5], apcm_bits[ 5], apcm_bits[ 2], apcm_bits[ 0] },
{ apcm_bits[ 5], apcm_bits[ 3], apcm_bits[ 0], apcm_bits[ 0] },
{ apcm_bits[ 4], apcm_bits[ 0], apcm_bits[ 0], apcm_bits[ 0] },
}

Definition at line 110 of file gsmdec_data.c.

Referenced by gsm_decode_block().