vrshoot
view libs/vorbis/modes/setup_11.h @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line source
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 ********************************************************************
13 function: 11kHz settings
14 last mod: $Id: setup_11.h 16894 2010-02-12 20:32:12Z xiphmont $
16 ********************************************************************/
18 #include "psych_11.h"
20 static const int blocksize_11[2]={
21 512,512
22 };
24 static const int _floor_mapping_11a[]={
25 6,6
26 };
27 static const int *_floor_mapping_11[]={
28 _floor_mapping_11a
29 };
31 static const double rate_mapping_11[3]={
32 8000.,13000.,44000.,
33 };
35 static const double rate_mapping_11_uncoupled[3]={
36 12000.,20000.,50000.,
37 };
39 static const double quality_mapping_11[3]={
40 -.1,.0,1.
41 };
43 static const ve_setup_data_template ve_setup_11_stereo={
44 2,
45 rate_mapping_11,
46 quality_mapping_11,
47 2,
48 9000,
49 15000,
51 blocksize_11,
52 blocksize_11,
54 _psy_tone_masteratt_11,
55 _psy_tone_0dB,
56 _psy_tone_suppress,
58 _vp_tonemask_adj_11,
59 NULL,
60 _vp_tonemask_adj_11,
62 _psy_noiseguards_8,
63 _psy_noisebias_11,
64 _psy_noisebias_11,
65 NULL,
66 NULL,
67 _psy_noise_suppress,
69 _psy_compand_8,
70 _psy_compand_8_mapping,
71 NULL,
73 {_noise_start_8,_noise_start_8},
74 {_noise_part_8,_noise_part_8},
75 _noise_thresh_11,
77 _psy_ath_floater_8,
78 _psy_ath_abs_8,
80 _psy_lowpass_11,
82 _psy_global_44,
83 _global_mapping_8,
84 _psy_stereo_modes_8,
86 _floor_books,
87 _floor,
88 1,
89 _floor_mapping_11,
91 _mapres_template_8_stereo
92 };
94 static const ve_setup_data_template ve_setup_11_uncoupled={
95 2,
96 rate_mapping_11_uncoupled,
97 quality_mapping_11,
98 -1,
99 9000,
100 15000,
102 blocksize_11,
103 blocksize_11,
105 _psy_tone_masteratt_11,
106 _psy_tone_0dB,
107 _psy_tone_suppress,
109 _vp_tonemask_adj_11,
110 NULL,
111 _vp_tonemask_adj_11,
113 _psy_noiseguards_8,
114 _psy_noisebias_11,
115 _psy_noisebias_11,
116 NULL,
117 NULL,
118 _psy_noise_suppress,
120 _psy_compand_8,
121 _psy_compand_8_mapping,
122 NULL,
124 {_noise_start_8,_noise_start_8},
125 {_noise_part_8,_noise_part_8},
126 _noise_thresh_11,
128 _psy_ath_floater_8,
129 _psy_ath_abs_8,
131 _psy_lowpass_11,
133 _psy_global_44,
134 _global_mapping_8,
135 _psy_stereo_modes_8,
137 _floor_books,
138 _floor,
139 1,
140 _floor_mapping_11,
142 _mapres_template_8_uncoupled
143 };