]> git.jsancho.org Git - lugaru.git/blob - libvorbis-1.0.1/lib/modes/setup_44u.h
First shot at an OpenAL renderer. Sound effects work, no music.
[lugaru.git] / libvorbis-1.0.1 / lib / modes / setup_44u.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-2002             *
9  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
10  *                                                                  *
11  ********************************************************************
12
13  function: toplevel settings for 44.1/48kHz uncoupled modes
14  last mod: $Id: setup_44u.h,v 1.3 2002/07/11 06:41:05 xiphmont Exp $
15
16  ********************************************************************/
17
18 #include "modes/residue_44u.h"
19
20 static double rate_mapping_44_un[11]={
21   48000.,60000.,70000.,80000.,86000.,
22   96000.,110000.,120000.,140000.,160000.,240001.
23 };
24
25 static double rate_mapping_44_un_low[2]={
26   32000.,48000.
27 };
28
29 ve_setup_data_template ve_setup_44_uncoupled={
30   10,
31   rate_mapping_44_un,
32   quality_mapping_44,
33   -1,
34   40000,
35   50000,
36   
37   blocksize_short_44,
38   blocksize_long_44,
39
40   _psy_tone_masteratt_44,
41   _psy_tone_0dB,
42   _psy_tone_suppress,
43
44   _vp_tonemask_adj_otherblock,
45   _vp_tonemask_adj_longblock,
46   _vp_tonemask_adj_otherblock,
47
48   _psy_noiseguards_44,
49   _psy_noisebias_impulse,
50   _psy_noisebias_padding,
51   _psy_noisebias_trans,
52   _psy_noisebias_long,
53   _psy_noise_suppress,
54   
55   _psy_compand_44,
56   _psy_compand_short_mapping,
57   _psy_compand_long_mapping,
58
59   {_noise_start_short_44,_noise_start_long_44},
60   {_noise_part_short_44,_noise_part_long_44},
61   _noise_thresh_44_2,
62
63   _psy_ath_floater,
64   _psy_ath_abs,
65   
66   _psy_lowpass_44,
67
68   _psy_global_44,
69   _global_mapping_44,
70   NULL,
71
72   _floor_books,
73   _floor,
74   _floor_short_mapping_44,
75   _floor_long_mapping_44,
76
77   _mapres_template_44_uncoupled
78 };
79
80 ve_setup_data_template ve_setup_44_uncoupled_low={
81   1,
82   rate_mapping_44_un_low,
83   quality_mapping_44_stereo_low,
84   -1,
85   40000,
86   50000,
87   
88   blocksize_short_44_low,
89   blocksize_long_44_low,
90
91   _psy_tone_masteratt_44_low,
92   _psy_tone_0dB,
93   _psy_tone_suppress,
94
95   _vp_tonemask_adj_otherblock,
96   _vp_tonemask_adj_longblock,
97   _vp_tonemask_adj_otherblock,
98
99   _psy_noiseguards_44,
100   _psy_noisebias_trans_low,
101   _psy_noisebias_trans_low,
102   _psy_noisebias_trans_low,
103   _psy_noisebias_long_low,
104   _psy_noise_suppress,
105   
106   _psy_compand_44,
107   _psy_compand_short_mapping,
108   _psy_compand_long_mapping,
109
110   {_noise_start_short_44_low,_noise_start_long_44_low},
111   {_noise_part_short_44,_noise_part_long_44},
112   _noise_thresh_44_2,
113
114   _psy_ath_floater,
115   _psy_ath_abs,
116   
117   _psy_lowpass_44_low,
118
119   _psy_global_44,
120   _global_mapping_44_low,
121   NULL,
122
123   _floor_books,
124   _floor,
125   _floor_short_mapping_44_low,
126   _floor_long_mapping_44_low,
127
128   _mapres_template_44_uncoupled
129 };