Debian Codegraph @

libmp3lame/set_get.h

raw
1 /*
2 * set_get.h -- Internal set/get definitions
3 *
4 * Copyright (C) 2003 Gabriel Bouvigne / Lame project
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19 */
20
21 #ifndef __SET_GET_H__
22 #define __SET_GET_H__
23
24 #include <lame.h>
25
26 #if defined(__cplusplus)
27 extern "C" {
28 #endif
29
30 /* select psychoacoustic model */
31
32 /* manage short blocks */
33 int CDECL lame_set_short_threshold(lame_global_flags *, float, float);
34 int CDECL lame_set_short_threshold_lrm(lame_global_flags *, float);
35 float CDECL lame_get_short_threshold_lrm(const lame_global_flags *);
36 int CDECL lame_set_short_threshold_s(lame_global_flags *, float);
37 float CDECL lame_get_short_threshold_s(const lame_global_flags *);
38
39
40 int CDECL lame_set_maskingadjust(lame_global_flags *, float);
41 float CDECL lame_get_maskingadjust(const lame_global_flags *);
42
43 int CDECL lame_set_maskingadjust_short(lame_global_flags *, float);
44 float CDECL lame_get_maskingadjust_short(const lame_global_flags *);
45
46 /* select ATH formula 4 shape */
47 int CDECL lame_set_ATHcurve(lame_global_flags *, float);
48 float CDECL lame_get_ATHcurve(const lame_global_flags *);
49
50 int CDECL lame_set_preset_notune(lame_global_flags *, int);
51
52 /* substep shaping method */
53 int CDECL lame_set_substep(lame_global_flags *, int);
54 int CDECL lame_get_substep(const lame_global_flags *);
55
56 /* scalefactors scale */
57 int CDECL lame_set_sfscale(lame_global_flags *, int);
58 int CDECL lame_get_sfscale(const lame_global_flags *);
59
60 /* subblock gain */
61 int CDECL lame_set_subblock_gain(lame_global_flags *, int);
62 int CDECL lame_get_subblock_gain(const lame_global_flags *);
63
64
65
66 /*presets*/
67 int apply_preset(lame_global_flags *, int preset, int enforce);
68
69 void CDECL lame_set_tune(lame_t, float); /* FOR INTERNAL USE ONLY */
70 void CDECL lame_set_msfix(lame_t gfp, double msfix);
71
72
73 #if defined(__cplusplus)
74 }
75 #endif
76 #endif