dbf-halloween2015

annotate libs/vorbis/modes/setup_44.h @ 4:4316c0c879e9

fixed RUN script for macosx
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 01 Nov 2015 06:18:18 +0200
parents
children
rev   line source
nuclear@1 1 /********************************************************************
nuclear@1 2 * *
nuclear@1 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
nuclear@1 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
nuclear@1 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
nuclear@1 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
nuclear@1 7 * *
nuclear@1 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
nuclear@1 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
nuclear@1 10 * *
nuclear@1 11 ********************************************************************
nuclear@1 12
nuclear@1 13 function: toplevel settings for 44.1/48kHz
nuclear@1 14 last mod: $Id: setup_44.h 16962 2010-03-11 07:30:34Z xiphmont $
nuclear@1 15
nuclear@1 16 ********************************************************************/
nuclear@1 17
nuclear@1 18 #include "modes/floor_all.h"
nuclear@1 19 #include "modes/residue_44.h"
nuclear@1 20 #include "modes/psych_44.h"
nuclear@1 21
nuclear@1 22 static const double rate_mapping_44_stereo[12]={
nuclear@1 23 22500.,32000.,40000.,48000.,56000.,64000.,
nuclear@1 24 80000.,96000.,112000.,128000.,160000.,250001.
nuclear@1 25 };
nuclear@1 26
nuclear@1 27 static const double quality_mapping_44[12]={
nuclear@1 28 -.1,.0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1.0
nuclear@1 29 };
nuclear@1 30
nuclear@1 31 static const int blocksize_short_44[11]={
nuclear@1 32 512,256,256,256,256,256,256,256,256,256,256
nuclear@1 33 };
nuclear@1 34 static const int blocksize_long_44[11]={
nuclear@1 35 4096,2048,2048,2048,2048,2048,2048,2048,2048,2048,2048
nuclear@1 36 };
nuclear@1 37
nuclear@1 38 static const double _psy_compand_short_mapping[12]={
nuclear@1 39 0.5, 1., 1., 1.3, 1.6, 2., 2., 2., 2., 2., 2., 2.
nuclear@1 40 };
nuclear@1 41 static const double _psy_compand_long_mapping[12]={
nuclear@1 42 3.5, 4., 4., 4.3, 4.6, 5., 5., 5., 5., 5., 5., 5.
nuclear@1 43 };
nuclear@1 44
nuclear@1 45 static const double _global_mapping_44[12]={
nuclear@1 46 /* 1., 1., 1.5, 2., 2., 2.5, 2.7, 3.0, 3.5, 4., 4. */
nuclear@1 47 0., 1., 1., 1.5, 2., 2., 2.5, 2.7, 3.0, 3.7, 4., 4.
nuclear@1 48 };
nuclear@1 49
nuclear@1 50 static const int _floor_mapping_44a[11]={
nuclear@1 51 1,0,0,2,2,4,5,5,5,5,5
nuclear@1 52 };
nuclear@1 53
nuclear@1 54 static const int _floor_mapping_44b[11]={
nuclear@1 55 8,7,7,7,7,7,7,7,7,7,7
nuclear@1 56 };
nuclear@1 57
nuclear@1 58 static const int _floor_mapping_44c[11]={
nuclear@1 59 10,10,10,10,10,10,10,10,10,10,10
nuclear@1 60 };
nuclear@1 61
nuclear@1 62 static const int *_floor_mapping_44[]={
nuclear@1 63 _floor_mapping_44a,
nuclear@1 64 _floor_mapping_44b,
nuclear@1 65 _floor_mapping_44c,
nuclear@1 66 };
nuclear@1 67
nuclear@1 68 static const ve_setup_data_template ve_setup_44_stereo={
nuclear@1 69 11,
nuclear@1 70 rate_mapping_44_stereo,
nuclear@1 71 quality_mapping_44,
nuclear@1 72 2,
nuclear@1 73 40000,
nuclear@1 74 50000,
nuclear@1 75
nuclear@1 76 blocksize_short_44,
nuclear@1 77 blocksize_long_44,
nuclear@1 78
nuclear@1 79 _psy_tone_masteratt_44,
nuclear@1 80 _psy_tone_0dB,
nuclear@1 81 _psy_tone_suppress,
nuclear@1 82
nuclear@1 83 _vp_tonemask_adj_otherblock,
nuclear@1 84 _vp_tonemask_adj_longblock,
nuclear@1 85 _vp_tonemask_adj_otherblock,
nuclear@1 86
nuclear@1 87 _psy_noiseguards_44,
nuclear@1 88 _psy_noisebias_impulse,
nuclear@1 89 _psy_noisebias_padding,
nuclear@1 90 _psy_noisebias_trans,
nuclear@1 91 _psy_noisebias_long,
nuclear@1 92 _psy_noise_suppress,
nuclear@1 93
nuclear@1 94 _psy_compand_44,
nuclear@1 95 _psy_compand_short_mapping,
nuclear@1 96 _psy_compand_long_mapping,
nuclear@1 97
nuclear@1 98 {_noise_start_short_44,_noise_start_long_44},
nuclear@1 99 {_noise_part_short_44,_noise_part_long_44},
nuclear@1 100 _noise_thresh_44,
nuclear@1 101
nuclear@1 102 _psy_ath_floater,
nuclear@1 103 _psy_ath_abs,
nuclear@1 104
nuclear@1 105 _psy_lowpass_44,
nuclear@1 106
nuclear@1 107 _psy_global_44,
nuclear@1 108 _global_mapping_44,
nuclear@1 109 _psy_stereo_modes_44,
nuclear@1 110
nuclear@1 111 _floor_books,
nuclear@1 112 _floor,
nuclear@1 113 2,
nuclear@1 114 _floor_mapping_44,
nuclear@1 115
nuclear@1 116 _mapres_template_44_stereo
nuclear@1 117 };