summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.h
blob: c67566cb17d5a2e5cb286122fc063c64a280e777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* hb_json.h

   Copyright (c) 2003-2014 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_JSON_H
#define HB_JSON_H

#ifdef __cplusplus
extern "C" {
#endif

#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);

#ifdef __cplusplus
}
#endif

#endif // HB_JSON_H