1 /********************************************************************
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. *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
11 ********************************************************************
13 function: 16kHz settings
15 ********************************************************************/
18 #include "residue_16.h"
20 static const int blocksize_16_short[3]={
23 static const int blocksize_16_long[3]={
27 static const int _floor_mapping_16a[]={
30 static const int _floor_mapping_16b[]={
33 static const int *_floor_mapping_16[]={
38 static const double rate_mapping_16[4]={
39 12000.,20000.,44000.,86000.
42 static const double rate_mapping_16_uncoupled[4]={
43 16000.,28000.,64000.,100000.
46 static const double _global_mapping_16[4]={ 1., 2., 3., 4. };
48 static const double quality_mapping_16[4]={ -.1,.05,.5,1. };
50 static const double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};
52 static const ve_setup_data_template ve_setup_16_stereo={
63 _psy_tone_masteratt_16,
72 _psy_noisebias_16_impulse,
73 _psy_noisebias_16_short,
74 _psy_noisebias_16_short,
79 _psy_compand_16_mapping,
80 _psy_compand_16_mapping,
82 {_noise_start_16,_noise_start_16},
83 { _noise_part_16, _noise_part_16},
100 _mapres_template_16_stereo
103 static const ve_setup_data_template ve_setup_16_uncoupled={
105 rate_mapping_16_uncoupled,
114 _psy_tone_masteratt_16,
123 _psy_noisebias_16_impulse,
124 _psy_noisebias_16_short,
125 _psy_noisebias_16_short,
130 _psy_compand_16_mapping,
131 _psy_compand_16_mapping,
133 {_noise_start_16,_noise_start_16},
134 { _noise_part_16, _noise_part_16},
144 _psy_stereo_modes_16,
151 _mapres_template_16_uncoupled