Home | History | Annotate | Download | only in modes
      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-2010             *
      9  * by the Xiph.Org Foundation http://www.xiph.org/                  *
     10  *                                                                  *
     11  ********************************************************************
     12 
     13  function: toplevel settings for 44.1/48kHz 5.1 surround modes
     14  last mod: $Id$
     15 
     16  ********************************************************************/
     17 
     18 #include "modes/residue_44p51.h"
     19 
     20 static const double rate_mapping_44p51[12]={
     21   14000.,20000.,28000.,38000.,46000.,54000.,
     22   75000.,96000.,120000.,140000.,180000.,240001.
     23 };
     24 
     25 static const ve_setup_data_template ve_setup_44_51={
     26   11,
     27   rate_mapping_44p51,
     28   quality_mapping_44,
     29   6,
     30   40000,
     31   70000,
     32 
     33   blocksize_short_44,
     34   blocksize_long_44,
     35 
     36   _psy_tone_masteratt_44,
     37   _psy_tone_0dB,
     38   _psy_tone_suppress,
     39 
     40   _vp_tonemask_adj_otherblock,
     41   _vp_tonemask_adj_longblock,
     42   _vp_tonemask_adj_otherblock,
     43 
     44   _psy_noiseguards_44,
     45   _psy_noisebias_impulse,
     46   _psy_noisebias_padding,
     47   _psy_noisebias_trans,
     48   _psy_noisebias_long,
     49   _psy_noise_suppress,
     50 
     51   _psy_compand_44,
     52   _psy_compand_short_mapping,
     53   _psy_compand_long_mapping,
     54 
     55   {_noise_start_short_44,_noise_start_long_44},
     56   {_noise_part_short_44,_noise_part_long_44},
     57   _noise_thresh_44,
     58 
     59   _psy_ath_floater,
     60   _psy_ath_abs,
     61 
     62   _psy_lowpass_44,
     63 
     64   _psy_global_44,
     65   _global_mapping_44,
     66   _psy_stereo_modes_44,
     67 
     68   _floor_books,
     69   _floor,
     70   3,
     71   _floor_mapping_44,
     72 
     73   _mapres_template_44_51
     74 };
     75