WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git] / libhb / param.h
blob733c2b30b56091512ca4a5c5cd49ffa81f74229b
1 /* param.h
3 Copyright (c) 2003-2015 HandBrake Team
4 This file is part of the HandBrake source code
5 Homepage: <http://handbrake.fr/>.
6 It may be used under the terms of the GNU General Public License v2.
7 For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
8 */
9 #ifndef HB_PARAM_H
10 #define HB_PARAM_H
12 extern const char hb_filter_off[];
14 typedef struct hb_filter_param_s hb_filter_param_t;
16 struct hb_filter_param_s
18 int index;
19 const char *name;
20 const char *short_name;
21 const char *settings;
24 char * hb_generate_filter_settings(int filter_id,
25 const char *preset, const char *tune);
26 char * hb_generate_filter_settings_by_index(int filter_id, int preset,
27 const char *custom);
29 int hb_validate_filter_preset(int filter_id,
30 const char *preset, const char *tune);
31 int hb_validate_filter_settings(int filter_id, const char *filter_param);
32 int hb_validate_param_string(const char *regex_pattern,
33 const char *param_string);
35 hb_filter_param_t * hb_filter_param_get_presets(int filter_id);
36 hb_filter_param_t * hb_filter_param_get_tunes(int filter_id);
38 #endif // HB_PARAM_H