libg722_1  0.0.1
make_tables.c File Reference
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdio.h>
#include "g722_1/g722_1.h"
#include "defs.h"
#include "huff_tab.h"

Defines

#define PI   3.141592653589793238462
#define ENCODER_SCALE_FACTOR   18318.0
#define DECODER_SCALE_FACTOR   18096.0
#define REGION_POWER_TABLE_SIZE   64
#define NUM_CATEGORIES   8
#define MAX_DCT_LENGTH   640

Functions

int main (int argc, char *argv[])

Variables

float region_standard_deviation_table [REGION_POWER_TABLE_SIZE]
float standard_deviation_inverse_table [REGION_POWER_TABLE_SIZE]
int16_t vector_dimension [NUM_CATEGORIES]
int16_t number_of_vectors [NUM_CATEGORIES]
int16_t max_bin_plus_one_inverse [NUM_CATEGORIES]
const int16_t max_bin [NUM_CATEGORIES]
const float step_size [NUM_CATEGORIES]

Detailed Description


Variable Documentation

const int16_t max_bin[NUM_CATEGORIES]
Initial value:
{
    13, 9, 6, 4, 3, 2, 1, 1
}
const float step_size[NUM_CATEGORIES]
Initial value:
{
    0.3536f,
    0.5f,
    0.7071f,
    1.0f,
    1.4142f,
    2.0f,
    2.8284f,
    2.8284f
}