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