tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

setup_11.h (2749B)


      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-2009             *
      9 * by the Xiph.Org Foundation https://xiph.org/                     *
     10 *                                                                  *
     11 ********************************************************************
     12 
     13 function: 11kHz settings
     14 
     15 ********************************************************************/
     16 
     17 #include "psych_11.h"
     18 
     19 static const int blocksize_11[2]={
     20  512,512
     21 };
     22 
     23 static const int _floor_mapping_11a[]={
     24  6,6
     25 };
     26 static const int *_floor_mapping_11[]={
     27  _floor_mapping_11a
     28 };
     29 
     30 static const double rate_mapping_11[3]={
     31  8000.,13000.,44000.,
     32 };
     33 
     34 static const double rate_mapping_11_uncoupled[3]={
     35  12000.,20000.,50000.,
     36 };
     37 
     38 static const double quality_mapping_11[3]={
     39  -.1,.0,1.
     40 };
     41 
     42 static const ve_setup_data_template ve_setup_11_stereo={
     43  2,
     44  rate_mapping_11,
     45  quality_mapping_11,
     46  2,
     47  9000,
     48  15000,
     49 
     50  blocksize_11,
     51  blocksize_11,
     52 
     53  _psy_tone_masteratt_11,
     54  _psy_tone_0dB,
     55  _psy_tone_suppress,
     56 
     57  _vp_tonemask_adj_11,
     58  NULL,
     59  _vp_tonemask_adj_11,
     60 
     61  _psy_noiseguards_8,
     62  _psy_noisebias_11,
     63  _psy_noisebias_11,
     64  NULL,
     65  NULL,
     66  _psy_noise_suppress,
     67 
     68  _psy_compand_8,
     69  _psy_compand_8_mapping,
     70  NULL,
     71 
     72  {_noise_start_8,_noise_start_8},
     73  {_noise_part_8,_noise_part_8},
     74  _noise_thresh_11,
     75 
     76  _psy_ath_floater_8,
     77  _psy_ath_abs_8,
     78 
     79  _psy_lowpass_11,
     80 
     81  _psy_global_44,
     82  _global_mapping_8,
     83  _psy_stereo_modes_8,
     84 
     85  _floor_books,
     86  _floor,
     87  1,
     88  _floor_mapping_11,
     89 
     90  _mapres_template_8_stereo
     91 };
     92 
     93 static const ve_setup_data_template ve_setup_11_uncoupled={
     94  2,
     95  rate_mapping_11_uncoupled,
     96  quality_mapping_11,
     97  -1,
     98  9000,
     99  15000,
    100 
    101  blocksize_11,
    102  blocksize_11,
    103 
    104  _psy_tone_masteratt_11,
    105  _psy_tone_0dB,
    106  _psy_tone_suppress,
    107 
    108  _vp_tonemask_adj_11,
    109  NULL,
    110  _vp_tonemask_adj_11,
    111 
    112  _psy_noiseguards_8,
    113  _psy_noisebias_11,
    114  _psy_noisebias_11,
    115  NULL,
    116  NULL,
    117  _psy_noise_suppress,
    118 
    119  _psy_compand_8,
    120  _psy_compand_8_mapping,
    121  NULL,
    122 
    123  {_noise_start_8,_noise_start_8},
    124  {_noise_part_8,_noise_part_8},
    125  _noise_thresh_11,
    126 
    127  _psy_ath_floater_8,
    128  _psy_ath_abs_8,
    129 
    130  _psy_lowpass_11,
    131 
    132  _psy_global_44,
    133  _global_mapping_8,
    134  _psy_stereo_modes_8,
    135 
    136  _floor_books,
    137  _floor,
    138  1,
    139  _floor_mapping_11,
    140 
    141  _mapres_template_8_uncoupled
    142 };