|
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-2009 * |
|
9 * by the Xiph.Org Foundation http://www.xiph.org/ * |
|
10 * * |
|
11 ******************************************************************** |
|
12 |
|
13 function: 11kHz settings |
|
14 last mod: $Id: setup_11.h 16894 2010-02-12 20:32:12Z xiphmont $ |
|
15 |
|
16 ********************************************************************/ |
|
17 |
|
18 #include "psych_11.h" |
|
19 |
|
20 static const int blocksize_11[2]={ |
|
21 512,512 |
|
22 }; |
|
23 |
|
24 static const int _floor_mapping_11a[]={ |
|
25 6,6 |
|
26 }; |
|
27 static const int *_floor_mapping_11[]={ |
|
28 _floor_mapping_11a |
|
29 }; |
|
30 |
|
31 static const double rate_mapping_11[3]={ |
|
32 8000.,13000.,44000., |
|
33 }; |
|
34 |
|
35 static const double rate_mapping_11_uncoupled[3]={ |
|
36 12000.,20000.,50000., |
|
37 }; |
|
38 |
|
39 static const double quality_mapping_11[3]={ |
|
40 -.1,.0,1. |
|
41 }; |
|
42 |
|
43 static const ve_setup_data_template ve_setup_11_stereo={ |
|
44 2, |
|
45 rate_mapping_11, |
|
46 quality_mapping_11, |
|
47 2, |
|
48 9000, |
|
49 15000, |
|
50 |
|
51 blocksize_11, |
|
52 blocksize_11, |
|
53 |
|
54 _psy_tone_masteratt_11, |
|
55 _psy_tone_0dB, |
|
56 _psy_tone_suppress, |
|
57 |
|
58 _vp_tonemask_adj_11, |
|
59 NULL, |
|
60 _vp_tonemask_adj_11, |
|
61 |
|
62 _psy_noiseguards_8, |
|
63 _psy_noisebias_11, |
|
64 _psy_noisebias_11, |
|
65 NULL, |
|
66 NULL, |
|
67 _psy_noise_suppress, |
|
68 |
|
69 _psy_compand_8, |
|
70 _psy_compand_8_mapping, |
|
71 NULL, |
|
72 |
|
73 {_noise_start_8,_noise_start_8}, |
|
74 {_noise_part_8,_noise_part_8}, |
|
75 _noise_thresh_11, |
|
76 |
|
77 _psy_ath_floater_8, |
|
78 _psy_ath_abs_8, |
|
79 |
|
80 _psy_lowpass_11, |
|
81 |
|
82 _psy_global_44, |
|
83 _global_mapping_8, |
|
84 _psy_stereo_modes_8, |
|
85 |
|
86 _floor_books, |
|
87 _floor, |
|
88 1, |
|
89 _floor_mapping_11, |
|
90 |
|
91 _mapres_template_8_stereo |
|
92 }; |
|
93 |
|
94 static const ve_setup_data_template ve_setup_11_uncoupled={ |
|
95 2, |
|
96 rate_mapping_11_uncoupled, |
|
97 quality_mapping_11, |
|
98 -1, |
|
99 9000, |
|
100 15000, |
|
101 |
|
102 blocksize_11, |
|
103 blocksize_11, |
|
104 |
|
105 _psy_tone_masteratt_11, |
|
106 _psy_tone_0dB, |
|
107 _psy_tone_suppress, |
|
108 |
|
109 _vp_tonemask_adj_11, |
|
110 NULL, |
|
111 _vp_tonemask_adj_11, |
|
112 |
|
113 _psy_noiseguards_8, |
|
114 _psy_noisebias_11, |
|
115 _psy_noisebias_11, |
|
116 NULL, |
|
117 NULL, |
|
118 _psy_noise_suppress, |
|
119 |
|
120 _psy_compand_8, |
|
121 _psy_compand_8_mapping, |
|
122 NULL, |
|
123 |
|
124 {_noise_start_8,_noise_start_8}, |
|
125 {_noise_part_8,_noise_part_8}, |
|
126 _noise_thresh_11, |
|
127 |
|
128 _psy_ath_floater_8, |
|
129 _psy_ath_abs_8, |
|
130 |
|
131 _psy_lowpass_11, |
|
132 |
|
133 _psy_global_44, |
|
134 _global_mapping_8, |
|
135 _psy_stereo_modes_8, |
|
136 |
|
137 _floor_books, |
|
138 _floor, |
|
139 1, |
|
140 _floor_mapping_11, |
|
141 |
|
142 _mapres_template_8_uncoupled |
|
143 }; |