summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-12-19 19:19:55 +0000
committerjstebbins <[email protected]>2014-12-19 19:19:55 +0000
commitefed9e46514070a25896461d2299f61ca5dc6194 (patch)
tree3a56f2e646a57336c85f6d701c5869d6228e6dfd /libhb/hb_json.h
parent4a79916632f646a6654720e313da35f5ad05db39 (diff)
json: fix hb_get_preview_json
and add some routines for json conversion of preview parameters and images git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6614 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb_json.h')
-rw-r--r--libhb/hb_json.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/libhb/hb_json.h b/libhb/hb_json.h
index c67566cb1..d8fe7b84a 100644
--- a/libhb/hb_json.h
+++ b/libhb/hb_json.h
@@ -16,14 +16,18 @@ extern "C" {
#include "hb.h"
-char * hb_get_title_set_json(hb_handle_t * h);
-char * hb_title_to_json(const hb_title_t * title);
-char * hb_job_init_json(hb_handle_t *h, int title_index);
-char * hb_job_to_json(const hb_job_t * job);
-hb_job_t * hb_json_to_job(hb_handle_t * h, const char * json_job);
-int hb_add_json(hb_handle_t *h, const char * json_job);
-char * hb_set_anamorphic_size_json(const char * json_param);
-char * hb_get_state_json(hb_handle_t * h);
+char * hb_get_title_set_json(hb_handle_t * h);
+char * hb_title_to_json(const hb_title_t * title);
+char * hb_job_init_json(hb_handle_t *h, int title_index);
+char * hb_job_to_json(const hb_job_t * job);
+hb_job_t * hb_json_to_job(hb_handle_t * h, const char * json_job);
+int hb_add_json(hb_handle_t *h, const char * json_job);
+char * hb_set_anamorphic_size_json(const char * json_param);
+char * hb_get_state_json(hb_handle_t * h);
+hb_image_t * hb_json_to_image(char *json_image);
+char * hb_get_preview_params_json(int title_idx, int preview_idx,
+ int deinterlace, hb_geometry_settings_t *settings);
+char * hb_get_preview_json(hb_handle_t * h, const char *json_param);
#ifdef __cplusplus
}