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 16894 2010-02-12 20:32:12Z 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_16a[]={
31 static const int _floor_mapping_16b[]={
34 static const int *_floor_mapping_16[]={
39 static const double rate_mapping_16[4]={
40 12000.,20000.,44000.,86000.
43 static const double rate_mapping_16_uncoupled[4]={
44 16000.,28000.,64000.,100000.
47 static const double _global_mapping_16[4]={ 1., 2., 3., 4. };
49 static const double quality_mapping_16[4]={ -.1,.05,.5,1. };
51 static const double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};
53 static const ve_setup_data_template ve_setup_16_stereo={
64 _psy_tone_masteratt_16,
73 _psy_noisebias_16_impulse,
74 _psy_noisebias_16_short,
75 _psy_noisebias_16_short,
80 _psy_compand_16_mapping,
81 _psy_compand_16_mapping,
83 {_noise_start_16,_noise_start_16},
84 { _noise_part_16, _noise_part_16},
101 _mapres_template_16_stereo
104 static const ve_setup_data_template ve_setup_16_uncoupled={
106 rate_mapping_16_uncoupled,
115 _psy_tone_masteratt_16,
124 _psy_noisebias_16_impulse,
125 _psy_noisebias_16_short,
126 _psy_noisebias_16_short,
131 _psy_compand_16_mapping,
132 _psy_compand_16_mapping,
134 {_noise_start_16,_noise_start_16},
135 { _noise_part_16, _noise_part_16},
145 _psy_stereo_modes_16,
152 _mapres_template_16_uncoupled