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-2007 * |
---|
9 | * by the Xiph.Org Foundation http://www.xiph.org/ * |
---|
10 | * * |
---|
11 | ******************************************************************** |
---|
12 | |
---|
13 | function: 22kHz settings |
---|
14 | last mod: $Id: setup_22.h 13293 2007-07-24 00:09:47Z xiphmont $ |
---|
15 | |
---|
16 | ********************************************************************/ |
---|
17 | |
---|
18 | static double rate_mapping_22[4]={ |
---|
19 | 15000.,20000.,44000.,86000. |
---|
20 | }; |
---|
21 | |
---|
22 | static double rate_mapping_22_uncoupled[4]={ |
---|
23 | 16000.,28000.,50000.,90000. |
---|
24 | }; |
---|
25 | |
---|
26 | static double _psy_lowpass_22[4]={9.5,11.,30.,99.}; |
---|
27 | |
---|
28 | ve_setup_data_template ve_setup_22_stereo={ |
---|
29 | 3, |
---|
30 | rate_mapping_22, |
---|
31 | quality_mapping_16, |
---|
32 | 2, |
---|
33 | 19000, |
---|
34 | 26000, |
---|
35 | |
---|
36 | blocksize_16_short, |
---|
37 | blocksize_16_long, |
---|
38 | |
---|
39 | _psy_tone_masteratt_16, |
---|
40 | _psy_tone_0dB, |
---|
41 | _psy_tone_suppress, |
---|
42 | |
---|
43 | _vp_tonemask_adj_16, |
---|
44 | _vp_tonemask_adj_16, |
---|
45 | _vp_tonemask_adj_16, |
---|
46 | |
---|
47 | _psy_noiseguards_16, |
---|
48 | _psy_noisebias_16_impulse, |
---|
49 | _psy_noisebias_16_short, |
---|
50 | _psy_noisebias_16_short, |
---|
51 | _psy_noisebias_16, |
---|
52 | _psy_noise_suppress, |
---|
53 | |
---|
54 | _psy_compand_8, |
---|
55 | _psy_compand_8_mapping, |
---|
56 | _psy_compand_8_mapping, |
---|
57 | |
---|
58 | {_noise_start_16,_noise_start_16}, |
---|
59 | { _noise_part_16, _noise_part_16}, |
---|
60 | _noise_thresh_16, |
---|
61 | |
---|
62 | _psy_ath_floater_16, |
---|
63 | _psy_ath_abs_16, |
---|
64 | |
---|
65 | _psy_lowpass_22, |
---|
66 | |
---|
67 | _psy_global_44, |
---|
68 | _global_mapping_16, |
---|
69 | _psy_stereo_modes_16, |
---|
70 | |
---|
71 | _floor_books, |
---|
72 | _floor, |
---|
73 | _floor_mapping_16_short, |
---|
74 | _floor_mapping_16, |
---|
75 | |
---|
76 | _mapres_template_16_stereo |
---|
77 | }; |
---|
78 | |
---|
79 | ve_setup_data_template ve_setup_22_uncoupled={ |
---|
80 | 3, |
---|
81 | rate_mapping_22_uncoupled, |
---|
82 | quality_mapping_16, |
---|
83 | -1, |
---|
84 | 19000, |
---|
85 | 26000, |
---|
86 | |
---|
87 | blocksize_16_short, |
---|
88 | blocksize_16_long, |
---|
89 | |
---|
90 | _psy_tone_masteratt_16, |
---|
91 | _psy_tone_0dB, |
---|
92 | _psy_tone_suppress, |
---|
93 | |
---|
94 | _vp_tonemask_adj_16, |
---|
95 | _vp_tonemask_adj_16, |
---|
96 | _vp_tonemask_adj_16, |
---|
97 | |
---|
98 | _psy_noiseguards_8, |
---|
99 | _psy_noisebias_16_impulse, |
---|
100 | _psy_noisebias_16_short, |
---|
101 | _psy_noisebias_16_short, |
---|
102 | _psy_noisebias_16, |
---|
103 | _psy_noise_suppress, |
---|
104 | |
---|
105 | _psy_compand_8, |
---|
106 | _psy_compand_8_mapping, |
---|
107 | _psy_compand_8_mapping, |
---|
108 | |
---|
109 | {_noise_start_16,_noise_start_16}, |
---|
110 | { _noise_part_16, _noise_part_16}, |
---|
111 | _noise_thresh_16, |
---|
112 | |
---|
113 | _psy_ath_floater_16, |
---|
114 | _psy_ath_abs_16, |
---|
115 | |
---|
116 | _psy_lowpass_22, |
---|
117 | |
---|
118 | _psy_global_44, |
---|
119 | _global_mapping_16, |
---|
120 | _psy_stereo_modes_16, |
---|
121 | |
---|
122 | _floor_books, |
---|
123 | _floor, |
---|
124 | _floor_mapping_16_short, |
---|
125 | _floor_mapping_16, |
---|
126 | |
---|
127 | _mapres_template_16_uncoupled |
---|
128 | }; |
---|