Imported Upstream version 1.3.3
[platform/upstream/libvorbis.git] / lib / modes / setup_32.h
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: toplevel settings for 32kHz
14  last mod: $Id: setup_32.h 16894 2010-02-12 20:32:12Z xiphmont $
15
16  ********************************************************************/
17
18 static const double rate_mapping_32[12]={
19   18000.,28000.,35000.,45000.,56000.,60000.,
20   75000.,90000.,100000.,115000.,150000.,190000.,
21 };
22
23 static const double rate_mapping_32_un[12]={
24   30000.,42000.,52000.,64000.,72000.,78000.,
25   86000.,92000.,110000.,120000.,140000.,190000.,
26 };
27
28 static const double _psy_lowpass_32[12]={
29   12.3,13.,13.,14.,15.,99.,99.,99.,99.,99.,99.,99.
30 };
31
32 static const ve_setup_data_template ve_setup_32_stereo={
33   11,
34   rate_mapping_32,
35   quality_mapping_44,
36   2,
37   26000,
38   40000,
39
40   blocksize_short_44,
41   blocksize_long_44,
42
43   _psy_tone_masteratt_44,
44   _psy_tone_0dB,
45   _psy_tone_suppress,
46
47   _vp_tonemask_adj_otherblock,
48   _vp_tonemask_adj_longblock,
49   _vp_tonemask_adj_otherblock,
50
51   _psy_noiseguards_44,
52   _psy_noisebias_impulse,
53   _psy_noisebias_padding,
54   _psy_noisebias_trans,
55   _psy_noisebias_long,
56   _psy_noise_suppress,
57
58   _psy_compand_44,
59   _psy_compand_short_mapping,
60   _psy_compand_long_mapping,
61
62   {_noise_start_short_44,_noise_start_long_44},
63   {_noise_part_short_44,_noise_part_long_44},
64   _noise_thresh_44,
65
66   _psy_ath_floater,
67   _psy_ath_abs,
68
69   _psy_lowpass_32,
70
71   _psy_global_44,
72   _global_mapping_44,
73   _psy_stereo_modes_44,
74
75   _floor_books,
76   _floor,
77   2,
78   _floor_mapping_44,
79
80   _mapres_template_44_stereo
81 };
82
83 static const ve_setup_data_template ve_setup_32_uncoupled={
84   11,
85   rate_mapping_32_un,
86   quality_mapping_44,
87   -1,
88   26000,
89   40000,
90
91   blocksize_short_44,
92   blocksize_long_44,
93
94   _psy_tone_masteratt_44,
95   _psy_tone_0dB,
96   _psy_tone_suppress,
97
98   _vp_tonemask_adj_otherblock,
99   _vp_tonemask_adj_longblock,
100   _vp_tonemask_adj_otherblock,
101
102   _psy_noiseguards_44,
103   _psy_noisebias_impulse,
104   _psy_noisebias_padding,
105   _psy_noisebias_trans,
106   _psy_noisebias_long,
107   _psy_noise_suppress,
108
109   _psy_compand_44,
110   _psy_compand_short_mapping,
111   _psy_compand_long_mapping,
112
113   {_noise_start_short_44,_noise_start_long_44},
114   {_noise_part_short_44,_noise_part_long_44},
115   _noise_thresh_44,
116
117   _psy_ath_floater,
118   _psy_ath_abs,
119
120   _psy_lowpass_32,
121
122   _psy_global_44,
123   _global_mapping_44,
124   NULL,
125
126   _floor_books,
127   _floor,
128   2,
129   _floor_mapping_44,
130
131   _mapres_template_44_uncoupled
132 };