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: highlevel encoder setup struct seperated out for vorbisenc clarity
14 last mod: $Id: highlevel.h 16227 2009-07-08 06:58:46Z xiphmont $
16 ********************************************************************/
18 typedef struct highlevel_byblocktype
{
19 double tone_mask_setting
;
20 double tone_peaklimit_setting
;
21 double noise_bias_setting
;
22 double noise_compand_setting
;
23 } highlevel_byblocktype
;
25 typedef struct highlevel_encode_setup
{
32 double impulse_noisetune
;
37 double bitrate_av_damp
;
39 long bitrate_reservoir
;
40 double bitrate_reservoir_bias
;
43 int noise_normalize_p
;
45 double stereo_point_setting
;
48 double ath_floating_dB
;
49 double ath_absolute_dB
;
51 double amplitude_track_dBpersec
;
52 double trigger_setting
;
54 highlevel_byblocktype block
[4]; /* padding, impulse, transition, long */
56 } highlevel_encode_setup
;