Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/libvorbis-1.2.0/lib/modes/setup_8.h @ 68

Last change on this file since 68 was 16, checked in by landauf, 17 years ago

added libvorbis

File size: 2.8 KB
Line 
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: 8kHz settings
14 last mod: $Id: setup_8.h 13293 2007-07-24 00:09:47Z xiphmont $
15
16 ********************************************************************/
17
18#include "psych_8.h"
19#include "residue_8.h"
20
21static int blocksize_8[2]={
22  512,512
23};
24
25static int _floor_mapping_8[2]={
26  6,6,
27};
28
29static double rate_mapping_8[3]={
30  6000.,9000.,32000.,
31};
32
33static double rate_mapping_8_uncoupled[3]={
34  8000.,14000.,42000.,
35};
36
37static double quality_mapping_8[3]={
38  -.1,.0,1.
39};
40
41static double _psy_compand_8_mapping[3]={ 0., 1., 1.};
42
43static double _global_mapping_8[3]={ 1., 2., 3. };
44
45ve_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_5only,
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
96ve_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_5only,
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
Note: See TracBrowser for help on using the repository browser.