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

Data tables for the EVRC decoder. More...

#include "libavutil/common.h"

Go to the source code of this file.

Variables

static const float evrc_energy_quant [][3]
 Rate 1/8 frame energy quantization. More...
 
static const float evrc_lspq_full_codebook1 [64][2]
 LSP vector quantization tables. More...
 
static const float evrc_lspq_full_codebook2 [64][2]
 
static const float evrc_lspq_full_codebook3 [512][3]
 
static const float evrc_lspq_full_codebook4 [128][3]
 
static const float evrc_lspq_half_codebook1 [128][3]
 
static const float evrc_lspq_half_codebook2 [128][3]
 
static const float evrc_lspq_half_codebook3 [256][4]
 
static const float evrc_lspq_quant_codebook1 [16][5]
 
static const float evrc_lspq_quant_codebook2 [16][5]
 
static const float *const evrc_lspq_full_codebooks []
 
static const float *const evrc_lspq_half_codebooks []
 
static const float *const evrc_lspq_quant_codebooks []
 
static const float *const *const evrc_lspq_codebooks []
 
static const uint8_t evrc_lspq_nb_codebooks []
 
static const uint8_t evrc_lspq_full_codebooks_row_sizes []
 
static const uint8_t evrc_lspq_half_codebooks_row_sizes []
 
static const uint8_t evrc_lspq_quant_codebooks_row_sizes []
 
static const uint8_t *const evrc_lspq_codebooks_row_sizes []
 
static const float pitch_gain_vq [] = { 0, 0.3, 0.55, 0.7, 0.8, 0.9, 1, 1.2 }
 
static const float estimation_delay [] = { 55.0, 80.0, 39.0, 71.0, 33.0 }
 
static const uint8_t subframe_sizes [] = { 53, 53, 54 }
 

Detailed Description

Data tables for the EVRC decoder.

Author
Paul B Mahol

Definition in file evrcdata.h.

Variable Documentation

const float evrc_energy_quant[][3]
static

Rate 1/8 frame energy quantization.

TIA/IS-127 table 8-18

Definition at line 38 of file evrcdata.h.

Referenced by evrc_decode_frame(), and frame_erasure().

const float evrc_lspq_full_codebook1[64][2]
static

LSP vector quantization tables.

TIA/IS-127 tables 8-1 through 8-9

Definition at line 174 of file evrcdata.h.

const float evrc_lspq_full_codebook2[64][2]
static

Definition at line 208 of file evrcdata.h.

const float evrc_lspq_full_codebook3[512][3]
static

Definition at line 242 of file evrcdata.h.

const float evrc_lspq_full_codebook4[128][3]
static

Definition at line 756 of file evrcdata.h.

const float evrc_lspq_half_codebook1[128][3]
static

Definition at line 886 of file evrcdata.h.

const float evrc_lspq_half_codebook2[128][3]
static

Definition at line 1016 of file evrcdata.h.

const float evrc_lspq_half_codebook3[256][4]
static

Definition at line 1146 of file evrcdata.h.

const float evrc_lspq_quant_codebook1[16][5]
static
Initial value:
= {
{0.42091064E-1, 0.69474973E-1, 0.11168948E+0, 0.14571965E+0, 0.20893581E+0},
{0.54944664E-1, 0.98242261E-1, 0.11007882E+0, 0.15890779E+0, 0.20548241E+0},
{0.45188572E-1, 0.75199433E-1, 0.11423391E+0, 0.15469728E+0, 0.19746706E+0},
{0.49474996E-1, 0.79667501E-1, 0.12571351E+0, 0.16944779E+0, 0.20775315E+0},
{0.41789379E-1, 0.63459560E-1, 0.12068028E+0, 0.15850765E+0, 0.20406815E+0},
{0.47159236E-1, 0.79129547E-1, 0.12183110E+0, 0.15650047E+0, 0.22309226E+0},
{0.54539919E-1, 0.80343045E-1, 0.12947764E+0, 0.15186153E+0, 0.20171718E+0},
{0.55852082E-1, 0.94114847E-1, 0.14016025E+0, 0.17807084E+0, 0.22955489E+0},
{0.45443531E-1, 0.73541410E-1, 0.11937657E+0, 0.15442030E+0, 0.21010752E+0},
{0.63178010E-1, 0.95231488E-1, 0.12364983E+0, 0.17672543E+0, 0.21743731E+0},
{0.52765369E-1, 0.84351443E-1, 0.11589085E+0, 0.15790924E+0, 0.20732352E+0},
{0.51865745E-1, 0.81328541E-1, 0.13756232E+0, 0.18322878E+0, 0.21640070E+0},
{0.44419531E-1, 0.68874463E-1, 0.13115251E+0, 0.16263582E+0, 0.21659100E+0},
{0.49378436E-1, 0.81882551E-1, 0.13067168E+0, 0.16821896E+0, 0.23136081E+0},
{0.55909779E-1, 0.90783298E-1, 0.13348848E+0, 0.16298474E+0, 0.20961523E+0},
{0.61378211E-1, 0.98602772E-1, 0.14793332E+0, 0.19283190E+0, 0.23156509E+0}}

Definition at line 1404 of file evrcdata.h.

const float evrc_lspq_quant_codebook2[16][5]
static
Initial value:
= {
{0.26822963, 0.30585295, 0.31110349, 0.36823335, 0.40774474},
{0.24418014, 0.28970167, 0.32573757, 0.39021483, 0.41345838},
{0.23341830, 0.30078292, 0.32893899, 0.38557330, 0.41068462},
{0.25905868, 0.29756859, 0.34196618, 0.38531172, 0.41295227},
{0.24290450, 0.29223618, 0.32718554, 0.37788135, 0.40332928},
{0.24674191, 0.29749370, 0.33631226, 0.39426059, 0.42258954},
{0.21377595, 0.33140418, 0.34067687, 0.38222077, 0.40939021},
{0.26673481, 0.30791649, 0.34419721, 0.39611506, 0.42387524},
{0.26121426, 0.30492544, 0.32997236, 0.38486803, 0.42023736},
{0.24954870, 0.29372856, 0.33382735, 0.37850669, 0.41714057},
{0.24158891, 0.30173415, 0.34128246, 0.38428575, 0.41619650},
{0.25818908, 0.31736413, 0.34904337, 0.38769925, 0.41551358},
{0.24450587, 0.30673453, 0.33579323, 0.37844428, 0.40557048},
{0.25164026, 0.31225079, 0.33847794, 0.39554194, 0.42396802},
{0.22787990, 0.31779197, 0.33831909, 0.40044111, 0.41185561},
{0.27896860, 0.32261974, 0.35658112, 0.40206763, 0.42370448}}

Definition at line 1422 of file evrcdata.h.

const float* const evrc_lspq_full_codebooks[]
static
Initial value:
= {
}
static const float evrc_lspq_full_codebook1[64][2]
LSP vector quantization tables.
Definition: evrcdata.h:174
static const float evrc_lspq_full_codebook4[128][3]
Definition: evrcdata.h:756
static const float evrc_lspq_full_codebook2[64][2]
Definition: evrcdata.h:208
static const float evrc_lspq_full_codebook3[512][3]
Definition: evrcdata.h:242

Definition at line 1440 of file evrcdata.h.

const float* const evrc_lspq_half_codebooks[]
static
Initial value:
= {
}
static const float evrc_lspq_half_codebook2[128][3]
Definition: evrcdata.h:1016
static const float evrc_lspq_half_codebook3[256][4]
Definition: evrcdata.h:1146
static const float evrc_lspq_half_codebook1[128][3]
Definition: evrcdata.h:886

Definition at line 1445 of file evrcdata.h.

const float* const evrc_lspq_quant_codebooks[]
static
Initial value:
= {
}
static const float evrc_lspq_quant_codebook1[16][5]
Definition: evrcdata.h:1404
static const float evrc_lspq_quant_codebook2[16][5]
Definition: evrcdata.h:1422

Definition at line 1450 of file evrcdata.h.

const float* const* const evrc_lspq_codebooks[]
static
Initial value:
= {
0,
0,
}
static const float *const evrc_lspq_half_codebooks[]
Definition: evrcdata.h:1445
static const float *const evrc_lspq_full_codebooks[]
Definition: evrcdata.h:1440
static const float *const evrc_lspq_quant_codebooks[]
Definition: evrcdata.h:1450

Definition at line 1454 of file evrcdata.h.

Referenced by decode_lspf().

const uint8_t evrc_lspq_nb_codebooks[]
static
Initial value:
= {
0,
0,
}
static const float *const evrc_lspq_half_codebooks[]
Definition: evrcdata.h:1445
#define FF_ARRAY_ELEMS(a)
static const float *const evrc_lspq_full_codebooks[]
Definition: evrcdata.h:1440
static const float *const evrc_lspq_quant_codebooks[]
Definition: evrcdata.h:1450

Definition at line 1462 of file evrcdata.h.

Referenced by decode_lspf().

const uint8_t evrc_lspq_full_codebooks_row_sizes[]
static
Initial value:
= {
}
static const float evrc_lspq_full_codebook1[64][2]
LSP vector quantization tables.
Definition: evrcdata.h:174
#define FF_ARRAY_ELEMS(a)
static const float evrc_lspq_full_codebook4[128][3]
Definition: evrcdata.h:756
static const float evrc_lspq_full_codebook2[64][2]
Definition: evrcdata.h:208
static const float evrc_lspq_full_codebook3[512][3]
Definition: evrcdata.h:242

Definition at line 1470 of file evrcdata.h.

const uint8_t evrc_lspq_half_codebooks_row_sizes[]
static
Initial value:
= {
}
#define FF_ARRAY_ELEMS(a)
static const float evrc_lspq_half_codebook2[128][3]
Definition: evrcdata.h:1016
static const float evrc_lspq_half_codebook3[256][4]
Definition: evrcdata.h:1146
static const float evrc_lspq_half_codebook1[128][3]
Definition: evrcdata.h:886

Definition at line 1477 of file evrcdata.h.

const uint8_t evrc_lspq_quant_codebooks_row_sizes[]
static
Initial value:
= {
}
#define FF_ARRAY_ELEMS(a)
static const float evrc_lspq_quant_codebook1[16][5]
Definition: evrcdata.h:1404
static const float evrc_lspq_quant_codebook2[16][5]
Definition: evrcdata.h:1422

Definition at line 1483 of file evrcdata.h.

const uint8_t* const evrc_lspq_codebooks_row_sizes[]
static
Initial value:
= {
}
#define NULL
Definition: coverity.c:32
static const uint8_t evrc_lspq_half_codebooks_row_sizes[]
Definition: evrcdata.h:1477
static const uint8_t evrc_lspq_quant_codebooks_row_sizes[]
Definition: evrcdata.h:1483
static const uint8_t evrc_lspq_full_codebooks_row_sizes[]
Definition: evrcdata.h:1470

Definition at line 1488 of file evrcdata.h.

Referenced by decode_lspf().

const float pitch_gain_vq[] = { 0, 0.3, 0.55, 0.7, 0.8, 0.9, 1, 1.2 }
static

Definition at line 1496 of file evrcdata.h.

Referenced by evrc_decode_frame().

const float estimation_delay[] = { 55.0, 80.0, 39.0, 71.0, 33.0 }
static

Definition at line 1497 of file evrcdata.h.

Referenced by frame_erasure().

const uint8_t subframe_sizes[] = { 53, 53, 54 }
static

Definition at line 1498 of file evrcdata.h.

Referenced by evrc_decode_frame(), and frame_erasure().