Debian Codegraph @

external/lame/lame_global_flags.h

raw symbols SCIP
1 #cxx . . $ `<file>/external/lame/lame_global_flags.h`/ifndef LAME_GLOBAL_FLAGS_H
2 #define LAME_GLOBAL_FLAGS_Hcxx . . $ `external/lame/lame_global_flags.h:2:9`!
3
4 #ifndef lame_internal_flags_definedcxx . . $ `external/lame/encoder.h:147:9`!
5 #define lame_internal_flags_defined
6 struct lame_internal_flags;
7 typedef struct lame_internal_flags lame_internal_flags;
8 #endif
9
10
11 typedef enum short_block_ecxx . . $ short_block_e# {
12 short_block_not_setcxx . . $ short_block_not_set. = -1, /* allow LAME to decide */
13 short_block_allowedcxx . . $ short_block_allowed. = 0, /* LAME may use them, even different block types for L/R */
14 short_block_coupledcxx . . $ short_block_coupled., /* LAME may use them, but always same block types in L/R */
15 short_block_dispensedcxx . . $ short_block_dispensed., /* LAME will not use short blocks, long blocks only */
16 short_block_forcedcxx . . $ short_block_forced. /* LAME will not use long blocks, short blocks only */
17 } short_block_tcxx . . $ short_block_t#;
18
19 /***********************************************************************
20 *
21 * Control Parameters set by User. These parameters are here for
22 * backwards compatibility with the old, non-shared lib API.
23 * Please use the lame_set_variablename() functions below
24 *
25 *
26 ***********************************************************************/
27 struct lame_global_structcxx . . $ lame_global_struct# {
28 unsigned int class_idcxx . . $ lame_global_struct#class_id.;
29
30 /* input description */
31 unsigned long num_samplescxx . . $ lame_global_struct#num_samples.; /* number of samples. default=2^32-1 */
32 int num_channelscxx . . $ lame_global_struct#num_channels.; /* input number of channels. default=2 */
33 int samplerate_incxx . . $ lame_global_struct#samplerate_in.; /* input_samp_rate in Hz. default=44.1 kHz */
34 int samplerate_outcxx . . $ lame_global_struct#samplerate_out.; /* output_samp_rate.
35 default: LAME picks best value
36 at least not used for MP3 decoding:
37 Remember 44.1 kHz MP3s and AC97 */
38 float scalecxx . . $ lame_global_struct#scale.; /* scale input by this amount before encoding
39 at least not used for MP3 decoding */
40 float scale_leftcxx . . $ lame_global_struct#scale_left.; /* scale input of channel 0 (left) by this
41 amount before encoding */
42 float scale_rightcxx . . $ lame_global_struct#scale_right.; /* scale input of channel 1 (right) by this
43 amount before encoding */
44
45 /* general control params */
46 int analysiscxx . . $ lame_global_struct#analysis.; /* collect data for a MP3 frame analyzer? */
47 int write_lame_tagcxx . . $ lame_global_struct#write_lame_tag.; /* add Xing VBR tag? */
48 int decode_onlycxx . . $ lame_global_struct#decode_only.; /* use lame/mpglib to convert mp3 to wav */
49 int qualitycxx . . $ lame_global_struct#quality.; /* quality setting 0=best, 9=worst default=5 */
50 MPEG_modecxx . . $ MPEG_mode# modecxx . . $ lame_global_struct#mode.; /* see enum in lame.h
51 default = LAME picks best value */
52 int force_mscxx . . $ lame_global_struct#force_ms.; /* force M/S mode. requires mode=1 */
53 int free_formatcxx . . $ lame_global_struct#free_format.; /* use free format? default=0 */
54 int findReplayGaincxx . . $ lame_global_struct#findReplayGain.; /* find the RG value? default=0 */
55 int decode_on_the_flycxx . . $ lame_global_struct#decode_on_the_fly.; /* decode on the fly? default=0 */
56 int write_id3tag_automaticcxx . . $ lame_global_struct#write_id3tag_automatic.; /* 1 (default) writes ID3 tags, 0 not */
57
58 int nogap_totalcxx . . $ lame_global_struct#nogap_total.;
59 int nogap_currentcxx . . $ lame_global_struct#nogap_current.;
60
61 int substep_shapingcxx . . $ lame_global_struct#substep_shaping.;
62 int noise_shapingcxx . . $ lame_global_struct#noise_shaping.;
63 int subblock_gaincxx . . $ lame_global_struct#subblock_gain.; /* 0 = no, 1 = yes */
64 int use_best_huffmancxx . . $ lame_global_struct#use_best_huffman.; /* 0 = no. 1=outside loop 2=inside loop(slow) */
65
66 /*
67 * set either brate>0 or compression_ratio>0, LAME will compute
68 * the value of the variable not set.
69 * Default is compression_ratio = 11.025
70 */
71 int bratecxx . . $ lame_global_struct#brate.; /* bitrate */
72 float compression_ratiocxx . . $ lame_global_struct#compression_ratio.; /* sizeof(wav file)/sizeof(mp3 file) */
73
74
75 /* frame params */
76 int copyrightcxx . . $ lame_global_struct#copyright.; /* mark as copyright. default=0 */
77 int originalcxx . . $ lame_global_struct#original.; /* mark as original. default=1 */
78 int extensioncxx . . $ lame_global_struct#extension.; /* the MP3 'private extension' bit.
79 Meaningless */
80 int emphasiscxx . . $ lame_global_struct#emphasis.; /* Input PCM is emphased PCM (for
81 instance from one of the rarely
82 emphased CDs), it is STRONGLY not
83 recommended to use this, because
84 psycho does not take it into account,
85 and last but not least many decoders
86 don't care about these bits */
87 int error_protectioncxx . . $ lame_global_struct#error_protection.; /* use 2 bytes per frame for a CRC
88 checksum. default=0 */
89 int strict_ISOcxx . . $ lame_global_struct#strict_ISO.; /* enforce ISO spec as much as possible */
90
91 int disable_reservoircxx . . $ lame_global_struct#disable_reservoir.; /* use bit reservoir? */
92
93 /* quantization/noise shaping */
94 int quant_compcxx . . $ lame_global_struct#quant_comp.;
95 int quant_comp_shortcxx . . $ lame_global_struct#quant_comp_short.;
96 int experimentalYcxx . . $ lame_global_struct#experimentalY.;
97 int experimentalZcxx . . $ lame_global_struct#experimentalZ.;
98 int exp_nspsytunecxx . . $ lame_global_struct#exp_nspsytune.;
99
100 int presetcxx . . $ lame_global_struct#preset.;
101
102 /* VBR control */
103 vbr_modecxx . . $ vbr_mode# VBRcxx . . $ lame_global_struct#VBR.;
104 float VBR_q_fraccxx . . $ lame_global_struct#VBR_q_frac.; /* Range [0,...,1[ */
105 int VBR_qcxx . . $ lame_global_struct#VBR_q.; /* Range [0,...,9] */
106 int VBR_mean_bitrate_kbpscxx . . $ lame_global_struct#VBR_mean_bitrate_kbps.;
107 int VBR_min_bitrate_kbpscxx . . $ lame_global_struct#VBR_min_bitrate_kbps.;
108 int VBR_max_bitrate_kbpscxx . . $ lame_global_struct#VBR_max_bitrate_kbps.;
109 int VBR_hard_mincxx . . $ lame_global_struct#VBR_hard_min.; /* strictly enforce VBR_min_bitrate
110 normaly, it will be violated for analog
111 silence */
112
113
114 /* resampling and filtering */
115 int lowpassfreqcxx . . $ lame_global_struct#lowpassfreq.; /* freq in Hz. 0=lame choses.
116 -1=no filter */
117 int highpassfreqcxx . . $ lame_global_struct#highpassfreq.; /* freq in Hz. 0=lame choses.
118 -1=no filter */
119 int lowpasswidthcxx . . $ lame_global_struct#lowpasswidth.; /* freq width of filter, in Hz
120 (default=15%) */
121 int highpasswidthcxx . . $ lame_global_struct#highpasswidth.; /* freq width of filter, in Hz
122 (default=15%) */
123
124
125
126 /*
127 * psycho acoustics and other arguments which you should not change
128 * unless you know what you are doing
129 */
130 float maskingadjustcxx . . $ lame_global_struct#maskingadjust.;
131 float maskingadjust_shortcxx . . $ lame_global_struct#maskingadjust_short.;
132 int ATHonlycxx . . $ lame_global_struct#ATHonly.; /* only use ATH */
133 int ATHshortcxx . . $ lame_global_struct#ATHshort.; /* only use ATH for short blocks */
134 int noATHcxx . . $ lame_global_struct#noATH.; /* disable ATH */
135 int ATHtypecxx . . $ lame_global_struct#ATHtype.; /* select ATH formula */
136 float ATHcurvecxx . . $ lame_global_struct#ATHcurve.; /* change ATH formula 4 shape */
137 float ATH_lower_dbcxx . . $ lame_global_struct#ATH_lower_db.; /* lower ATH by this many db */
138 int athaa_typecxx . . $ lame_global_struct#athaa_type.; /* select ATH auto-adjust scheme */
139 float athaa_sensitivitycxx . . $ lame_global_struct#athaa_sensitivity.; /* dB, tune active region of auto-level */
140 short_block_tcxx . . $ short_block_t# short_blockscxx . . $ lame_global_struct#short_blocks.;
141 int useTemporalcxx . . $ lame_global_struct#useTemporal.; /* use temporal masking effect */
142 float interChRatiocxx . . $ lame_global_struct#interChRatio.;
143 float msfixcxx . . $ lame_global_struct#msfix.; /* Naoki's adjustment of Mid/Side maskings */
144
145 int tunecxx . . $ lame_global_struct#tune.; /* 0 off, 1 on */
146 float tune_value_acxx . . $ lame_global_struct#tune_value_a.; /* used to pass values for debugging and stuff */
147
148 float attackthrecxx . . $ lame_global_struct#attackthre.; /* attack threshold for L/R/M channel */
149 float attackthre_scxx . . $ lame_global_struct#attackthre_s.; /* attack threshold for S channel */
150
151
152 structcxx . . $ lame_global_struct#$anonymous_type_0# {
153 void (*msgfcxx . . $ lame_global_struct#$anonymous_type_0#msgf.) (const char *format, va_listcxx . . $ va_list# ap);
154 void (*debugfcxx . . $ lame_global_struct#$anonymous_type_0#debugf.) (const char *format, va_listcxx . . $ va_list# ap);
155 void (*errorfcxx . . $ lame_global_struct#$anonymous_type_0#errorf.) (const char *format, va_listcxx . . $ va_list# ap);
156 } reportcxx . . $ lame_global_struct#report.;
157
158 /************************************************************************/
159 /* internal variables, do not set... */
160 /* provided because they may be of use to calling application */
161 /************************************************************************/
162
163 int lame_allocated_gfpcxx . . $ lame_global_struct#lame_allocated_gfp.; /* is this struct owned by calling
164 program or lame? */
165
166
167
168 /**************************************************************************/
169 /* more internal variables are stored in this structure: */
170 /**************************************************************************/
171 lame_internal_flagscxx . . $ lame_internal_flags# *internal_flagscxx . . $ lame_global_struct#internal_flags.;
172
173
174 structcxx . . $ lame_global_struct#$anonymous_type_1# {
175 int mmxcxx . . $ lame_global_struct#$anonymous_type_1#mmx.;
176 int amd3dnowcxx . . $ lame_global_struct#$anonymous_type_1#amd3dnow.;
177 int ssecxx . . $ lame_global_struct#$anonymous_type_1#sse.;
178
179 } asm_optimizationscxx . . $ lame_global_struct#asm_optimizations.;
180 };
181
182 int is_lame_global_flags_validcxx . . $ is_lame_global_flags_valid(a5abb0ff158568ac).(const lame_global_flagscxx . . $ lame_global_flags# * gfp);
183
184 #endif /* LAME_GLOBAL_FLAGS_H */