doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
setup_16.h
Go to the documentation of this file.
1 /********************************************************************
2  * *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7  * *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
9  * by the XIPHOPHORUS Company http://www.xiph.org/ *
10  * *
11  ********************************************************************
12 
13  function: 16kHz settings
14  last mod: $Id: setup_16.h,v 1.5 2002/10/11 11:14:42 xiphmont Exp $
15 
16  ********************************************************************/
17 
18 #include "psych_16.h"
19 #include "residue_16.h"
20 
21 static int blocksize_16_short[3]={
22  1024,512,512
23 };
24 static int blocksize_16_long[3]={
25  1024,1024,1024
26 };
27 
28 static int _floor_mapping_16_short[3]={
29  9,3,3
30 };
31 static int _floor_mapping_16[3]={
32  9,9,9
33 };
34 
35 static double rate_mapping_16[4]={
36  12000.,20000.,44000.,86000.
37 };
38 
39 static double rate_mapping_16_uncoupled[4]={
40  16000.,28000.,64000.,100000.
41 };
42 
43 static double _global_mapping_16[4]={ 1., 2., 3., 4. };
44 
45 static double quality_mapping_16[4]={ -.1,.05,.5,1. };
46 
47 static double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};
48 
50  3,
51  rate_mapping_16,
52  quality_mapping_16,
53  2,
54  15000,
55  19000,
56 
57  blocksize_16_short,
58  blocksize_16_long,
59 
60  _psy_tone_masteratt_16,
61  _psy_tone_0dB,
62  _psy_tone_suppress,
63 
64  _vp_tonemask_adj_16,
65  _vp_tonemask_adj_16,
66  _vp_tonemask_adj_16,
67 
68  _psy_noiseguards_8,
69  _psy_noisebias_16_impulse,
70  _psy_noisebias_16_short,
71  _psy_noisebias_16_short,
72  _psy_noisebias_16,
73  _psy_noise_suppress,
74 
75  _psy_compand_8,
76  _psy_compand_16_mapping,
77  _psy_compand_16_mapping,
78 
79  {_noise_start_16,_noise_start_16},
80  { _noise_part_16, _noise_part_16},
81  _noise_thresh_16,
82 
83  _psy_ath_floater_16,
84  _psy_ath_abs_16,
85 
86  _psy_lowpass_16,
87 
88  _psy_global_44,
89  _global_mapping_16,
90  _psy_stereo_modes_16,
91 
92  _floor_books,
93  _floor,
94  _floor_mapping_16_short,
95  _floor_mapping_16,
96 
97  _mapres_template_16_stereo
98 };
99 
101  3,
102  rate_mapping_16_uncoupled,
103  quality_mapping_16,
104  -1,
105  15000,
106  19000,
107 
108  blocksize_16_short,
109  blocksize_16_long,
110 
111  _psy_tone_masteratt_16,
112  _psy_tone_0dB,
113  _psy_tone_suppress,
114 
115  _vp_tonemask_adj_16,
116  _vp_tonemask_adj_16,
117  _vp_tonemask_adj_16,
118 
119  _psy_noiseguards_8,
120  _psy_noisebias_16_impulse,
121  _psy_noisebias_16_short,
122  _psy_noisebias_16_short,
123  _psy_noisebias_16,
124  _psy_noise_suppress,
125 
126  _psy_compand_8,
127  _psy_compand_16_mapping,
128  _psy_compand_16_mapping,
129 
130  {_noise_start_16,_noise_start_16},
131  { _noise_part_16, _noise_part_16},
132  _noise_thresh_16,
133 
134  _psy_ath_floater_16,
135  _psy_ath_abs_16,
136 
137  _psy_lowpass_16,
138 
139  _psy_global_44,
140  _global_mapping_16,
141  _psy_stereo_modes_16,
142 
143  _floor_books,
144  _floor,
145  _floor_mapping_16_short,
146  _floor_mapping_16,
147 
148  _mapres_template_16_uncoupled
149 };
ve_setup_data_template ve_setup_16_uncoupled
Definition: setup_16.h:100
ve_setup_data_template ve_setup_16_stereo
Definition: setup_16.h:49