media/libvorbis/lib/modes/setup_X.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 /********************************************************************
michael@0 2 * *
michael@0 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
michael@0 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
michael@0 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
michael@0 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
michael@0 7 * *
michael@0 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
michael@0 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
michael@0 10 * *
michael@0 11 ********************************************************************
michael@0 12
michael@0 13 function: catch-all toplevel settings for q modes only
michael@0 14 last mod: $Id: setup_X.h 16894 2010-02-12 20:32:12Z xiphmont $
michael@0 15
michael@0 16 ********************************************************************/
michael@0 17
michael@0 18 static const double rate_mapping_X[12]={
michael@0 19 -1.,-1.,-1.,-1.,-1.,-1.,
michael@0 20 -1.,-1.,-1.,-1.,-1.,-1.
michael@0 21 };
michael@0 22
michael@0 23 static const ve_setup_data_template ve_setup_X_stereo={
michael@0 24 11,
michael@0 25 rate_mapping_X,
michael@0 26 quality_mapping_44,
michael@0 27 2,
michael@0 28 50000,
michael@0 29 200000,
michael@0 30
michael@0 31 blocksize_short_44,
michael@0 32 blocksize_long_44,
michael@0 33
michael@0 34 _psy_tone_masteratt_44,
michael@0 35 _psy_tone_0dB,
michael@0 36 _psy_tone_suppress,
michael@0 37
michael@0 38 _vp_tonemask_adj_otherblock,
michael@0 39 _vp_tonemask_adj_longblock,
michael@0 40 _vp_tonemask_adj_otherblock,
michael@0 41
michael@0 42 _psy_noiseguards_44,
michael@0 43 _psy_noisebias_impulse,
michael@0 44 _psy_noisebias_padding,
michael@0 45 _psy_noisebias_trans,
michael@0 46 _psy_noisebias_long,
michael@0 47 _psy_noise_suppress,
michael@0 48
michael@0 49 _psy_compand_44,
michael@0 50 _psy_compand_short_mapping,
michael@0 51 _psy_compand_long_mapping,
michael@0 52
michael@0 53 {_noise_start_short_44,_noise_start_long_44},
michael@0 54 {_noise_part_short_44,_noise_part_long_44},
michael@0 55 _noise_thresh_44,
michael@0 56
michael@0 57 _psy_ath_floater,
michael@0 58 _psy_ath_abs,
michael@0 59
michael@0 60 _psy_lowpass_44,
michael@0 61
michael@0 62 _psy_global_44,
michael@0 63 _global_mapping_44,
michael@0 64 _psy_stereo_modes_44,
michael@0 65
michael@0 66 _floor_books,
michael@0 67 _floor,
michael@0 68 2,
michael@0 69 _floor_mapping_44,
michael@0 70
michael@0 71 _mapres_template_44_stereo
michael@0 72 };
michael@0 73
michael@0 74 static const ve_setup_data_template ve_setup_X_uncoupled={
michael@0 75 11,
michael@0 76 rate_mapping_X,
michael@0 77 quality_mapping_44,
michael@0 78 -1,
michael@0 79 50000,
michael@0 80 200000,
michael@0 81
michael@0 82 blocksize_short_44,
michael@0 83 blocksize_long_44,
michael@0 84
michael@0 85 _psy_tone_masteratt_44,
michael@0 86 _psy_tone_0dB,
michael@0 87 _psy_tone_suppress,
michael@0 88
michael@0 89 _vp_tonemask_adj_otherblock,
michael@0 90 _vp_tonemask_adj_longblock,
michael@0 91 _vp_tonemask_adj_otherblock,
michael@0 92
michael@0 93 _psy_noiseguards_44,
michael@0 94 _psy_noisebias_impulse,
michael@0 95 _psy_noisebias_padding,
michael@0 96 _psy_noisebias_trans,
michael@0 97 _psy_noisebias_long,
michael@0 98 _psy_noise_suppress,
michael@0 99
michael@0 100 _psy_compand_44,
michael@0 101 _psy_compand_short_mapping,
michael@0 102 _psy_compand_long_mapping,
michael@0 103
michael@0 104 {_noise_start_short_44,_noise_start_long_44},
michael@0 105 {_noise_part_short_44,_noise_part_long_44},
michael@0 106 _noise_thresh_44,
michael@0 107
michael@0 108 _psy_ath_floater,
michael@0 109 _psy_ath_abs,
michael@0 110
michael@0 111 _psy_lowpass_44,
michael@0 112
michael@0 113 _psy_global_44,
michael@0 114 _global_mapping_44,
michael@0 115 NULL,
michael@0 116
michael@0 117 _floor_books,
michael@0 118 _floor,
michael@0 119 2,
michael@0 120 _floor_mapping_44,
michael@0 121
michael@0 122 _mapres_template_44_uncoupled
michael@0 123 };
michael@0 124
michael@0 125 static const ve_setup_data_template ve_setup_XX_stereo={
michael@0 126 2,
michael@0 127 rate_mapping_X,
michael@0 128 quality_mapping_8,
michael@0 129 2,
michael@0 130 0,
michael@0 131 8000,
michael@0 132
michael@0 133 blocksize_8,
michael@0 134 blocksize_8,
michael@0 135
michael@0 136 _psy_tone_masteratt_8,
michael@0 137 _psy_tone_0dB,
michael@0 138 _psy_tone_suppress,
michael@0 139
michael@0 140 _vp_tonemask_adj_8,
michael@0 141 NULL,
michael@0 142 _vp_tonemask_adj_8,
michael@0 143
michael@0 144 _psy_noiseguards_8,
michael@0 145 _psy_noisebias_8,
michael@0 146 _psy_noisebias_8,
michael@0 147 NULL,
michael@0 148 NULL,
michael@0 149 _psy_noise_suppress,
michael@0 150
michael@0 151 _psy_compand_8,
michael@0 152 _psy_compand_8_mapping,
michael@0 153 NULL,
michael@0 154
michael@0 155 {_noise_start_8,_noise_start_8},
michael@0 156 {_noise_part_8,_noise_part_8},
michael@0 157 _noise_thresh_5only,
michael@0 158
michael@0 159 _psy_ath_floater_8,
michael@0 160 _psy_ath_abs_8,
michael@0 161
michael@0 162 _psy_lowpass_8,
michael@0 163
michael@0 164 _psy_global_44,
michael@0 165 _global_mapping_8,
michael@0 166 _psy_stereo_modes_8,
michael@0 167
michael@0 168 _floor_books,
michael@0 169 _floor,
michael@0 170 1,
michael@0 171 _floor_mapping_8,
michael@0 172
michael@0 173 _mapres_template_8_stereo
michael@0 174 };
michael@0 175
michael@0 176 static const ve_setup_data_template ve_setup_XX_uncoupled={
michael@0 177 2,
michael@0 178 rate_mapping_X,
michael@0 179 quality_mapping_8,
michael@0 180 -1,
michael@0 181 0,
michael@0 182 8000,
michael@0 183
michael@0 184 blocksize_8,
michael@0 185 blocksize_8,
michael@0 186
michael@0 187 _psy_tone_masteratt_8,
michael@0 188 _psy_tone_0dB,
michael@0 189 _psy_tone_suppress,
michael@0 190
michael@0 191 _vp_tonemask_adj_8,
michael@0 192 NULL,
michael@0 193 _vp_tonemask_adj_8,
michael@0 194
michael@0 195 _psy_noiseguards_8,
michael@0 196 _psy_noisebias_8,
michael@0 197 _psy_noisebias_8,
michael@0 198 NULL,
michael@0 199 NULL,
michael@0 200 _psy_noise_suppress,
michael@0 201
michael@0 202 _psy_compand_8,
michael@0 203 _psy_compand_8_mapping,
michael@0 204 NULL,
michael@0 205
michael@0 206 {_noise_start_8,_noise_start_8},
michael@0 207 {_noise_part_8,_noise_part_8},
michael@0 208 _noise_thresh_5only,
michael@0 209
michael@0 210 _psy_ath_floater_8,
michael@0 211 _psy_ath_abs_8,
michael@0 212
michael@0 213 _psy_lowpass_8,
michael@0 214
michael@0 215 _psy_global_44,
michael@0 216 _global_mapping_8,
michael@0 217 _psy_stereo_modes_8,
michael@0 218
michael@0 219 _floor_books,
michael@0 220 _floor,
michael@0 221 1,
michael@0 222 _floor_mapping_8,
michael@0 223
michael@0 224 _mapres_template_8_uncoupled
michael@0 225 };

mercurial