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