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: highlevel encoder setup struct separated out for vorbisenc clarity
15 ********************************************************************/
17 typedef struct highlevel_byblocktype {
18 double tone_mask_setting;
19 double tone_peaklimit_setting;
20 double noise_bias_setting;
21 double noise_compand_setting;
22 } highlevel_byblocktype;
24 typedef struct highlevel_encode_setup {
29 double impulse_noisetune;
31 /* bitrate management below all settable */
36 double bitrate_av_damp;
38 long bitrate_reservoir;
39 double bitrate_reservoir_bias;
42 int noise_normalize_p;
45 double stereo_point_setting;
49 double ath_floating_dB;
50 double ath_absolute_dB;
52 double amplitude_track_dBpersec;
53 double trigger_setting;
55 highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
57 } highlevel_encode_setup;