examples/SFExamples/oggvorbiscodec/src/libvorbis/lib/modes/setup_8.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: 8kHz settings 
00014  last mod: $Id: setup_8.h 7187 2004-07-20 07:24:27Z xiphmont $
00015 
00016  ********************************************************************/
00017 
00018 #include "psych_8.h"
00019 #include "residue_8.h"
00020 
00021 static int blocksize_8[2]={
00022   512,512
00023 };
00024 
00025 static int _floor_mapping_8[2]={
00026   6,6,
00027 };
00028 
00029 static double rate_mapping_8[3]={
00030   6000.,9000.,32000.,
00031 };
00032 
00033 static double rate_mapping_8_uncoupled[3]={
00034   8000.,14000.,42000.,
00035 };
00036 
00037 static double quality_mapping_8[3]={
00038   -.1,.0,1.
00039 };
00040 
00041 static double _psy_compand_8_mapping[3]={ 0., 1., 1.};
00042 
00043 static double _global_mapping_8[3]={ 1., 2., 3. };
00044 
00045 ve_setup_data_template ve_setup_8_stereo={
00046   2,
00047   rate_mapping_8,
00048   quality_mapping_8,
00049   2,
00050   8000,
00051   9000,
00052   
00053   blocksize_8,
00054   blocksize_8,
00055 
00056   _psy_tone_masteratt_8,
00057   _psy_tone_0dB,
00058   _psy_tone_suppress,
00059 
00060   _vp_tonemask_adj_8,
00061   NULL,
00062   _vp_tonemask_adj_8,
00063 
00064   _psy_noiseguards_8,
00065   _psy_noisebias_8,
00066   _psy_noisebias_8,
00067   NULL,
00068   NULL,
00069   _psy_noise_suppress,
00070   
00071   _psy_compand_8,
00072   _psy_compand_8_mapping,
00073   NULL,
00074 
00075   {_noise_start_8,_noise_start_8},
00076   {_noise_part_8,_noise_part_8},
00077   _noise_thresh_5only,
00078 
00079   _psy_ath_floater_8,
00080   _psy_ath_abs_8,
00081   
00082   _psy_lowpass_8,
00083 
00084   _psy_global_44,
00085   _global_mapping_8,
00086   _psy_stereo_modes_8,
00087 
00088   _floor_books,
00089   _floor,
00090   _floor_mapping_8,
00091   NULL,
00092 
00093   _mapres_template_8_stereo
00094 };
00095 
00096 ve_setup_data_template ve_setup_8_uncoupled={
00097   2,
00098   rate_mapping_8_uncoupled,
00099   quality_mapping_8,
00100   -1,
00101   8000,
00102   9000,
00103   
00104   blocksize_8,
00105   blocksize_8,
00106 
00107   _psy_tone_masteratt_8,
00108   _psy_tone_0dB,
00109   _psy_tone_suppress,
00110 
00111   _vp_tonemask_adj_8,
00112   NULL,
00113   _vp_tonemask_adj_8,
00114 
00115   _psy_noiseguards_8,
00116   _psy_noisebias_8,
00117   _psy_noisebias_8,
00118   NULL,
00119   NULL,
00120   _psy_noise_suppress,
00121   
00122   _psy_compand_8,
00123   _psy_compand_8_mapping,
00124   NULL,
00125 
00126   {_noise_start_8,_noise_start_8},
00127   {_noise_part_8,_noise_part_8},
00128   _noise_thresh_5only,
00129 
00130   _psy_ath_floater_8,
00131   _psy_ath_abs_8,
00132   
00133   _psy_lowpass_8,
00134 
00135   _psy_global_44,
00136   _global_mapping_8,
00137   _psy_stereo_modes_8,
00138 
00139   _floor_books,
00140   _floor,
00141   _floor_mapping_8,
00142   NULL,
00143 
00144   _mapres_template_8_uncoupled
00145 };
00146 

Generated by  doxygen 1.6.2