annotate src/libvorbis-1.3.3/lib/modes/psych_11.h @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents 05aa0afa9217
children
rev   line source
Chris@1 1 /********************************************************************
Chris@1 2 * *
Chris@1 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
Chris@1 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
Chris@1 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
Chris@1 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
Chris@1 7 * *
Chris@1 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
Chris@1 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
Chris@1 10 * *
Chris@1 11 ********************************************************************
Chris@1 12
Chris@1 13 function: 11kHz settings
Chris@1 14 last mod: $Id: psych_11.h 16227 2009-07-08 06:58:46Z xiphmont $
Chris@1 15
Chris@1 16 ********************************************************************/
Chris@1 17
Chris@1 18 static const double _psy_lowpass_11[3]={4.5,5.5,30.,};
Chris@1 19
Chris@1 20 static const att3 _psy_tone_masteratt_11[3]={
Chris@1 21 {{ 30, 25, 12}, 0, 0}, /* 0 */
Chris@1 22 {{ 30, 25, 12}, 0, 0}, /* 0 */
Chris@1 23 {{ 20, 0, -14}, 0, 0}, /* 0 */
Chris@1 24 };
Chris@1 25
Chris@1 26 static const vp_adjblock _vp_tonemask_adj_11[3]={
Chris@1 27 /* adjust for mode zero */
Chris@1 28 /* 63 125 250 500 1 2 4 8 16 */
Chris@1 29 {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0,10, 2, 0,99,99,99}}, /* 0 */
Chris@1 30 {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 5, 0, 0,99,99,99}}, /* 1 */
Chris@1 31 {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 0, 0, 0,99,99,99}}, /* 2 */
Chris@1 32 };
Chris@1 33
Chris@1 34
Chris@1 35 static const noise3 _psy_noisebias_11[3]={
Chris@1 36 /* 63 125 250 500 1k 2k 4k 8k 16k*/
Chris@1 37 {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 10, 10, 12, 12, 12, 99, 99, 99},
Chris@1 38 {-15,-15,-15,-15,-10,-10, -5, 0, 0, 4, 4, 5, 5, 10, 99, 99, 99},
Chris@1 39 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
Chris@1 40
Chris@1 41 {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 10, 10, 12, 12, 12, 99, 99, 99},
Chris@1 42 {-15,-15,-15,-15,-10,-10, -5, -5, -5, 0, 0, 0, 0, 0, 99, 99, 99},
Chris@1 43 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
Chris@1 44
Chris@1 45 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 99, 99, 99},
Chris@1 46 {-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10, 99, 99, 99},
Chris@1 47 {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24, 99, 99, 99}}},
Chris@1 48 };
Chris@1 49
Chris@1 50 static const double _noise_thresh_11[3]={ .3,.5,.5 };
Chris@1 51