Debian Codegraph @

components/encoder/bonk/config.h

raw symbols SCIP
1 /* BoCA - BonkEnc Component Architecture
2 * Copyright (C) 2007-2017 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_BONKCONFIG
14 #define H_BONKCONFIG
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 using namespace smooth;
20 using namespace smooth::GUI;
21
22 using namespace BoCA;
23
24 namespace BoCA
25 {
26 class ConfigureBonk : public ConfigLayer
27 {
28 private:
29 GroupBox *group_quant;
30 Slider *slider_quant;
31 Text *text_quant;
32
33 GroupBox *group_stereo;
34 CheckBox *check_joint;
35
36 GroupBox *group_mode;
37 CheckBox *check_lossless;
38
39 GroupBox *group_downsampling;
40 Slider *slider_downsampling;
41 Text *text_downsampling;
42
43 GroupBox *group_predictor;
44 Slider *slider_predictor;
45 Text *text_predictor;
46
47 Int quant;
48 Int predictor;
49 Int downsampling;
50 Bool jstereo;
51 Bool lossless;
52 slots:
53 Void SetQuantization();
54 Void SetPredictorSize();
55 Void SetDownsamplingRatio();
56 Void SetEncoderMode();
57 public:
58 static const String ConfigID;
59
60 ConfigureBonk();
61 ~ConfigureBonk();
62
63 Int SaveSettings();
64 };
65 };
66
67 #endif