media/libvorbis/lib/modes/psych_11.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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: 11kHz settings
michael@0 14 last mod: $Id: psych_11.h 16227 2009-07-08 06:58:46Z xiphmont $
michael@0 15
michael@0 16 ********************************************************************/
michael@0 17
michael@0 18 static const double _psy_lowpass_11[3]={4.5,5.5,30.,};
michael@0 19
michael@0 20 static const att3 _psy_tone_masteratt_11[3]={
michael@0 21 {{ 30, 25, 12}, 0, 0}, /* 0 */
michael@0 22 {{ 30, 25, 12}, 0, 0}, /* 0 */
michael@0 23 {{ 20, 0, -14}, 0, 0}, /* 0 */
michael@0 24 };
michael@0 25
michael@0 26 static const vp_adjblock _vp_tonemask_adj_11[3]={
michael@0 27 /* adjust for mode zero */
michael@0 28 /* 63 125 250 500 1 2 4 8 16 */
michael@0 29 {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0,10, 2, 0,99,99,99}}, /* 0 */
michael@0 30 {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 5, 0, 0,99,99,99}}, /* 1 */
michael@0 31 {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 0, 0, 0,99,99,99}}, /* 2 */
michael@0 32 };
michael@0 33
michael@0 34
michael@0 35 static const noise3 _psy_noisebias_11[3]={
michael@0 36 /* 63 125 250 500 1k 2k 4k 8k 16k*/
michael@0 37 {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 10, 10, 12, 12, 12, 99, 99, 99},
michael@0 38 {-15,-15,-15,-15,-10,-10, -5, 0, 0, 4, 4, 5, 5, 10, 99, 99, 99},
michael@0 39 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
michael@0 40
michael@0 41 {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 10, 10, 12, 12, 12, 99, 99, 99},
michael@0 42 {-15,-15,-15,-15,-10,-10, -5, -5, -5, 0, 0, 0, 0, 0, 99, 99, 99},
michael@0 43 {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
michael@0 44
michael@0 45 {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 99, 99, 99},
michael@0 46 {-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10, 99, 99, 99},
michael@0 47 {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24, 99, 99, 99}}},
michael@0 48 };
michael@0 49
michael@0 50 static const double _noise_thresh_11[3]={ .3,.5,.5 };
michael@0 51

mercurial