~ubuntu-branches/ubuntu/vivid/sflphone/vivid

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (4.1.18 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130630114056-0np50jkyqo6vnmii
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

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];