Path: blob/master/thirdparty/libvorbis/modes/setup_16.h
9898 views
/********************************************************************1* *2* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *3* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *4* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *5* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *6* *7* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *8* by the Xiph.Org Foundation https://xiph.org/ *9* *10********************************************************************1112function: 16kHz settings1314********************************************************************/1516#include "psych_16.h"17#include "residue_16.h"1819static const int blocksize_16_short[3]={201024,512,51221};22static const int blocksize_16_long[3]={231024,1024,102424};2526static const int _floor_mapping_16a[]={279,3,328};29static const int _floor_mapping_16b[]={309,9,931};32static const int *_floor_mapping_16[]={33_floor_mapping_16a,34_floor_mapping_16b35};3637static const double rate_mapping_16[4]={3812000.,20000.,44000.,86000.39};4041static const double rate_mapping_16_uncoupled[4]={4216000.,28000.,64000.,100000.43};4445static const double _global_mapping_16[4]={ 1., 2., 3., 4. };4647static const double quality_mapping_16[4]={ -.1,.05,.5,1. };4849static const double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};5051static const ve_setup_data_template ve_setup_16_stereo={523,53rate_mapping_16,54quality_mapping_16,552,5615000,5719000,5859blocksize_16_short,60blocksize_16_long,6162_psy_tone_masteratt_16,63_psy_tone_0dB,64_psy_tone_suppress,6566_vp_tonemask_adj_16,67_vp_tonemask_adj_16,68_vp_tonemask_adj_16,6970_psy_noiseguards_16,71_psy_noisebias_16_impulse,72_psy_noisebias_16_short,73_psy_noisebias_16_short,74_psy_noisebias_16,75_psy_noise_suppress,7677_psy_compand_8,78_psy_compand_16_mapping,79_psy_compand_16_mapping,8081{_noise_start_16,_noise_start_16},82{ _noise_part_16, _noise_part_16},83_noise_thresh_16,8485_psy_ath_floater_16,86_psy_ath_abs_16,8788_psy_lowpass_16,8990_psy_global_44,91_global_mapping_16,92_psy_stereo_modes_16,9394_floor_books,95_floor,962,97_floor_mapping_16,9899_mapres_template_16_stereo100};101102static const ve_setup_data_template ve_setup_16_uncoupled={1033,104rate_mapping_16_uncoupled,105quality_mapping_16,106-1,10715000,10819000,109110blocksize_16_short,111blocksize_16_long,112113_psy_tone_masteratt_16,114_psy_tone_0dB,115_psy_tone_suppress,116117_vp_tonemask_adj_16,118_vp_tonemask_adj_16,119_vp_tonemask_adj_16,120121_psy_noiseguards_16,122_psy_noisebias_16_impulse,123_psy_noisebias_16_short,124_psy_noisebias_16_short,125_psy_noisebias_16,126_psy_noise_suppress,127128_psy_compand_8,129_psy_compand_16_mapping,130_psy_compand_16_mapping,131132{_noise_start_16,_noise_start_16},133{ _noise_part_16, _noise_part_16},134_noise_thresh_16,135136_psy_ath_floater_16,137_psy_ath_abs_16,138139_psy_lowpass_16,140141_psy_global_44,142_global_mapping_16,143_psy_stereo_modes_16,144145_floor_books,146_floor,1472,148_floor_mapping_16,149150_mapres_template_16_uncoupled151};152153154