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 https://xiph.org/ *
11 ********************************************************************
13 function: 8kHz settings
15 ********************************************************************/
18 #include "residue_8.h"
20 static const int blocksize_8[2]={
24 static const int _floor_mapping_8a[]={
28 static const int *_floor_mapping_8[]={
32 static const double rate_mapping_8[3]={
36 static const double rate_mapping_8_uncoupled[3]={
40 static const double quality_mapping_8[3]={
44 static const double _psy_compand_8_mapping[3]={ 0., 1., 1.};
46 static const double _global_mapping_8[3]={ 1., 2., 3. };
48 static const ve_setup_data_template ve_setup_8_stereo={
59 _psy_tone_masteratt_8,
75 _psy_compand_8_mapping,
78 {_noise_start_8,_noise_start_8},
79 {_noise_part_8,_noise_part_8},
96 _mapres_template_8_stereo
99 static const ve_setup_data_template ve_setup_8_uncoupled={
101 rate_mapping_8_uncoupled,
110 _psy_tone_masteratt_8,
126 _psy_compand_8_mapping,
129 {_noise_start_8,_noise_start_8},
130 {_noise_part_8,_noise_part_8},
147 _mapres_template_8_uncoupled