libg722_1  0.0.1
tables.c File Reference
#include <inttypes.h>
#include <stdlib.h>
#include "g722_1/g722_1.h"
#include "defs.h"
#include "tables.h"

Variables

const int16_t vector_dimension [NUM_CATEGORIES]
const int16_t number_of_vectors [NUM_CATEGORIES]
const int16_t max_bin [NUM_CATEGORIES]
const int16_t max_bin_plus_one_inverse [NUM_CATEGORIES]
const float region_standard_deviation_table [REGION_POWER_TABLE_SIZE]
const float standard_deviation_inverse_table [REGION_POWER_TABLE_SIZE]
const float step_size [NUM_CATEGORIES]
const float step_size_inverse_table [NUM_CATEGORIES]
const float dead_zone [NUM_CATEGORIES]
const float region_power_table [REGION_POWER_TABLE_SIZE]
const float region_power_table_boundary [REGION_POWER_TABLE_SIZE-1]

Detailed Description


Variable Documentation

const float dead_zone[NUM_CATEGORIES]
Initial value:
{
    0.3f,
    0.33f,
    0.36f,
    0.39f,
    0.42f,
    0.45f,
    0.5f,
    0.5f
}
const int16_t max_bin[NUM_CATEGORIES]
Initial value:
{
    13, 9, 6, 4, 3, 2, 1, 1
}
const int16_t max_bin_plus_one_inverse[NUM_CATEGORIES]
Initial value:
{
     2341,  3277,  4682,  6554,  8193, 10923, 16385, 16385
}
const int16_t number_of_vectors[NUM_CATEGORIES]
Initial value:
{
    10, 10, 10, 5,  5,  4,  4, 20
}
const float step_size[NUM_CATEGORIES]
Initial value:
{
    0.3536f,
    0.5f,
    0.7071f,
    1.0f,
    1.4142f,
    2.0f,
    2.8284f,
    2.8284f
}
const float step_size_inverse_table[NUM_CATEGORIES]
Initial value:
{
    2.82805443e+00f,
    2.00000000e+00f,
    1.41422713e+00f,
    1.00000000e+00f,
    7.07113564e-01f,
    5.00000000e-01f,
    3.53556782e-01f,
    3.53556782e-01f
}
const int16_t vector_dimension[NUM_CATEGORIES]
Initial value:
{
    2,  2,  2,  4,  4,  5,  5,  1
}