media/libvorbis/lib/modes/setup_44p51.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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  ********************************************************************
    13  function: toplevel settings for 44.1/48kHz 5.1 surround modes
    14  last mod: $Id: setup_44p51.h 19013 2013-11-12 04:04:50Z giles $
    16  ********************************************************************/
    18 #include "modes/residue_44p51.h"
    20 static const double rate_mapping_44p51[12]={
    21   14000.,20000.,28000.,38000.,46000.,54000.,
    22   75000.,96000.,120000.,140000.,180000.,240001.
    23 };
    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,
    33   blocksize_short_44,
    34   blocksize_long_44,
    36   _psy_tone_masteratt_44,
    37   _psy_tone_0dB,
    38   _psy_tone_suppress,
    40   _vp_tonemask_adj_otherblock,
    41   _vp_tonemask_adj_longblock,
    42   _vp_tonemask_adj_otherblock,
    44   _psy_noiseguards_44,
    45   _psy_noisebias_impulse,
    46   _psy_noisebias_padding,
    47   _psy_noisebias_trans,
    48   _psy_noisebias_long,
    49   _psy_noise_suppress,
    51   _psy_compand_44,
    52   _psy_compand_short_mapping,
    53   _psy_compand_long_mapping,
    55   {_noise_start_short_44,_noise_start_long_44},
    56   {_noise_part_short_44,_noise_part_long_44},
    57   _noise_thresh_44,
    59   _psy_ath_floater,
    60   _psy_ath_abs,
    62   _psy_lowpass_44,
    64   _psy_global_44,
    65   _global_mapping_44,
    66   _psy_stereo_modes_44,
    68   _floor_books,
    69   _floor,
    70   3,
    71   _floor_mapping_44,
    73   _mapres_template_44_51
    74 };

mercurial