FFmpeg
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 uint8_t ff_gsm_requant_tab [4][8]
 
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 uint8_t ff_gsm_requant_tab[4][8]
Initial value:
= {
{ 0 },
{ 0, 7 },
{ 0, 2, 5, 7 },
{ 0, 1, 2, 3, 4, 5, 6, 7 }
}

Definition at line 29 of file gsmdec_data.c.

Referenced by apcm_dequant_add().

const int16_t ff_gsm_dequant_tab[64][8]

Definition at line 36 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 103 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] },
}
static const int apcm_bits[11][13]
Definition: gsmdec_data.c:103

Definition at line 117 of file gsmdec_data.c.

Referenced by gsm_decode_block().