Debian Codegraph @

external/vorbis/vorbis_highlevel.h

raw
1 /********************************************************************
2 * *
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. *
7 * *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
9 * by the Xiph.Org Foundation https://xiph.org/ *
10 * *
11 ********************************************************************
12
13 function: highlevel encoder setup struct separated out for vorbisenc clarity
14
15 ********************************************************************/
16
17 #ifndef _vorbis_highlevel_h_
18 #define _vorbis_highlevel_h_
19
20 typedef struct highlevel_byblocktype {
21 double tone_mask_setting;
22 double tone_peaklimit_setting;
23 double noise_bias_setting;
24 double noise_compand_setting;
25 } highlevel_byblocktype;
26
27 typedef struct highlevel_encode_setup {
28 int set_in_stone;
29 const void *setup;
30 double base_setting;
31
32 double impulse_noisetune;
33
34 /* bitrate management below all settable */
35 float req;
36 int managed;
37 long bitrate_min;
38 long bitrate_av;
39 double bitrate_av_damp;
40 long bitrate_max;
41 long bitrate_reservoir;
42 double bitrate_reservoir_bias;
43
44 int impulse_block_p;
45 int noise_normalize_p;
46 int coupling_p;
47
48 double stereo_point_setting;
49 double lowpass_kHz;
50 int lowpass_altered;
51
52 double ath_floating_dB;
53 double ath_absolute_dB;
54
55 double amplitude_track_dBpersec;
56 double trigger_setting;
57
58 highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
59
60 } highlevel_encode_setup;
61
62 #endif