#include <inttypes.h>#include <stdlib.h>#include "g722_1/g722_1.h"#include "defs.h"#include "tables.h"| const float dead_zone[NUM_CATEGORIES] |
{
0.3f,
0.33f,
0.36f,
0.39f,
0.42f,
0.45f,
0.5f,
0.5f
}
| const int16_t max_bin[NUM_CATEGORIES] |
{
13, 9, 6, 4, 3, 2, 1, 1
}
| const int16_t max_bin_plus_one_inverse[NUM_CATEGORIES] |
{
2341, 3277, 4682, 6554, 8193, 10923, 16385, 16385
}
| const int16_t number_of_vectors[NUM_CATEGORIES] |
{
10, 10, 10, 5, 5, 4, 4, 20
}
| const float step_size[NUM_CATEGORIES] |
{
0.3536f,
0.5f,
0.7071f,
1.0f,
1.4142f,
2.0f,
2.8284f,
2.8284f
}
| const float step_size_inverse_table[NUM_CATEGORIES] |
{
2.82805443e+00,
2.00000000e+00,
1.41422713e+00,
1.00000000e+00,
7.07113564e-01,
5.00000000e-01,
3.53556782e-01,
3.53556782e-01
}
| const int16_t vector_dimension[NUM_CATEGORIES] |
{
2, 2, 2, 4, 4, 5, 5, 1
}
1.6.1