examples/sfexamples/oggvorbiscodec/src/libvorbis/lib/modes/setup_16.h

00001 /********************************************************************
00002  *                                                                  *
00003  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
00004  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
00005  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
00006  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
00007  *                                                                  *
00008  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *
00009  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
00010  *                                                                  *
00011  ********************************************************************
00012 
00013  function: 16kHz settings 
00014  last mod: $Id: setup_16.h 7187 2004-07-20 07:24:27Z xiphmont $
00015 
00016  ********************************************************************/
00017 
00018 #include "psych_16.h"
00019 #include "residue_16.h"
00020 
00021 static int blocksize_16_short[3]={
00022   1024,512,512
00023 };
00024 static int blocksize_16_long[3]={
00025   1024,1024,1024
00026 };
00027 
00028 static int _floor_mapping_16_short[3]={
00029   9,3,3
00030 };
00031 static int _floor_mapping_16[3]={
00032   9,9,9
00033 };
00034 
00035 static double rate_mapping_16[4]={
00036   12000.,20000.,44000.,86000.
00037 };
00038 
00039 static double rate_mapping_16_uncoupled[4]={
00040   16000.,28000.,64000.,100000.
00041 };
00042 
00043 static double _global_mapping_16[4]={ 1., 2., 3., 4. };
00044 
00045 static double quality_mapping_16[4]={ -.1,.05,.5,1. };
00046 
00047 static double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};
00048 
00049 ve_setup_data_template ve_setup_16_stereo={
00050   3,
00051   rate_mapping_16,
00052   quality_mapping_16,
00053   2,
00054   15000,
00055   19000,
00056   
00057   blocksize_16_short,
00058   blocksize_16_long,
00059 
00060   _psy_tone_masteratt_16,
00061   _psy_tone_0dB,
00062   _psy_tone_suppress,
00063 
00064   _vp_tonemask_adj_16,
00065   _vp_tonemask_adj_16,
00066   _vp_tonemask_adj_16,
00067 
00068   _psy_noiseguards_8,
00069   _psy_noisebias_16_impulse,
00070   _psy_noisebias_16_short,
00071   _psy_noisebias_16_short,
00072   _psy_noisebias_16,
00073   _psy_noise_suppress,
00074   
00075   _psy_compand_8,
00076   _psy_compand_16_mapping,
00077   _psy_compand_16_mapping,
00078 
00079   {_noise_start_16,_noise_start_16},
00080   { _noise_part_16, _noise_part_16},
00081   _noise_thresh_16,
00082 
00083   _psy_ath_floater_16,
00084   _psy_ath_abs_16,
00085   
00086   _psy_lowpass_16,
00087 
00088   _psy_global_44,
00089   _global_mapping_16,
00090   _psy_stereo_modes_16,
00091 
00092   _floor_books,
00093   _floor,
00094   _floor_mapping_16_short,
00095   _floor_mapping_16,
00096 
00097   _mapres_template_16_stereo
00098 };
00099 
00100 ve_setup_data_template ve_setup_16_uncoupled={
00101   3,
00102   rate_mapping_16_uncoupled,
00103   quality_mapping_16,
00104   -1,
00105   15000,
00106   19000,
00107   
00108   blocksize_16_short,
00109   blocksize_16_long,
00110 
00111   _psy_tone_masteratt_16,
00112   _psy_tone_0dB,
00113   _psy_tone_suppress,
00114 
00115   _vp_tonemask_adj_16,
00116   _vp_tonemask_adj_16,
00117   _vp_tonemask_adj_16,
00118 
00119   _psy_noiseguards_8,
00120   _psy_noisebias_16_impulse,
00121   _psy_noisebias_16_short,
00122   _psy_noisebias_16_short,
00123   _psy_noisebias_16,
00124   _psy_noise_suppress,
00125   
00126   _psy_compand_8,
00127   _psy_compand_16_mapping,
00128   _psy_compand_16_mapping,
00129 
00130   {_noise_start_16,_noise_start_16},
00131   { _noise_part_16, _noise_part_16},
00132   _noise_thresh_16,
00133 
00134   _psy_ath_floater_16,
00135   _psy_ath_abs_16,
00136   
00137   _psy_lowpass_16,
00138 
00139   _psy_global_44,
00140   _global_mapping_16,
00141   _psy_stereo_modes_16,
00142 
00143   _floor_books,
00144   _floor,
00145   _floor_mapping_16_short,
00146   _floor_mapping_16,
00147 
00148   _mapres_template_16_uncoupled
00149 };

Generated by  doxygen 1.6.2