21 #ifndef LIBHEIF_HEIF_PLUGIN_H
22 #define LIBHEIF_HEIF_PLUGIN_H
59 const char* (*get_plugin_name)();
144 const char* (*get_plugin_name)();
202 #define heif_encoder_parameter_name_quality "quality"
203 #define heif_encoder_parameter_name_lossless "lossless"
heif_colorspace
Definition: heif.h:741
heif_chroma
Definition: heif.h:722
heif_compression_format
Definition: heif.h:715
heif_encoder_parameter_type
Definition: heif.h:1030
heif_image_input_class
Definition: heif_plugin.h:111
@ heif_image_input_class_alpha
Definition: heif_plugin.h:113
@ heif_image_input_class_thumbnail
Definition: heif_plugin.h:115
@ heif_image_input_class_depth
Definition: heif_plugin.h:114
@ heif_image_input_class_normal
Definition: heif_plugin.h:112
struct heif_error heif_error_unsupported_parameter
struct heif_error heif_error_ok
heif_encoded_data_type
Definition: heif_plugin.h:100
@ heif_encoded_data_type_HEVC_header
Definition: heif_plugin.h:101
@ heif_encoded_data_type_HEVC_image
Definition: heif_plugin.h:102
@ heif_encoded_data_type_HEVC_depth_SEI
Definition: heif_plugin.h:103
struct heif_error heif_error_invalid_parameter_value
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: heif_plugin.h:51
void(* deinit_plugin)()
Definition: heif_plugin.h:65
int(* does_support_format)(enum heif_compression_format format)
Definition: heif_plugin.h:70
void(* free_decoder)(void *decoder)
Definition: heif_plugin.h:76
struct heif_error(* push_data)(void *decoder, const void *data, size_t size)
Definition: heif_plugin.h:80
struct heif_error(* decode_image)(void *decoder, struct heif_image **out_img)
Definition: heif_plugin.h:86
struct heif_error(* new_decoder)(void **decoder)
Definition: heif_plugin.h:73
void(* init_plugin)()
Definition: heif_plugin.h:62
int plugin_api_version
Definition: heif_plugin.h:53
Definition: heif_plugin.h:208
uint8_t have_minimum_maximum
Definition: heif_plugin.h:220
int has_default
Definition: heif_plugin.h:241
int default_value
Definition: heif_plugin.h:218
int version
Definition: heif_plugin.h:209
struct heif_encoder_parameter::@47::@51 boolean
struct heif_encoder_parameter::@47::@50 string
int maximum
Definition: heif_plugin.h:222
int num_valid_values
Definition: heif_plugin.h:225
const char * name
Definition: heif_plugin.h:213
int minimum
Definition: heif_plugin.h:221
const char *const * valid_values
Definition: heif_plugin.h:231
enum heif_encoder_parameter_type type
Definition: heif_plugin.h:214
const char * default_value
Definition: heif_plugin.h:229
int * valid_values
Definition: heif_plugin.h:224
struct heif_encoder_parameter::@47::@49 integer
Definition: heif_plugin.h:120
enum heif_compression_format compression_format
Definition: heif_plugin.h:128
struct heif_error(* get_parameter_quality)(void *encoder, int *quality)
Definition: heif_plugin.h:160
struct heif_error(* get_parameter_string)(void *encoder, const char *name, char *value, int value_size)
Definition: heif_plugin.h:175
void(* cleanup_plugin)()
Definition: heif_plugin.h:151
int priority
Definition: heif_plugin.h:135
struct heif_error(* get_parameter_lossless)(void *encoder, int *lossless)
Definition: heif_plugin.h:163
struct heif_error(* set_parameter_string)(void *encoder, const char *name, const char *value)
Definition: heif_plugin.h:174
const char * id_name
Definition: heif_plugin.h:132
void(* free_encoder)(void *encoder)
Definition: heif_plugin.h:157
struct heif_error(* set_parameter_integer)(void *encoder, const char *name, int value)
Definition: heif_plugin.h:170
struct heif_error(* get_parameter_logging_level)(void *encoder, int *logging)
Definition: heif_plugin.h:166
struct heif_error(* set_parameter_logging_level)(void *encoder, int logging)
Definition: heif_plugin.h:165
int supports_lossless_compression
Definition: heif_plugin.h:140
struct heif_error(* get_compressed_data)(void *encoder, uint8_t **data, int *size, enum heif_encoded_data_type *type)
Definition: heif_plugin.h:190
void(* query_input_colorspace)(enum heif_colorspace *inout_colorspace, enum heif_chroma *inout_chroma)
Definition: heif_plugin.h:179
struct heif_error(* get_parameter_integer)(void *encoder, const char *name, int *value)
Definition: heif_plugin.h:171
struct heif_error(* encode_image)(void *encoder, const struct heif_image *image, enum heif_image_input_class image_class)
Definition: heif_plugin.h:185
struct heif_error(* set_parameter_boolean)(void *encoder, const char *name, int value)
Definition: heif_plugin.h:172
int supports_lossy_compression
Definition: heif_plugin.h:139
struct heif_error(* new_encoder)(void **encoder)
Definition: heif_plugin.h:154
struct heif_error(* get_parameter_boolean)(void *encoder, const char *name, int *value)
Definition: heif_plugin.h:173
int plugin_api_version
Definition: heif_plugin.h:122
struct heif_error(* set_parameter_lossless)(void *encoder, int lossless)
Definition: heif_plugin.h:162
struct heif_error(* set_parameter_quality)(void *encoder, int quality)
Definition: heif_plugin.h:159
void(* init_plugin)()
Definition: heif_plugin.h:147
Definition: heif_api_structs.h:39