vrshoot

annotate libs/vorbis/modes/psych_44.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
rev   line source
nuclear@0 1 /********************************************************************
nuclear@0 2 * *
nuclear@0 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
nuclear@0 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
nuclear@0 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
nuclear@0 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
nuclear@0 7 * *
nuclear@0 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
nuclear@0 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
nuclear@0 10 * *
nuclear@0 11 ********************************************************************
nuclear@0 12
nuclear@0 13 function: key psychoacoustic settings for 44.1/48kHz
nuclear@0 14 last mod: $Id: psych_44.h 16962 2010-03-11 07:30:34Z xiphmont $
nuclear@0 15
nuclear@0 16 ********************************************************************/
nuclear@0 17
nuclear@0 18
nuclear@0 19 /* preecho trigger settings *****************************************/
nuclear@0 20
nuclear@0 21 static const vorbis_info_psy_global _psy_global_44[5]={
nuclear@0 22
nuclear@0 23 {8, /* lines per eighth octave */
nuclear@0 24 {20.f,14.f,12.f,12.f,12.f,12.f,12.f},
nuclear@0 25 {-60.f,-30.f,-40.f,-40.f,-40.f,-40.f,-40.f}, 2,-75.f,
nuclear@0 26 -6.f,
nuclear@0 27 {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
nuclear@0 28 },
nuclear@0 29 {8, /* lines per eighth octave */
nuclear@0 30 {14.f,10.f,10.f,10.f,10.f,10.f,10.f},
nuclear@0 31 {-40.f,-30.f,-25.f,-25.f,-25.f,-25.f,-25.f}, 2,-80.f,
nuclear@0 32 -6.f,
nuclear@0 33 {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
nuclear@0 34 },
nuclear@0 35 {8, /* lines per eighth octave */
nuclear@0 36 {12.f,10.f,10.f,10.f,10.f,10.f,10.f},
nuclear@0 37 {-20.f,-20.f,-15.f,-15.f,-15.f,-15.f,-15.f}, 0,-80.f,
nuclear@0 38 -6.f,
nuclear@0 39 {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
nuclear@0 40 },
nuclear@0 41 {8, /* lines per eighth octave */
nuclear@0 42 {10.f,8.f,8.f,8.f,8.f,8.f,8.f},
nuclear@0 43 {-20.f,-15.f,-12.f,-12.f,-12.f,-12.f,-12.f}, 0,-80.f,
nuclear@0 44 -6.f,
nuclear@0 45 {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
nuclear@0 46 },
nuclear@0 47 {8, /* lines per eighth octave */
nuclear@0 48 {10.f,6.f,6.f,6.f,6.f,6.f,6.f},
nuclear@0 49 {-15.f,-15.f,-12.f,-12.f,-12.f,-12.f,-12.f}, 0,-85.f,
nuclear@0 50 -6.f,
nuclear@0 51 {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
nuclear@0 52 },
nuclear@0 53 };
nuclear@0 54
nuclear@0 55 /* noise compander lookups * low, mid, high quality ****************/
nuclear@0 56 static const compandblock _psy_compand_44[6]={
nuclear@0 57 /* sub-mode Z short */
nuclear@0 58 {{
nuclear@0 59 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
nuclear@0 60 8, 9,10,11,12,13,14, 15, /* 15dB */
nuclear@0 61 16,17,18,19,20,21,22, 23, /* 23dB */
nuclear@0 62 24,25,26,27,28,29,30, 31, /* 31dB */
nuclear@0 63 32,33,34,35,36,37,38, 39, /* 39dB */
nuclear@0 64 }},
nuclear@0 65 /* mode_Z nominal short */
nuclear@0 66 {{
nuclear@0 67 0, 1, 2, 3, 4, 5, 6, 6, /* 7dB */
nuclear@0 68 7, 7, 7, 7, 6, 6, 6, 7, /* 15dB */
nuclear@0 69 7, 8, 9,10,11,12,13, 14, /* 23dB */
nuclear@0 70 15,16,17,17,17,18,18, 19, /* 31dB */
nuclear@0 71 19,19,20,21,22,23,24, 25, /* 39dB */
nuclear@0 72 }},
nuclear@0 73 /* mode A short */
nuclear@0 74 {{
nuclear@0 75 0, 1, 2, 3, 4, 5, 5, 5, /* 7dB */
nuclear@0 76 6, 6, 6, 5, 4, 4, 4, 4, /* 15dB */
nuclear@0 77 4, 4, 5, 5, 5, 6, 6, 6, /* 23dB */
nuclear@0 78 7, 7, 7, 8, 8, 8, 9, 10, /* 31dB */
nuclear@0 79 11,12,13,14,15,16,17, 18, /* 39dB */
nuclear@0 80 }},
nuclear@0 81 /* sub-mode Z long */
nuclear@0 82 {{
nuclear@0 83 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
nuclear@0 84 8, 9,10,11,12,13,14, 15, /* 15dB */
nuclear@0 85 16,17,18,19,20,21,22, 23, /* 23dB */
nuclear@0 86 24,25,26,27,28,29,30, 31, /* 31dB */
nuclear@0 87 32,33,34,35,36,37,38, 39, /* 39dB */
nuclear@0 88 }},
nuclear@0 89 /* mode_Z nominal long */
nuclear@0 90 {{
nuclear@0 91 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
nuclear@0 92 8, 9,10,11,12,12,13, 13, /* 15dB */
nuclear@0 93 13,14,14,14,15,15,15, 15, /* 23dB */
nuclear@0 94 16,16,17,17,17,18,18, 19, /* 31dB */
nuclear@0 95 19,19,20,21,22,23,24, 25, /* 39dB */
nuclear@0 96 }},
nuclear@0 97 /* mode A long */
nuclear@0 98 {{
nuclear@0 99 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
nuclear@0 100 8, 8, 7, 6, 5, 4, 4, 4, /* 15dB */
nuclear@0 101 4, 4, 5, 5, 5, 6, 6, 6, /* 23dB */
nuclear@0 102 7, 7, 7, 8, 8, 8, 9, 10, /* 31dB */
nuclear@0 103 11,12,13,14,15,16,17, 18, /* 39dB */
nuclear@0 104 }}
nuclear@0 105 };
nuclear@0 106
nuclear@0 107 /* tonal masking curve level adjustments *************************/
nuclear@0 108
nuclear@0 109 static const vp_adjblock _vp_tonemask_adj_longblock[12]={
nuclear@0 110
nuclear@0 111 /* 63 125 250 500 1 2 4 8 16 */
nuclear@0 112
nuclear@0 113 {{ -3, -8,-13,-15,-10,-10,-10,-10,-10,-10,-10, 0, 0, 0, 0, 0, 0}}, /* -1 */
nuclear@0 114
nuclear@0 115 /* {{-15,-15,-15,-15,-10, -8, -4, -2, 0, 0, 0, 10, 0, 0, 0, 0, 0}}, 0 */
nuclear@0 116 {{ -4,-10,-14,-16,-15,-14,-13,-12,-12,-12,-11, -1, -1, -1, -1, -1, 0}}, /* 0 */
nuclear@0 117
nuclear@0 118 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 5, 0, 0, 0, 0, 0}}, 1 */
nuclear@0 119 {{ -6,-12,-14,-16,-15,-15,-14,-13,-13,-12,-12, -2, -2, -1, -1, -1, 0}}, /* 1 */
nuclear@0 120
nuclear@0 121 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 2 */
nuclear@0 122 {{-12,-13,-14,-16,-16,-16,-15,-14,-13,-12,-12, -6, -3, -1, -1, -1, 0}}, /* 2 */
nuclear@0 123
nuclear@0 124 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 3 */
nuclear@0 125 {{-15,-15,-15,-16,-16,-16,-16,-14,-13,-13,-13,-10, -4, -2, -1, -1, 0}}, /* 3 */
nuclear@0 126
nuclear@0 127 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, *//* 4 */
nuclear@0 128 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-13,-11, -7 -3, -1, -1 , 0}}, /* 4 */
nuclear@0 129
nuclear@0 130 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 5 */
nuclear@0 131 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-13,-11, -7 -3, -1, -1 , 0}}, /* 5 */
nuclear@0 132
nuclear@0 133 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 6 */
nuclear@0 134 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -8, -4, -2, -2, 0}}, /* 6 */
nuclear@0 135
nuclear@0 136 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 7 */
nuclear@0 137 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 7 */
nuclear@0 138
nuclear@0 139 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 8 */
nuclear@0 140 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 8 */
nuclear@0 141
nuclear@0 142 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 9 */
nuclear@0 143 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 9 */
nuclear@0 144
nuclear@0 145 /* {{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, 10 */
nuclear@0 146 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 10 */
nuclear@0 147 };
nuclear@0 148
nuclear@0 149 static const vp_adjblock _vp_tonemask_adj_otherblock[12]={
nuclear@0 150 /* 63 125 250 500 1 2 4 8 16 */
nuclear@0 151
nuclear@0 152 {{ -3, -8,-13,-15,-10,-10, -9, -9, -9, -9, -9, 1, 1, 1, 1, 1, 1}}, /* -1 */
nuclear@0 153
nuclear@0 154 /* {{-20,-20,-20,-20,-14,-12,-10, -8, -4, 0, 0, 10, 0, 0, 0, 0, 0}}, 0 */
nuclear@0 155 {{ -4,-10,-14,-16,-14,-13,-12,-12,-11,-11,-10, 0, 0, 0, 0, 0, 0}}, /* 0 */
nuclear@0 156
nuclear@0 157 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 5, 0, 0, 0, 0, 0}}, 1 */
nuclear@0 158 {{ -6,-12,-14,-16,-15,-15,-14,-13,-13,-12,-12, -2, -2, -1, 0, 0, 0}}, /* 1 */
nuclear@0 159
nuclear@0 160 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 2 */
nuclear@0 161 {{-12,-13,-14,-16,-16,-16,-15,-14,-13,-12,-12, -5, -2, -1, 0, 0, 0}}, /* 2 */
nuclear@0 162
nuclear@0 163 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 3 */
nuclear@0 164 {{-15,-15,-15,-16,-16,-16,-16,-14,-13,-13,-13,-10, -4, -2, 0, 0, 0}}, /* 3 */
nuclear@0 165
nuclear@0 166 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 4 */
nuclear@0 167 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-13,-11, -7 -3, -1, -1 , 0}}, /* 4 */
nuclear@0 168
nuclear@0 169 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 5 */
nuclear@0 170 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-13,-11, -7 -3, -1, -1 , 0}}, /* 5 */
nuclear@0 171
nuclear@0 172 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 6 */
nuclear@0 173 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -8, -4, -2, -2, 0}}, /* 6 */
nuclear@0 174
nuclear@0 175 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 7 */
nuclear@0 176 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 7 */
nuclear@0 177
nuclear@0 178 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 8 */
nuclear@0 179 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 8 */
nuclear@0 180
nuclear@0 181 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 9 */
nuclear@0 182 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 9 */
nuclear@0 183
nuclear@0 184 /* {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, 10 */
nuclear@0 185 {{-16,-16,-16,-16,-16,-16,-16,-15,-14,-14,-14,-12, -9, -4, -2, -2, 0}}, /* 10 */
nuclear@0 186 };
nuclear@0 187
nuclear@0 188 /* noise bias (transition block) */
nuclear@0 189 static const noise3 _psy_noisebias_trans[12]={
nuclear@0 190 /* 63 125 250 500 1k 2k 4k 8k 16k*/
nuclear@0 191 /* -1 */
nuclear@0 192 {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 8, 8, 8, 8, 10, 12, 14, 20},
nuclear@0 193 {-30,-30,-30,-30,-26,-20,-16, -8, -6, -6, -2, 2, 2, 3, 6, 6, 15},
nuclear@0 194 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},
nuclear@0 195 /* 0
nuclear@0 196 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 197 {-30,-30,-30,-30,-26,-22,-20,-14, -8, -4, 0, 0, 0, 0, 2, 4, 10},
nuclear@0 198 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -6, -4, -4, -4, -2}}},*/
nuclear@0 199 {{{-15,-15,-15,-15,-15,-12, -6, -4, 0, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 200 {-30,-30,-30,-30,-26,-22,-20,-14, -8, -4, 0, 0, 0, 0, 2, 3, 6},
nuclear@0 201 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -6, -4, -4, -4, -2}}},
nuclear@0 202 /* 1
nuclear@0 203 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 204 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 8},
nuclear@0 205 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -6, -6, -6, -4}}},*/
nuclear@0 206 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 207 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, -2, -2, -2, 0, 1, 4},
nuclear@0 208 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -6, -6, -6, -4}}},
nuclear@0 209 /* 2
nuclear@0 210 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 2, 2, 4, 4, 5, 6, 10},
nuclear@0 211 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 6},
nuclear@0 212 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}}, */
nuclear@0 213 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 2, 2, 4, 4, 5, 6, 10},
nuclear@0 214 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -2, -1, 0, 3},
nuclear@0 215 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -7, -4}}},
nuclear@0 216 /* 3
nuclear@0 217 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 2, 2, 4, 4, 4, 5, 8},
nuclear@0 218 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 6},
nuclear@0 219 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},*/
nuclear@0 220 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 2, 2, 4, 4, 4, 5, 8},
nuclear@0 221 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -3, -2, 0, 2},
nuclear@0 222 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
nuclear@0 223 /* 4
nuclear@0 224 {{{-20,-20,-20,-20,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 225 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 5},
nuclear@0 226 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},*/
nuclear@0 227 {{{-20,-20,-20,-20,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 228 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -3, -2, -1, 1},
nuclear@0 229 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
nuclear@0 230 /* 5
nuclear@0 231 {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 232 {-32,-32,-32,-32,-28,-24,-22,-16,-12, -6, -4, -4, -4, -4, -2, -1, 2},
nuclear@0 233 {-34,-34,-34,-34,-30,-24,-24,-18,-14,-12,-12,-12,-12,-10,-10, -9, -5}}}, */
nuclear@0 234 {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 235 {-32,-32,-32,-32,-28,-24,-22,-16,-12, -6, -4, -4, -4, -4, -3, -1, 0},
nuclear@0 236 {-34,-34,-34,-34,-30,-24,-24,-18,-14,-12,-12,-12,-12,-10,-10, -9, -5}}},
nuclear@0 237 /* 6
nuclear@0 238 {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 239 {-32,-32,-32,-32,-28,-24,-24,-18,-14, -8, -6, -6, -6, -6, -4, -2, 1},
nuclear@0 240 {-34,-34,-34,-34,-30,-26,-24,-18,-17,-15,-15,-15,-15,-13,-13,-12, -8}}},*/
nuclear@0 241 {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 242 {-32,-32,-32,-32,-28,-24,-24,-18,-14, -8, -6, -6, -6, -6, -5, -2, 0},
nuclear@0 243 {-34,-34,-34,-34,-30,-26,-26,-24,-22,-19,-19,-19,-19,-18,-17,-16,-12}}},
nuclear@0 244 /* 7
nuclear@0 245 {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 246 {-32,-32,-32,-32,-28,-24,-24,-18,-14,-12,-10, -8, -8, -8, -6, -4, 0},
nuclear@0 247 {-34,-34,-34,-34,-30,-26,-26,-24,-22,-19,-19,-19,-19,-18,-17,-16,-12}}},*/
nuclear@0 248 {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 249 {-32,-32,-32,-32,-28,-24,-24,-24,-18,-14,-12,-10,-10,-10, -8, -6, -2},
nuclear@0 250 {-34,-34,-34,-34,-30,-26,-26,-26,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},
nuclear@0 251 /* 8
nuclear@0 252 {{{-24,-24,-24,-24,-22,-20,-15,-10, -8, -2, 0, 0, 0, 1, 2, 3, 7},
nuclear@0 253 {-36,-36,-36,-36,-30,-30,-30,-24,-18,-14,-12,-10,-10,-10, -8, -6, -2},
nuclear@0 254 {-36,-36,-36,-36,-34,-30,-28,-26,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},*/
nuclear@0 255 {{{-24,-24,-24,-24,-22,-20,-15,-10, -8, -2, 0, 0, 0, 1, 2, 3, 7},
nuclear@0 256 {-36,-36,-36,-36,-30,-30,-30,-24,-20,-16,-16,-16,-16,-14,-12,-10, -7},
nuclear@0 257 {-36,-36,-36,-36,-34,-30,-28,-26,-24,-30,-30,-30,-30,-30,-30,-24,-20}}},
nuclear@0 258 /* 9
nuclear@0 259 {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -4, -4, -4, -4, -4, -2, 2},
nuclear@0 260 {-36,-36,-36,-36,-34,-32,-32,-28,-20,-16,-16,-16,-16,-14,-12,-10, -7},
nuclear@0 261 {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},*/
nuclear@0 262 {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -4, -4, -4, -4, -4, -2, 2},
nuclear@0 263 {-38,-38,-38,-38,-36,-34,-34,-30,-24,-20,-20,-20,-20,-18,-16,-12,-10},
nuclear@0 264 {-40,-40,-40,-40,-40,-40,-40,-38,-35,-35,-35,-35,-35,-35,-35,-35,-30}}},
nuclear@0 265 /* 10 */
nuclear@0 266 {{{-30,-30,-30,-30,-30,-30,-30,-28,-20,-14,-14,-14,-14,-14,-14,-12,-10},
nuclear@0 267 {-40,-40,-40,-40,-40,-40,-40,-40,-35,-30,-30,-30,-30,-30,-30,-30,-20},
nuclear@0 268 {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
nuclear@0 269 };
nuclear@0 270
nuclear@0 271 /* noise bias (long block) */
nuclear@0 272 static const noise3 _psy_noisebias_long[12]={
nuclear@0 273 /*63 125 250 500 1k 2k 4k 8k 16k*/
nuclear@0 274 /* -1 */
nuclear@0 275 {{{-10,-10,-10,-10,-10, -4, 0, 0, 0, 6, 6, 6, 6, 10, 10, 12, 20},
nuclear@0 276 {-20,-20,-20,-20,-20,-20,-10, -2, 0, 0, 0, 0, 0, 2, 4, 6, 15},
nuclear@0 277 {-20,-20,-20,-20,-20,-20,-20,-10, -6, -6, -6, -6, -6, -4, -4, -4, -2}}},
nuclear@0 278
nuclear@0 279 /* 0 */
nuclear@0 280 /* {{{-10,-10,-10,-10,-10,-10, -8, 2, 2, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 281 {-20,-20,-20,-20,-20,-20,-20,-14, -6, 0, 0, 0, 0, 0, 2, 4, 10},
nuclear@0 282 {-20,-20,-20,-20,-20,-20,-20,-14, -8, -6, -6, -6, -6, -4, -4, -4, -2}}},*/
nuclear@0 283 {{{-10,-10,-10,-10,-10,-10, -8, 2, 2, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 284 {-20,-20,-20,-20,-20,-20,-20,-14, -6, 0, 0, 0, 0, 0, 2, 3, 6},
nuclear@0 285 {-20,-20,-20,-20,-20,-20,-20,-14, -8, -6, -6, -6, -6, -4, -4, -4, -2}}},
nuclear@0 286 /* 1 */
nuclear@0 287 /* {{{-10,-10,-10,-10,-10,-10, -8, -4, 0, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 288 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 8},
nuclear@0 289 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -8, -8, -8, -8, -6, -6, -6, -4}}},*/
nuclear@0 290 {{{-10,-10,-10,-10,-10,-10, -8, -4, 0, 2, 4, 4, 5, 5, 5, 8, 10},
nuclear@0 291 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -2, -2, -2, -2, 0, 1, 4},
nuclear@0 292 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -8, -8, -8, -8, -6, -6, -6, -4}}},
nuclear@0 293 /* 2 */
nuclear@0 294 /* {{{-10,-10,-10,-10,-10,-10,-10, -8, 0, 2, 2, 2, 4, 4, 5, 6, 10},
nuclear@0 295 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 6},
nuclear@0 296 {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},*/
nuclear@0 297 {{{-10,-10,-10,-10,-10,-10,-10, -8, 0, 2, 2, 2, 4, 4, 5, 6, 10},
nuclear@0 298 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -2, -1, 0, 3},
nuclear@0 299 {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
nuclear@0 300 /* 3 */
nuclear@0 301 /* {{{-10,-10,-10,-10,-10,-10,-10, -8, 0, 2, 2, 2, 4, 4, 4, 5, 8},
nuclear@0 302 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 6},
nuclear@0 303 {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},*/
nuclear@0 304 {{{-10,-10,-10,-10,-10,-10,-10, -8, 0, 2, 2, 2, 4, 4, 4, 5, 8},
nuclear@0 305 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -3, -2, 0, 2},
nuclear@0 306 {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -5}}},
nuclear@0 307 /* 4 */
nuclear@0 308 /* {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 309 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 5},
nuclear@0 310 {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},*/
nuclear@0 311 {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 312 {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -3, -2, -1, 1},
nuclear@0 313 {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -7}}},
nuclear@0 314 /* 5 */
nuclear@0 315 /* {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 316 {-22,-22,-22,-22,-22,-22,-22,-16,-12, -6, -4, -4, -4, -4, -2, -1, 2},
nuclear@0 317 {-24,-24,-24,-24,-24,-24,-24,-18,-14,-12,-12,-12,-12,-10,-10, -9, -5}}},*/
nuclear@0 318 {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 319 {-22,-22,-22,-22,-22,-22,-22,-16,-12, -6, -4, -4, -4, -4, -3, -1, 0},
nuclear@0 320 {-24,-24,-24,-24,-24,-24,-24,-18,-14,-12,-12,-12,-12,-10,-10, -9, -8}}},
nuclear@0 321 /* 6 */
nuclear@0 322 /* {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 323 {-24,-24,-24,-24,-24,-24,-24,-18,-14, -8, -6, -6, -6, -6, -4, -2, 1},
nuclear@0 324 {-26,-26,-26,-26,-26,-26,-26,-18,-16,-15,-15,-15,-15,-13,-13,-12, -8}}},*/
nuclear@0 325 {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 326 {-24,-24,-24,-24,-24,-24,-24,-18,-14, -8, -6, -6, -6, -6, -5, -2, 0},
nuclear@0 327 {-26,-26,-26,-26,-26,-26,-26,-18,-16,-15,-15,-15,-15,-13,-13,-12,-10}}},
nuclear@0 328 /* 7 */
nuclear@0 329 {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
nuclear@0 330 {-24,-24,-24,-24,-24,-24,-24,-18,-14,-10, -8, -8, -8, -8, -6, -4, 0},
nuclear@0 331 {-26,-26,-26,-26,-26,-26,-26,-22,-20,-19,-19,-19,-19,-18,-17,-16,-12}}},
nuclear@0 332 /* 8 */
nuclear@0 333 {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 0, 0, 0, 0, 1, 2, 3, 7},
nuclear@0 334 {-26,-26,-26,-26,-26,-26,-26,-20,-16,-12,-10,-10,-10,-10, -8, -6, -2},
nuclear@0 335 {-28,-28,-28,-28,-28,-28,-28,-26,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},
nuclear@0 336 /* 9 */
nuclear@0 337 {{{-22,-22,-22,-22,-22,-22,-22,-18,-14, -8, -4, -4, -4, -4, -4, -2, 2},
nuclear@0 338 {-26,-26,-26,-26,-26,-26,-26,-22,-18,-16,-16,-16,-16,-14,-12,-10, -7},
nuclear@0 339 {-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},
nuclear@0 340 /* 10 */
nuclear@0 341 {{{-24,-24,-24,-24,-24,-24,-24,-24,-24,-18,-14,-14,-14,-14,-14,-12,-10},
nuclear@0 342 {-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-20},
nuclear@0 343 {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
nuclear@0 344 };
nuclear@0 345
nuclear@0 346 /* noise bias (impulse block) */
nuclear@0 347 static const noise3 _psy_noisebias_impulse[12]={
nuclear@0 348 /* 63 125 250 500 1k 2k 4k 8k 16k*/
nuclear@0 349 /* -1 */
nuclear@0 350 {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 8, 8, 8, 8, 10, 12, 14, 20},
nuclear@0 351 {-30,-30,-30,-30,-26,-20,-16, -8, -6, -6, -2, 2, 2, 3, 6, 6, 15},
nuclear@0 352 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},
nuclear@0 353
nuclear@0 354 /* 0 */
nuclear@0 355 /* {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 4, 8, 8, 8, 10, 12, 14, 20},
nuclear@0 356 {-30,-30,-30,-30,-26,-22,-20,-14, -6, -2, 0, 0, 0, 0, 2, 4, 10},
nuclear@0 357 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},*/
nuclear@0 358 {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 4, 8, 8, 8, 10, 12, 14, 20},
nuclear@0 359 {-30,-30,-30,-30,-26,-22,-20,-14, -6, -2, 0, 0, 0, 0, 2, 3, 6},
nuclear@0 360 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},
nuclear@0 361 /* 1 */
nuclear@0 362 {{{-12,-12,-12,-12,-12, -8, -6, -4, 0, 4, 4, 4, 4, 10, 12, 14, 20},
nuclear@0 363 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -4, -4, -2, -2, -2, -2, 2},
nuclear@0 364 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8,-10,-10, -8, -8, -8, -6, -4}}},
nuclear@0 365 /* 2 */
nuclear@0 366 {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 8, 10, 10, 16},
nuclear@0 367 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -4, -4, -4, -2, 0},
nuclear@0 368 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10,-10,-10, -8, -4}}},
nuclear@0 369 /* 3 */
nuclear@0 370 {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 6, 8, 8, 14},
nuclear@0 371 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -4, -4, -4, -2, 0},
nuclear@0 372 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10,-10,-10, -8, -4}}},
nuclear@0 373 /* 4 */
nuclear@0 374 {{{-16,-16,-16,-16,-16,-12,-10, -6, -2, 0, 0, 0, 0, 4, 6, 6, 12},
nuclear@0 375 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -4, -4, -4, -2, 0},
nuclear@0 376 {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10,-10,-10, -8, -4}}},
nuclear@0 377 /* 5 */
nuclear@0 378 {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 4, 6, 11},
nuclear@0 379 {-32,-32,-32,-32,-28,-24,-22,-16,-10, -6, -8, -8, -6, -6, -6, -4, -2},
nuclear@0 380 {-34,-34,-34,-34,-30,-26,-24,-18,-14,-12,-12,-12,-12,-12,-10, -9, -5}}},
nuclear@0 381 /* 6
nuclear@0 382 {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 4, 6, 11},
nuclear@0 383 {-34,-34,-34,-34,-30,-30,-24,-20,-12,-12,-14,-14,-10, -9, -8, -6, -4},
nuclear@0 384 {-34,-34,-34,-34,-34,-30,-26,-20,-16,-15,-15,-15,-15,-15,-13,-12, -8}}},*/
nuclear@0 385 {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 4, 6, 11},
nuclear@0 386 {-34,-34,-34,-34,-30,-30,-30,-24,-16,-16,-16,-16,-16,-16,-14,-14,-12},
nuclear@0 387 {-36,-36,-36,-36,-36,-34,-28,-24,-20,-20,-20,-20,-20,-20,-20,-18,-16}}},
nuclear@0 388 /* 7 */
nuclear@0 389 /* {{{-22,-22,-22,-22,-22,-20,-14,-10, -6, 0, 0, 0, 0, 4, 4, 6, 11},
nuclear@0 390 {-34,-34,-34,-34,-30,-30,-24,-20,-14,-14,-16,-16,-14,-12,-10,-10,-10},
nuclear@0 391 {-34,-34,-34,-34,-32,-32,-30,-24,-20,-19,-19,-19,-19,-19,-17,-16,-12}}},*/
nuclear@0 392 {{{-22,-22,-22,-22,-22,-20,-14,-10, -6, 0, 0, 0, 0, 4, 4, 6, 11},
nuclear@0 393 {-34,-34,-34,-34,-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-24,-22},
nuclear@0 394 {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-30,-24}}},
nuclear@0 395 /* 8 */
nuclear@0 396 /* {{{-24,-24,-24,-24,-24,-22,-14,-10, -6, -1, -1, -1, -1, 3, 3, 5, 10},
nuclear@0 397 {-34,-34,-34,-34,-30,-30,-30,-24,-20,-20,-20,-20,-20,-18,-16,-16,-14},
nuclear@0 398 {-36,-36,-36,-36,-36,-34,-28,-24,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},*/
nuclear@0 399 {{{-24,-24,-24,-24,-24,-22,-14,-10, -6, -1, -1, -1, -1, 3, 3, 5, 10},
nuclear@0 400 {-34,-34,-34,-34,-34,-32,-32,-30,-26,-26,-26,-26,-26,-26,-26,-26,-24},
nuclear@0 401 {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-30,-24}}},
nuclear@0 402 /* 9 */
nuclear@0 403 /* {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -4, -4, -4, -4, -4, -2, 2},
nuclear@0 404 {-36,-36,-36,-36,-34,-32,-32,-30,-26,-26,-26,-26,-26,-22,-20,-20,-18},
nuclear@0 405 {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},*/
nuclear@0 406 {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -4, -4, -4, -4, -4, -2, 2},
nuclear@0 407 {-36,-36,-36,-36,-34,-32,-32,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26},
nuclear@0 408 {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},
nuclear@0 409 /* 10 */
nuclear@0 410 {{{-30,-30,-30,-30,-30,-26,-24,-24,-24,-20,-16,-16,-16,-16,-16,-14,-12},
nuclear@0 411 {-40,-40,-40,-40,-40,-40,-40,-40,-35,-30,-30,-30,-30,-30,-30,-30,-26},
nuclear@0 412 {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
nuclear@0 413 };
nuclear@0 414
nuclear@0 415 /* noise bias (padding block) */
nuclear@0 416 static const noise3 _psy_noisebias_padding[12]={
nuclear@0 417 /* 63 125 250 500 1k 2k 4k 8k 16k*/
nuclear@0 418
nuclear@0 419 /* -1 */
nuclear@0 420 {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 8, 8, 8, 8, 10, 12, 14, 20},
nuclear@0 421 {-30,-30,-30,-30,-26,-20,-16, -8, -6, -6, -2, 2, 2, 3, 6, 6, 15},
nuclear@0 422 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},
nuclear@0 423
nuclear@0 424 /* 0 */
nuclear@0 425 {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 8, 8, 8, 8, 10, 12, 14, 20},
nuclear@0 426 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, 2, 3, 6, 6, 8, 10},
nuclear@0 427 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -4, -4, -4, -4, -2, 0, 2}}},
nuclear@0 428 /* 1 */
nuclear@0 429 {{{-12,-12,-12,-12,-12, -8, -6, -4, 0, 4, 4, 4, 4, 10, 12, 14, 20},
nuclear@0 430 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, 0, 0, 0, 2, 2, 4, 8},
nuclear@0 431 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -6, -6, -4, -2, 0}}},
nuclear@0 432 /* 2 */
nuclear@0 433 /* {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 8, 10, 10, 16},
nuclear@0 434 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, 0, 0, 0, 2, 2, 4, 8},
nuclear@0 435 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},*/
nuclear@0 436 {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 8, 10, 10, 16},
nuclear@0 437 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -1, -1, -1, 0, 0, 2, 6},
nuclear@0 438 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},
nuclear@0 439 /* 3 */
nuclear@0 440 {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 6, 8, 8, 14},
nuclear@0 441 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -1, -1, -1, 0, 0, 2, 6},
nuclear@0 442 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},
nuclear@0 443 /* 4 */
nuclear@0 444 {{{-16,-16,-16,-16,-16,-12,-10, -6, -2, 0, 0, 0, 0, 4, 6, 6, 12},
nuclear@0 445 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -1, -1, -1, -1, 0, 2, 6},
nuclear@0 446 {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},
nuclear@0 447 /* 5 */
nuclear@0 448 {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 6, 6, 12},
nuclear@0 449 {-32,-32,-32,-32,-28,-24,-22,-16,-12, -6, -3, -3, -3, -3, -2, 0, 4},
nuclear@0 450 {-34,-34,-34,-34,-30,-26,-24,-18,-14,-10,-10,-10,-10,-10, -8, -5, -3}}},
nuclear@0 451 /* 6 */
nuclear@0 452 {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 6, 6, 12},
nuclear@0 453 {-34,-34,-34,-34,-30,-30,-24,-20,-14, -8, -4, -4, -4, -4, -3, -1, 4},
nuclear@0 454 {-34,-34,-34,-34,-34,-30,-26,-20,-16,-13,-13,-13,-13,-13,-11, -8, -6}}},
nuclear@0 455 /* 7 */
nuclear@0 456 {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 6, 6, 12},
nuclear@0 457 {-34,-34,-34,-34,-30,-30,-30,-24,-16,-10, -8, -6, -6, -6, -5, -3, 1},
nuclear@0 458 {-34,-34,-34,-34,-32,-32,-28,-22,-18,-16,-16,-16,-16,-16,-14,-12,-10}}},
nuclear@0 459 /* 8 */
nuclear@0 460 {{{-22,-22,-22,-22,-22,-20,-14,-10, -4, 0, 0, 0, 0, 3, 5, 5, 11},
nuclear@0 461 {-34,-34,-34,-34,-30,-30,-30,-24,-16,-12,-10, -8, -8, -8, -7, -5, -2},
nuclear@0 462 {-36,-36,-36,-36,-36,-34,-28,-22,-20,-20,-20,-20,-20,-20,-20,-16,-14}}},
nuclear@0 463 /* 9 */
nuclear@0 464 {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -2, -2, -2, -2, 0, 2, 6},
nuclear@0 465 {-36,-36,-36,-36,-34,-32,-32,-24,-16,-12,-12,-12,-12,-12,-10, -8, -5},
nuclear@0 466 {-40,-40,-40,-40,-40,-40,-40,-32,-26,-24,-24,-24,-24,-24,-24,-20,-18}}},
nuclear@0 467 /* 10 */
nuclear@0 468 {{{-30,-30,-30,-30,-30,-26,-24,-24,-24,-20,-12,-12,-12,-12,-12,-10, -8},
nuclear@0 469 {-40,-40,-40,-40,-40,-40,-40,-40,-35,-30,-25,-25,-25,-25,-25,-25,-15},
nuclear@0 470 {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
nuclear@0 471 };
nuclear@0 472
nuclear@0 473
nuclear@0 474 static const noiseguard _psy_noiseguards_44[4]={
nuclear@0 475 {3,3,15},
nuclear@0 476 {3,3,15},
nuclear@0 477 {10,10,100},
nuclear@0 478 {10,10,100},
nuclear@0 479 };
nuclear@0 480
nuclear@0 481 static const int _psy_tone_suppress[12]={
nuclear@0 482 -20,-20,-20,-20,-20,-24,-30,-40,-40,-45,-45,-45,
nuclear@0 483 };
nuclear@0 484 static const int _psy_tone_0dB[12]={
nuclear@0 485 90,90,95,95,95,95,105,105,105,105,105,105,
nuclear@0 486 };
nuclear@0 487 static const int _psy_noise_suppress[12]={
nuclear@0 488 -20,-20,-24,-24,-24,-24,-30,-40,-40,-45,-45,-45,
nuclear@0 489 };
nuclear@0 490
nuclear@0 491 static const vorbis_info_psy _psy_info_template={
nuclear@0 492 /* blockflag */
nuclear@0 493 -1,
nuclear@0 494 /* ath_adjatt, ath_maxatt */
nuclear@0 495 -140.,-140.,
nuclear@0 496 /* tonemask att boost/decay,suppr,curves */
nuclear@0 497 {0.f,0.f,0.f}, 0.,0., -40.f, {0.},
nuclear@0 498
nuclear@0 499 /*noisemaskp,supp, low/high window, low/hi guard, minimum */
nuclear@0 500 1, -0.f, .5f, .5f, 0,0,0,
nuclear@0 501 /* noiseoffset*3, noisecompand, max_curve_dB */
nuclear@0 502 {{-1},{-1},{-1}},{-1},105.f,
nuclear@0 503 /* noise normalization - noise_p, start, partition, thresh. */
nuclear@0 504 0,-1,-1,0.,
nuclear@0 505 };
nuclear@0 506
nuclear@0 507 /* ath ****************/
nuclear@0 508
nuclear@0 509 static const int _psy_ath_floater[12]={
nuclear@0 510 -100,-100,-100,-100,-100,-100,-105,-105,-105,-105,-110,-120,
nuclear@0 511 };
nuclear@0 512 static const int _psy_ath_abs[12]={
nuclear@0 513 -130,-130,-130,-130,-140,-140,-140,-140,-140,-140,-140,-150,
nuclear@0 514 };
nuclear@0 515
nuclear@0 516 /* stereo setup. These don't map directly to quality level, there's
nuclear@0 517 an additional indirection as several of the below may be used in a
nuclear@0 518 single bitmanaged stream
nuclear@0 519
nuclear@0 520 ****************/
nuclear@0 521
nuclear@0 522 /* various stereo possibilities */
nuclear@0 523
nuclear@0 524 /* stereo mode by base quality level */
nuclear@0 525 static const adj_stereo _psy_stereo_modes_44[12]={
nuclear@0 526 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 -1 */
nuclear@0 527 {{ 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 1, 0, 0, 0, 0},
nuclear@0 528 { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 4, 3},
nuclear@0 529 { 1, 2, 3, 4, 4, 4, 4, 4, 4, 5, 6, 7, 8, 8, 8},
nuclear@0 530 { 12,12.5, 13,13.5, 14,14.5, 15, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 531
nuclear@0 532 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 */
nuclear@0 533 {{ 4, 4, 4, 4, 4, 4, 4, 3, 2, 1, 0, 0, 0, 0, 0},
nuclear@0 534 { 8, 8, 8, 8, 6, 6, 5, 5, 5, 5, 5, 5, 5, 4, 3},
nuclear@0 535 { 1, 2, 3, 4, 4, 5, 6, 6, 6, 6, 6, 8, 8, 8, 8},
nuclear@0 536 { 12,12.5, 13,13.5, 14,14.5, 15, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 537
nuclear@0 538
nuclear@0 539 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 */
nuclear@0 540 {{ 3, 3, 3, 3, 3, 3, 3, 3, 2, 1, 0, 0, 0, 0, 0},
nuclear@0 541 { 8, 8, 8, 8, 6, 6, 5, 5, 5, 5, 5, 5, 5, 4, 3},
nuclear@0 542 { 1, 2, 3, 4, 4, 5, 6, 6, 6, 6, 6, 8, 8, 8, 8},
nuclear@0 543 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 544
nuclear@0 545
nuclear@0 546 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 */
nuclear@0 547 {{ 3, 3, 3, 3, 3, 3, 3, 2, 1, 1, 0, 0, 0, 0, 0},
nuclear@0 548 { 8, 8, 6, 6, 5, 5, 4, 4, 4, 4, 4, 4, 3, 2, 1},
nuclear@0 549 { 3, 4, 4, 5, 5, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8},
nuclear@0 550 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 551 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 */
nuclear@0 552 {{ 2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0},
nuclear@0 553 { 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 2, 1},
nuclear@0 554 { 4, 4, 5, 6, 6, 6, 6, 6, 8, 8, 10, 10, 10, 10, 10},
nuclear@0 555 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 556 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 */
nuclear@0 557 {{ 2, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 558 { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 2, 1, 0},
nuclear@0 559 { 6, 6, 6, 8, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10},
nuclear@0 560 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 561 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 */
nuclear@0 562 {{ 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 563 { 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0},
nuclear@0 564 { 6, 7, 8, 8, 8, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12},
nuclear@0 565 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 566 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 */
nuclear@0 567 {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 568 { 3, 3, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 569 { 8, 8, 8, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12},
nuclear@0 570 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 571 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 */
nuclear@0 572 {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 573 { 3, 3, 3, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 574 { 8, 8, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12},
nuclear@0 575 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 576 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 */
nuclear@0 577 {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 578 { 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 579 { 8, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12},
nuclear@0 580 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 581 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 */
nuclear@0 582 {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 583 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 584 { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
nuclear@0 585 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 586 /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 */
nuclear@0 587 {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 588 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
nuclear@0 589 { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
nuclear@0 590 { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
nuclear@0 591 };
nuclear@0 592
nuclear@0 593 /* tone master attenuation by base quality mode and bitrate tweak */
nuclear@0 594 static const att3 _psy_tone_masteratt_44[12]={
nuclear@0 595 {{ 35, 21, 9}, 0, 0}, /* -1 */
nuclear@0 596 {{ 30, 20, 8}, -2, 1.25}, /* 0 */
nuclear@0 597 /* {{ 25, 14, 4}, 0, 0}, *//* 1 */
nuclear@0 598 {{ 25, 12, 2}, 0, 0}, /* 1 */
nuclear@0 599 /* {{ 20, 10, -2}, 0, 0}, *//* 2 */
nuclear@0 600 {{ 20, 9, -3}, 0, 0}, /* 2 */
nuclear@0 601 {{ 20, 9, -4}, 0, 0}, /* 3 */
nuclear@0 602 {{ 20, 9, -4}, 0, 0}, /* 4 */
nuclear@0 603 {{ 20, 6, -6}, 0, 0}, /* 5 */
nuclear@0 604 {{ 20, 3, -10}, 0, 0}, /* 6 */
nuclear@0 605 {{ 18, 1, -14}, 0, 0}, /* 7 */
nuclear@0 606 {{ 18, 0, -16}, 0, 0}, /* 8 */
nuclear@0 607 {{ 18, -2, -16}, 0, 0}, /* 9 */
nuclear@0 608 {{ 12, -2, -20}, 0, 0}, /* 10 */
nuclear@0 609 };
nuclear@0 610
nuclear@0 611 /* lowpass by mode **************/
nuclear@0 612 static const double _psy_lowpass_44[12]={
nuclear@0 613 /* 15.1,15.8,16.5,17.9,20.5,48.,999.,999.,999.,999.,999. */
nuclear@0 614 13.9,15.1,15.8,16.5,17.2,18.9,20.1,48.,999.,999.,999.,999.
nuclear@0 615 };
nuclear@0 616
nuclear@0 617 /* noise normalization **********/
nuclear@0 618
nuclear@0 619 static const int _noise_start_short_44[11]={
nuclear@0 620 /* 16,16,16,16,32,32,9999,9999,9999,9999 */
nuclear@0 621 32,16,16,16,32,9999,9999,9999,9999,9999,9999
nuclear@0 622 };
nuclear@0 623 static const int _noise_start_long_44[11]={
nuclear@0 624 /* 128,128,128,256,512,512,9999,9999,9999,9999 */
nuclear@0 625 256,128,128,256,512,9999,9999,9999,9999,9999,9999
nuclear@0 626 };
nuclear@0 627
nuclear@0 628 static const int _noise_part_short_44[11]={
nuclear@0 629 8,8,8,8,8,8,8,8,8,8,8
nuclear@0 630 };
nuclear@0 631 static const int _noise_part_long_44[11]={
nuclear@0 632 32,32,32,32,32,32,32,32,32,32,32
nuclear@0 633 };
nuclear@0 634
nuclear@0 635 static const double _noise_thresh_44[11]={
nuclear@0 636 /* .2,.2,.3,.4,.5,.5,9999.,9999.,9999.,9999., */
nuclear@0 637 .2,.2,.2,.4,.6,9999.,9999.,9999.,9999.,9999.,9999.,
nuclear@0 638 };
nuclear@0 639
nuclear@0 640 static const double _noise_thresh_5only[2]={
nuclear@0 641 .5,.5,
nuclear@0 642 };