]> git.jsancho.org Git - lugaru.git/blob - libvorbis-1.0.1/lib/modes/setup_8.h
First shot at an OpenAL renderer. Sound effects work, no music.
[lugaru.git] / libvorbis-1.0.1 / lib / modes / setup_8.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: 8kHz settings 
14  last mod: $Id: setup_8.h,v 1.2 2002/07/11 06:41:05 xiphmont Exp $
15
16  ********************************************************************/
17
18 #include "psych_8.h"
19 #include "residue_8.h"
20
21 static int blocksize_8[2]={
22   512,512
23 };
24
25 static int _floor_mapping_8[2]={
26   1,1,
27 };
28
29 static double rate_mapping_8[3]={
30   6000.,9000.,32000.,
31 };
32
33 static double rate_mapping_8_uncoupled[3]={
34   8000.,14000.,42000.,
35 };
36
37 static double quality_mapping_8[3]={
38   -.1,.0,1.
39 };
40
41 static double _psy_compand_8_mapping[3]={ 0., 1., 1.};
42
43 static double _global_mapping_8[3]={ 1., 2., 3. };
44
45 ve_setup_data_template ve_setup_8_stereo={
46   2,
47   rate_mapping_8,
48   quality_mapping_8,
49   2,
50   8000,
51   9000,
52   
53   blocksize_8,
54   blocksize_8,
55
56   _psy_tone_masteratt_8,
57   _psy_tone_0dB,
58   _psy_tone_suppress,
59
60   _vp_tonemask_adj_8,
61   NULL,
62   _vp_tonemask_adj_8,
63
64   _psy_noiseguards_8,
65   _psy_noisebias_8,
66   _psy_noisebias_8,
67   NULL,
68   NULL,
69   _psy_noise_suppress,
70   
71   _psy_compand_8,
72   _psy_compand_8_mapping,
73   NULL,
74
75   {_noise_start_8,_noise_start_8},
76   {_noise_part_8,_noise_part_8},
77   _noise_thresh_44_2,
78
79   _psy_ath_floater_8,
80   _psy_ath_abs_8,
81   
82   _psy_lowpass_8,
83
84   _psy_global_44,
85   _global_mapping_8,
86   _psy_stereo_modes_8,
87
88   _floor_books,
89   _floor,
90   _floor_mapping_8,
91   NULL,
92
93   _mapres_template_8_stereo
94 };
95
96 ve_setup_data_template ve_setup_8_uncoupled={
97   2,
98   rate_mapping_8_uncoupled,
99   quality_mapping_8,
100   -1,
101   8000,
102   9000,
103   
104   blocksize_8,
105   blocksize_8,
106
107   _psy_tone_masteratt_8,
108   _psy_tone_0dB,
109   _psy_tone_suppress,
110
111   _vp_tonemask_adj_8,
112   NULL,
113   _vp_tonemask_adj_8,
114
115   _psy_noiseguards_8,
116   _psy_noisebias_8,
117   _psy_noisebias_8,
118   NULL,
119   NULL,
120   _psy_noise_suppress,
121   
122   _psy_compand_8,
123   _psy_compand_8_mapping,
124   NULL,
125
126   {_noise_start_8,_noise_start_8},
127   {_noise_part_8,_noise_part_8},
128   _noise_thresh_44_2,
129
130   _psy_ath_floater_8,
131   _psy_ath_abs_8,
132   
133   _psy_lowpass_8,
134
135   _psy_global_44,
136   _global_mapping_8,
137   _psy_stereo_modes_8,
138
139   _floor_books,
140   _floor,
141   _floor_mapping_8,
142   NULL,
143
144   _mapres_template_8_uncoupled
145 };
146