huff_tab.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #define REGION_POWER_STEPSIZE_DB 3.010299957
00020 #define ABS_REGION_POWER_LEVELS 32
00021 #define DIFF_REGION_POWER_LEVELS 24
00022
00023 #define DRP_DIFF_MIN -12
00024 #define DRP_DIFF_MAX 11
00025
00026 #define MAX_NUM_BINS 16
00027 #define MAX_VECTOR_INDICES 625
00028 #define MAX_VECTOR_DIMENSION 5
00029
00030 extern const int16_t differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS];
00031 extern const uint16_t differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS];
00032 extern const int16_t differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS - 1][2];
00033 #if defined(G722_1_USE_FIXED_POINT)
00034 extern const int16_t mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS];
00035 #else
00036 extern const float mlt_quant_centroid[NUM_CATEGORIES - 1][MAX_NUM_BINS];
00037 #endif
00038 extern const int16_t expected_bits_table[NUM_CATEGORIES];
00039
00040 extern const int16_t *table_of_bitcount_tables[NUM_CATEGORIES - 1];
00041 extern const uint16_t *table_of_code_tables[NUM_CATEGORIES - 1];
00042
00043 extern const int16_t *table_of_decoder_tables[NUM_CATEGORIES - 1];
00044
00045