huff_tab.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /***********************************************************************
  2. **
  3. ** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C
  4. ** > Software Release 2.1 (2008-06)
  5. ** (Simple repackaging; no change from 2005-05 Release 2.0 code)
  6. **
  7. ** © 2004 Polycom, Inc.
  8. **
  9. ** All rights reserved.
  10. **
  11. ***********************************************************************/
  12. extern Word16 differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS];
  13. extern UWord16 differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS];
  14. extern Word16 differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS-1][2];
  15. extern Word16 mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS];
  16. extern Word16 expected_bits_table[NUM_CATEGORIES];
  17. extern Word16 mlt_sqvh_bitcount_category_0[196];
  18. extern UWord16 mlt_sqvh_code_category_0[196];
  19. extern Word16 mlt_sqvh_bitcount_category_1[100];
  20. extern UWord16 mlt_sqvh_code_category_1[100];
  21. extern Word16 mlt_sqvh_bitcount_category_2[49];
  22. extern UWord16 mlt_sqvh_code_category_2[49];
  23. extern Word16 mlt_sqvh_bitcount_category_3[625];
  24. extern UWord16 mlt_sqvh_code_category_3[625];
  25. extern Word16 mlt_sqvh_bitcount_category_4[256];
  26. extern UWord16 mlt_sqvh_code_category_4[256];
  27. extern Word16 mlt_sqvh_bitcount_category_5[243];
  28. extern UWord16 mlt_sqvh_code_category_5[243];
  29. extern Word16 mlt_sqvh_bitcount_category_6[32];
  30. extern UWord16 mlt_sqvh_code_category_6[32];
  31. extern Word16 *table_of_bitcount_tables[NUM_CATEGORIES-1];
  32. extern UWord16 *table_of_code_tables[NUM_CATEGORIES-1];
  33. extern Word16 mlt_decoder_tree_category_0[180][2];
  34. extern Word16 mlt_decoder_tree_category_1[93][2];
  35. extern Word16 mlt_decoder_tree_category_2[47][2];
  36. extern Word16 mlt_decoder_tree_category_3[519][2];
  37. extern Word16 mlt_decoder_tree_category_4[208][2];
  38. extern Word16 mlt_decoder_tree_category_5[191][2];
  39. extern Word16 mlt_decoder_tree_category_6[31][2];
  40. extern Word16 *table_of_decoder_tables[NUM_CATEGORIES-1];