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
14 last mod: $Id: setup_16.h 16227 2009-07-08 06:58:46Z xiphmont $
16 ********************************************************************/
19 #include "residue_16.h"
21 static const int blocksize_16_short
[3]={
24 static const int blocksize_16_long
[3]={
28 static const int _floor_mapping_16_short
[3]={
31 static const int _floor_mapping_16
[3]={
35 static const double rate_mapping_16
[4]={
36 12000.,20000.,44000.,86000.
39 static const double rate_mapping_16_uncoupled
[4]={
40 16000.,28000.,64000.,100000.
43 static const double _global_mapping_16
[4]={ 1., 2., 3., 4. };
45 static const double quality_mapping_16
[4]={ -.1,.05,.5,1. };
47 static const double _psy_compand_16_mapping
[4]={ 0., .8, 1., 1.};
49 static const ve_setup_data_template ve_setup_16_stereo
={
60 _psy_tone_masteratt_16
,
69 _psy_noisebias_16_impulse
,
70 _psy_noisebias_16_short
,
71 _psy_noisebias_16_short
,
76 _psy_compand_16_mapping
,
77 _psy_compand_16_mapping
,
79 {_noise_start_16
,_noise_start_16
},
80 { _noise_part_16
, _noise_part_16
},
94 _floor_mapping_16_short
,
97 _mapres_template_16_stereo
100 static const ve_setup_data_template ve_setup_16_uncoupled
={
102 rate_mapping_16_uncoupled
,
111 _psy_tone_masteratt_16
,
120 _psy_noisebias_16_impulse
,
121 _psy_noisebias_16_short
,
122 _psy_noisebias_16_short
,
127 _psy_compand_16_mapping
,
128 _psy_compand_16_mapping
,
130 {_noise_start_16
,_noise_start_16
},
131 { _noise_part_16
, _noise_part_16
},
141 _psy_stereo_modes_16
,
145 _floor_mapping_16_short
,
148 _mapres_template_16_uncoupled