vrshoot
view libs/vorbis/modes/setup_22.h @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +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: 22kHz settings
14 last mod: $Id: setup_22.h 17026 2010-03-25 05:00:27Z xiphmont $
16 ********************************************************************/
18 static const double rate_mapping_22[4]={
19 15000.,20000.,44000.,86000.
20 };
22 static const double rate_mapping_22_uncoupled[4]={
23 16000.,28000.,50000.,90000.
24 };
26 static const double _psy_lowpass_22[4]={9.5,11.,30.,99.};
28 static const ve_setup_data_template ve_setup_22_stereo={
29 3,
30 rate_mapping_22,
31 quality_mapping_16,
32 2,
33 19000,
34 26000,
36 blocksize_16_short,
37 blocksize_16_long,
39 _psy_tone_masteratt_16,
40 _psy_tone_0dB,
41 _psy_tone_suppress,
43 _vp_tonemask_adj_16,
44 _vp_tonemask_adj_16,
45 _vp_tonemask_adj_16,
47 _psy_noiseguards_16,
48 _psy_noisebias_16_impulse,
49 _psy_noisebias_16_short,
50 _psy_noisebias_16_short,
51 _psy_noisebias_16,
52 _psy_noise_suppress,
54 _psy_compand_8,
55 _psy_compand_16_mapping,
56 _psy_compand_16_mapping,
58 {_noise_start_16,_noise_start_16},
59 { _noise_part_16, _noise_part_16},
60 _noise_thresh_16,
62 _psy_ath_floater_16,
63 _psy_ath_abs_16,
65 _psy_lowpass_22,
67 _psy_global_44,
68 _global_mapping_16,
69 _psy_stereo_modes_16,
71 _floor_books,
72 _floor,
73 2,
74 _floor_mapping_16,
76 _mapres_template_16_stereo
77 };
79 static const ve_setup_data_template ve_setup_22_uncoupled={
80 3,
81 rate_mapping_22_uncoupled,
82 quality_mapping_16,
83 -1,
84 19000,
85 26000,
87 blocksize_16_short,
88 blocksize_16_long,
90 _psy_tone_masteratt_16,
91 _psy_tone_0dB,
92 _psy_tone_suppress,
94 _vp_tonemask_adj_16,
95 _vp_tonemask_adj_16,
96 _vp_tonemask_adj_16,
98 _psy_noiseguards_16,
99 _psy_noisebias_16_impulse,
100 _psy_noisebias_16_short,
101 _psy_noisebias_16_short,
102 _psy_noisebias_16,
103 _psy_noise_suppress,
105 _psy_compand_8,
106 _psy_compand_16_mapping,
107 _psy_compand_16_mapping,
109 {_noise_start_16,_noise_start_16},
110 { _noise_part_16, _noise_part_16},
111 _noise_thresh_16,
113 _psy_ath_floater_16,
114 _psy_ath_abs_16,
116 _psy_lowpass_22,
118 _psy_global_44,
119 _global_mapping_16,
120 _psy_stereo_modes_16,
122 _floor_books,
123 _floor,
124 2,
125 _floor_mapping_16,
127 _mapres_template_16_uncoupled
128 };