diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2009-04-01 12:05:34 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2009-04-01 12:05:34 +0000 |
commit | d35a8221a34a562a88bdb7c947a7018080539c59 (patch) | |
tree | aa5a5abd2d4421426668329a193d079d2d0b293d /third_party/g7221/common/huff_tab.h | |
parent | 5c2400ce2b6ca229272457be1ff383df1d9c6139 (diff) |
Ticket #774:
- Initial source of G.722.1/Annex C integration.
- Disabled some "odd" modes of L16 codec (11kHz & 22kHz mono & stereo) while releasing some payload types.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2563 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/g7221/common/huff_tab.h')
-rw-r--r-- | third_party/g7221/common/huff_tab.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/third_party/g7221/common/huff_tab.h b/third_party/g7221/common/huff_tab.h new file mode 100644 index 00000000..5ccd6500 --- /dev/null +++ b/third_party/g7221/common/huff_tab.h @@ -0,0 +1,42 @@ +/*********************************************************************** +** +** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C +** > Software Release 2.1 (2008-06) +** (Simple repackaging; no change from 2005-05 Release 2.0 code) +** +** © 2004 Polycom, Inc. +** +** All rights reserved. +** +***********************************************************************/ + +extern Word16 differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS]; +extern UWord16 differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS]; +extern Word16 differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS-1][2]; +extern Word16 mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS]; +extern Word16 expected_bits_table[NUM_CATEGORIES]; +extern Word16 mlt_sqvh_bitcount_category_0[196]; +extern UWord16 mlt_sqvh_code_category_0[196]; +extern Word16 mlt_sqvh_bitcount_category_1[100]; +extern UWord16 mlt_sqvh_code_category_1[100]; +extern Word16 mlt_sqvh_bitcount_category_2[49]; +extern UWord16 mlt_sqvh_code_category_2[49]; +extern Word16 mlt_sqvh_bitcount_category_3[625]; +extern UWord16 mlt_sqvh_code_category_3[625]; +extern Word16 mlt_sqvh_bitcount_category_4[256]; +extern UWord16 mlt_sqvh_code_category_4[256]; +extern Word16 mlt_sqvh_bitcount_category_5[243]; +extern UWord16 mlt_sqvh_code_category_5[243]; +extern Word16 mlt_sqvh_bitcount_category_6[32]; +extern UWord16 mlt_sqvh_code_category_6[32]; +extern Word16 *table_of_bitcount_tables[NUM_CATEGORIES-1]; +extern UWord16 *table_of_code_tables[NUM_CATEGORIES-1]; +extern Word16 mlt_decoder_tree_category_0[180][2]; +extern Word16 mlt_decoder_tree_category_1[93][2]; +extern Word16 mlt_decoder_tree_category_2[47][2]; +extern Word16 mlt_decoder_tree_category_3[519][2]; +extern Word16 mlt_decoder_tree_category_4[208][2]; +extern Word16 mlt_decoder_tree_category_5[191][2]; +extern Word16 mlt_decoder_tree_category_6[31][2]; +extern Word16 *table_of_decoder_tables[NUM_CATEGORIES-1]; + |