diff options
author | John Stebbins <[email protected]> | 2019-09-11 09:56:06 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-09-12 10:22:07 -0700 |
commit | 1b7948495fcf4d511e62d7f9c3a0c1a3ccb59f80 (patch) | |
tree | c87c308f35d862678a4bca37637d24acb8de1c2c /libhb/handbrake/param.h | |
parent | a7f548861f9f0be309659e93eaccd1994a3a5cfe (diff) |
libhb: resolve header conflicts with pango/harfbuzz
Newest versions appear to have a "common.h" somewhere that is
interfering with libhb/common.h.
move headers into "handbrake" subdirectory
Diffstat (limited to 'libhb/handbrake/param.h')
-rw-r--r-- | libhb/handbrake/param.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libhb/handbrake/param.h b/libhb/handbrake/param.h new file mode 100644 index 000000000..378c5e578 --- /dev/null +++ b/libhb/handbrake/param.h @@ -0,0 +1,47 @@ +/* param.h + + Copyright (c) 2003-2019 HandBrake Team + This file is part of the HandBrake source code + Homepage: <http://handbrake.fr/>. + It may be used under the terms of the GNU General Public License v2. + For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html + */ +#ifndef HB_PARAM_H +#define HB_PARAM_H + +typedef struct hb_filter_param_s hb_filter_param_t; + +struct hb_filter_param_s +{ + int index; + const char *name; + const char *short_name; + const char *settings; +}; + +void hb_param_configure_qsv(void); + +hb_dict_t * hb_generate_filter_settings(int filter_id, const char *preset, + const char *tune, const char *custom); +char * hb_generate_filter_settings_json(int filter_id, const char *preset, + const char *tune, const char *custom); + +int hb_validate_param_string(const char *regex_pattern, const char *param_string); +int hb_validate_filter_preset(int filter_id, const char *preset, + const char *tune, const char *custom); +int hb_validate_filter_settings(int filter_id, const hb_dict_t *settings); +int hb_validate_filter_settings_json(int filter_id, const char * json); +int hb_validate_filter_string(int filter_id, const char * filter_str); + +hb_filter_param_t * hb_filter_param_get_presets(int filter_id); +hb_filter_param_t * hb_filter_param_get_tunes(int filter_id); + +char ** hb_filter_get_keys(int filter_id); +char ** hb_filter_get_presets_short_name(int filter_id); +char ** hb_filter_get_presets_name(int filter_id); +char ** hb_filter_get_tunes_short_name(int filter_id); +char ** hb_filter_get_tunes_name(int filter_id); +char * hb_filter_get_presets_json(int filter_id); +char * hb_filter_get_tunes_json(int filter_id); + +#endif // HB_PARAM_H |