~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

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
 
**   � 1999 PictureTel Coporation
8
 
**          Andover, MA, USA  
9
 
**
10
 
**          All rights reserved.
11
 
**
12
 
***********************************************************************/
13
 
 
14
 
/***********************************************************************
15
 
  Filename:    tables.h    
16
 
 
17
 
  Purpose:     Contains table definitions used by G.722.1 Annex C
18
 
                
19
 
  Design Notes:
20
 
 
21
 
***********************************************************************/
22
 
 
23
 
/***********************************************************************
24
 
 Include files                                                           
25
 
***********************************************************************/
26
 
#define REGION_POWER_TABLE_SIZE 64
27
 
#define NUM_CATEGORIES          8
28
 
#define DCT_LENGTH              320
29
 
#define MAX_DCT_LENGTH          640
30
 
 
31
 
extern Word16 int_region_standard_deviation_table[REGION_POWER_TABLE_SIZE];
32
 
extern Word16 standard_deviation_inverse_table[REGION_POWER_TABLE_SIZE];
33
 
extern Word16 step_size_inverse_table[NUM_CATEGORIES];
34
 
extern Word16 vector_dimension[NUM_CATEGORIES];
35
 
extern Word16 number_of_vectors[NUM_CATEGORIES];
36
 
/* The last category isn't really coded with scalar quantization. */
37
 
extern Word16 max_bin[NUM_CATEGORIES];
38
 
extern Word16 max_bin_plus_one_inverse[NUM_CATEGORIES];
39
 
extern Word16 int_dead_zone[NUM_CATEGORIES];
40
 
extern Word16 samples_to_rmlt_window[DCT_LENGTH];
41
 
extern Word16 rmlt_to_samples_window[DCT_LENGTH];
42
 
 
43
 
/* Add next line in Release 1.2 */
44
 
extern Word16 int_dead_zone_low_bits[NUM_CATEGORIES];
45
 
 
46
 
extern Word16 max_samples_to_rmlt_window[MAX_DCT_LENGTH];
47
 
extern Word16 max_rmlt_to_samples_window[MAX_DCT_LENGTH];