~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/third_party/g7221/common/huff_def.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
13
#define REGION_POWER_STEPSIZE_DB 3.010299957
 
14
#define ABS_REGION_POWER_LEVELS  32
 
15
#define DIFF_REGION_POWER_LEVELS 24
 
16
 
 
17
#define DRP_DIFF_MIN -12
 
18
#define DRP_DIFF_MAX 11
 
19
 
 
20
#define MAX_NUM_BINS 16
 
21
#define MAX_VECTOR_INDICES 625
 
22
#define MAX_VECTOR_DIMENSION 5
 
23
 
 
24
extern Word16  differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS];
 
25
extern UWord16 differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS];
 
26
extern Word16  differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS-1][2];
 
27
extern Word16  mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS];
 
28
extern Word16  expected_bits_table[NUM_CATEGORIES];
 
29
extern Word16  mlt_sqvh_bitcount_category_0[196];
 
30
extern UWord16 mlt_sqvh_code_category_0[196];
 
31
extern Word16  mlt_sqvh_bitcount_category_1[100];
 
32
extern UWord16 mlt_sqvh_code_category_1[100];
 
33
extern Word16  mlt_sqvh_bitcount_category_2[49];
 
34
extern UWord16 mlt_sqvh_code_category_2[49];
 
35
extern Word16  mlt_sqvh_bitcount_category_3[625];
 
36
extern UWord16 mlt_sqvh_code_category_3[625];
 
37
extern Word16  mlt_sqvh_bitcount_category_4[256];
 
38
extern UWord16 mlt_sqvh_code_category_4[256];
 
39
extern Word16  mlt_sqvh_bitcount_category_5[243];
 
40
extern UWord16 mlt_sqvh_code_category_5[243];
 
41
extern Word16  mlt_sqvh_bitcount_category_6[32];
 
42
extern UWord16 mlt_sqvh_code_category_6[32];
 
43
extern Word16  *table_of_bitcount_tables[NUM_CATEGORIES-1];
 
44
extern UWord16 *table_of_code_tables[NUM_CATEGORIES-1];
 
45
extern Word16  mlt_decoder_tree_category_0[180][2];
 
46
extern Word16  mlt_decoder_tree_category_1[93][2];
 
47
extern Word16  mlt_decoder_tree_category_2[47][2];
 
48
extern Word16  mlt_decoder_tree_category_3[519][2];
 
49
extern Word16  mlt_decoder_tree_category_4[208][2];
 
50
extern Word16  mlt_decoder_tree_category_5[191][2];
 
51
extern Word16  mlt_decoder_tree_category_6[31][2];
 
52
extern Word16  *table_of_decoder_tables[NUM_CATEGORIES-1];
 
53