digiKam
heif.h File Reference

Go to the source code of this file.

Classes

struct  heif_color_profile_nclx
 
struct  heif_decoding_options
 
struct  heif_depth_representation_info
 
struct  heif_encoding_options
 
struct  heif_error
 
struct  heif_reader
 
struct  heif_writer
 

Macros

#define heif_chroma_interleaved_24bit   heif_chroma_interleaved_RGB
 
#define heif_chroma_interleaved_32bit   heif_chroma_interleaved_RGBA
 
#define heif_fourcc(a, b, c, d)   ((a<<24) | (b<<16) | (c<<8) | d)
 
#define LIBHEIF_API   DIGIKAM_EXPORT
 
#define LIBHEIF_HAVE_VERSION(h, m, l)   (LIBHEIF_NUMERIC_VERSION >= LIBHEIF_MAKE_VERSION(h, m, l))
 
#define LIBHEIF_MAKE_VERSION(h, m, l)   ((h) << 24 | (m) << 16 | (l) << 8)
 

Typedefs

typedef uint32_t heif_item_id
 

Enumerations

enum  heif_brand {
  heif_unknown_brand , heif_heic , heif_heix , heif_hevc ,
  heif_hevx , heif_heim , heif_heis , heif_hevm ,
  heif_hevs , heif_mif1 , heif_msf1
}
 
enum  heif_channel {
  heif_channel_Y = 0 , heif_channel_Cb = 1 , heif_channel_Cr = 2 , heif_channel_R = 3 ,
  heif_channel_G = 4 , heif_channel_B = 5 , heif_channel_Alpha = 6 , heif_channel_interleaved = 10
}
 
enum  heif_chroma {
  heif_chroma_undefined =99 , heif_chroma_monochrome =0 , heif_chroma_420 =1 , heif_chroma_422 =2 ,
  heif_chroma_444 =3 , heif_chroma_interleaved_RGB =10 , heif_chroma_interleaved_RGBA =11 , heif_chroma_interleaved_RRGGBB_BE =12 ,
  heif_chroma_interleaved_RRGGBBAA_BE =13 , heif_chroma_interleaved_RRGGBB_LE =14 , heif_chroma_interleaved_RRGGBBAA_LE =15
}
 
enum  heif_color_primaries {
  heif_color_primaries_ITU_R_BT_709_5 = 1 , heif_color_primaries_unspecified = 2 , heif_color_primaries_ITU_R_BT_470_6_System_M = 4 , heif_color_primaries_ITU_R_BT_470_6_System_B_G = 5 ,
  heif_color_primaries_ITU_R_BT_601_6 = 6 , heif_color_primaries_SMPTE_240M = 7
}
 
enum  heif_color_profile_type { heif_color_profile_type_not_present = 0 , heif_color_profile_type_nclx = heif_fourcc('n','c','l','x') , heif_color_profile_type_rICC = heif_fourcc('r','I','C','C') , heif_color_profile_type_prof = heif_fourcc('p','r','o','f') }
 
enum  heif_colorspace { heif_colorspace_undefined =99 , heif_colorspace_YCbCr =0 , heif_colorspace_RGB =1 , heif_colorspace_monochrome =2 }
 
enum  heif_compression_format { heif_compression_undefined = 0 , heif_compression_HEVC = 1 , heif_compression_AVC = 2 , heif_compression_JPEG = 3 }
 
enum  heif_depth_representation_type { heif_depth_representation_type_uniform_inverse_Z = 0 , heif_depth_representation_type_uniform_disparity = 1 , heif_depth_representation_type_uniform_Z = 2 , heif_depth_representation_type_nonuniform_disparity = 3 }
 
enum  heif_encoder_parameter_type { heif_encoder_parameter_type_integer = 1 , heif_encoder_parameter_type_boolean = 2 , heif_encoder_parameter_type_string = 3 }
 
enum  heif_error_code {
  heif_error_Ok = 0 , heif_error_Input_does_not_exist = 1 , heif_error_Invalid_input = 2 , heif_error_Unsupported_filetype = 3 ,
  heif_error_Unsupported_feature = 4 , heif_error_Usage_error = 5 , heif_error_Memory_allocation_error = 6 , heif_error_Decoder_plugin_error = 7 ,
  heif_error_Encoder_plugin_error = 8 , heif_error_Encoding_error = 9
}
 
enum  heif_filetype_result { heif_filetype_no , heif_filetype_yes_supported , heif_filetype_yes_unsupported , heif_filetype_maybe }
 
enum  heif_matrix_coefficients {
  heif_matrix_coefficients_RGB_GBR = 0 , heif_matrix_coefficients_ITU_R_BT_709_5 = 1 , heif_matrix_coefficients_unspecified = 2 , heif_matrix_coefficients_US_FCC_T47 = 4 ,
  heif_matrix_coefficients_ITU_R_BT_470_6_System_B_G = 5 , heif_matrix_coefficients_ITU_R_BT_601_6 = 6 , heif_matrix_coefficients_SMPTE_240M = 7 , heif_matrix_coefficients_YCgCo = 8
}
 
enum  heif_progress_step { heif_progress_step_total = 0 , heif_progress_step_load_tile = 1 }
 
enum  heif_reader_grow_status { heif_reader_grow_status_size_reached , heif_reader_grow_status_timeout , heif_reader_grow_status_size_beyond_eof }
 
enum  heif_suberror_code {
  heif_suberror_Unspecified = 0 , heif_suberror_End_of_data = 100 , heif_suberror_Invalid_box_size = 101 , heif_suberror_No_ftyp_box = 102 ,
  heif_suberror_No_idat_box = 103 , heif_suberror_No_meta_box = 104 , heif_suberror_No_hdlr_box = 105 , heif_suberror_No_hvcC_box = 106 ,
  heif_suberror_No_pitm_box = 107 , heif_suberror_No_ipco_box = 108 , heif_suberror_No_ipma_box = 109 , heif_suberror_No_iloc_box = 110 ,
  heif_suberror_No_iinf_box = 111 , heif_suberror_No_iprp_box = 112 , heif_suberror_No_iref_box = 113 , heif_suberror_No_pict_handler = 114 ,
  heif_suberror_Ipma_box_references_nonexisting_property = 115 , heif_suberror_No_properties_assigned_to_item = 116 , heif_suberror_No_item_data = 117 , heif_suberror_Invalid_grid_data = 118 ,
  heif_suberror_Missing_grid_images = 119 , heif_suberror_Invalid_clean_aperture = 120 , heif_suberror_Invalid_overlay_data = 121 , heif_suberror_Overlay_image_outside_of_canvas = 122 ,
  heif_suberror_Auxiliary_image_type_unspecified = 123 , heif_suberror_No_or_invalid_primary_item = 124 , heif_suberror_No_infe_box = 125 , heif_suberror_Unknown_color_profile_type = 126 ,
  heif_suberror_Wrong_tile_image_chroma_format = 127 , heif_suberror_Invalid_fractional_number = 128 , heif_suberror_Invalid_image_size = 129 , heif_suberror_Invalid_pixi_box = 130 ,
  heif_suberror_Security_limit_exceeded = 1000 , heif_suberror_Nonexisting_item_referenced = 2000 , heif_suberror_Null_pointer_argument = 2001 , heif_suberror_Nonexisting_image_channel_referenced = 2002 ,
  heif_suberror_Unsupported_plugin_version = 2003 , heif_suberror_Unsupported_writer_version = 2004 , heif_suberror_Unsupported_parameter = 2005 , heif_suberror_Invalid_parameter_value = 2006 ,
  heif_suberror_Unsupported_codec = 3000 , heif_suberror_Unsupported_image_type = 3001 , heif_suberror_Unsupported_data_version = 3002 , heif_suberror_Unsupported_color_conversion = 3003 ,
  heif_suberror_Unsupported_item_construction_method = 3004 , heif_suberror_Unsupported_bit_depth = 4000 , heif_suberror_Cannot_write_output_data = 5000
}
 
enum  heif_transfer_characteristics {
  heif_transfer_characteristic_ITU_R_BT_709_5 = 1 , heif_transfer_characteristic_unspecified = 2 , heif_transfer_characteristic_ITU_R_BT_470_6_System_M = 4 , heif_transfer_characteristic_ITU_R_BT_470_6_System_B_G = 5 ,
  heif_transfer_characteristic_ITU_R_BT_601_6 = 6 , heif_transfer_characteristic_SMPTE_240M = 7 , heif_transfer_characteristic_linear = 8 , heif_transfer_characteristic_IEC_61966_2_4 = 11 ,
  heif_transfer_characteristic_ITU_R_BT_1361 = 12 , heif_transfer_characteristic_IEC_61966_2_1 = 13
}
 

Functions

LIBHEIF_API enum heif_filetype_result heif_check_filetype (const uint8_t *data, int len)
 
LIBHEIF_API struct heif_error heif_context_add_exif_metadata (struct heif_context *, const struct heif_image_handle *image_handle, const void *data, int size)
 
LIBHEIF_API struct heif_error heif_context_add_generic_metadata (struct heif_context *ctx, const struct heif_image_handle *image_handle, const void *data, int size, const char *item_type, const char *content_type)
 
LIBHEIF_API struct heif_error heif_context_add_XMP_metadata (struct heif_context *, const struct heif_image_handle *image_handle, const void *data, int size)
 
LIBHEIF_API struct heif_contextheif_context_alloc (void)
 
LIBHEIF_API struct heif_error heif_context_assign_thumbnail (struct heif_context *, const struct heif_image_handle *master_image, const struct heif_image_handle *thumbnail_image)
 
LIBHEIF_API void heif_context_debug_dump_boxes_to_file (struct heif_context *ctx, int fd)
 
LIBHEIF_API struct heif_error heif_context_encode_image (struct heif_context *, const struct heif_image *image, struct heif_encoder *encoder, const struct heif_encoding_options *options, struct heif_image_handle **out_image_handle)
 
LIBHEIF_API struct heif_error heif_context_encode_thumbnail (struct heif_context *, const struct heif_image *image, const struct heif_image_handle *master_image_handle, struct heif_encoder *encoder, const struct heif_encoding_options *options, int bbox_size, struct heif_image_handle **out_thumb_image_handle)
 
LIBHEIF_API void heif_context_free (struct heif_context *)
 
LIBHEIF_API struct heif_error heif_context_get_encoder (struct heif_context *context, const struct heif_encoder_descriptor *, struct heif_encoder **out_encoder)
 
LIBHEIF_API int heif_context_get_encoder_descriptors (struct heif_context *, enum heif_compression_format format_filter, const char *name_filter, const struct heif_encoder_descriptor **out_encoders, int count)
 
LIBHEIF_API struct heif_error heif_context_get_encoder_for_format (struct heif_context *context, enum heif_compression_format format, struct heif_encoder **)
 
LIBHEIF_API struct heif_error heif_context_get_image_handle (struct heif_context *ctx, heif_item_id id, struct heif_image_handle **)
 
LIBHEIF_API int heif_context_get_list_of_top_level_image_IDs (struct heif_context *ctx, heif_item_id *ID_array, int count)
 
LIBHEIF_API int heif_context_get_number_of_top_level_images (struct heif_context *ctx)
 
LIBHEIF_API struct heif_error heif_context_get_primary_image_handle (struct heif_context *ctx, struct heif_image_handle **)
 
LIBHEIF_API struct heif_error heif_context_get_primary_image_ID (struct heif_context *ctx, heif_item_id *id)
 
LIBHEIF_API int heif_context_is_top_level_image_ID (struct heif_context *ctx, heif_item_id id)
 
LIBHEIF_API struct heif_error heif_context_read_from_file (struct heif_context *, const char *filename, const struct heif_reading_options *)
 
LIBHEIF_API struct heif_error heif_context_read_from_memory (struct heif_context *, const void *mem, size_t size, const struct heif_reading_options *)
 
LIBHEIF_API struct heif_error heif_context_read_from_memory_without_copy (struct heif_context *, const void *mem, size_t size, const struct heif_reading_options *)
 
LIBHEIF_API struct heif_error heif_context_read_from_reader (struct heif_context *, const struct heif_reader *reader, void *userdata, const struct heif_reading_options *)
 
LIBHEIF_API void heif_context_set_maximum_image_size_limit (struct heif_context *ctx, int maximum_width)
 
LIBHEIF_API struct heif_error heif_context_set_primary_image (struct heif_context *, struct heif_image_handle *image_handle)
 
LIBHEIF_API struct heif_error heif_context_write (struct heif_context *, struct heif_writer *writer, void *userdata)
 
LIBHEIF_API struct heif_error heif_context_write_to_file (struct heif_context *, const char *filename)
 
LIBHEIF_API struct heif_error heif_decode_image (const struct heif_image_handle *in_handle, struct heif_image **out_img, enum heif_colorspace colorspace, enum heif_chroma chroma, const struct heif_decoding_options *options)
 
LIBHEIF_API struct heif_decoding_optionsheif_decoding_options_alloc ()
 
LIBHEIF_API void heif_decoding_options_free (struct heif_decoding_options *)
 
LIBHEIF_API void heif_depth_representation_info_free (const struct heif_depth_representation_info *info)
 
LIBHEIF_API enum heif_compression_format heif_encoder_descriptor_get_compression_format (const struct heif_encoder_descriptor *)
 
LIBHEIF_API const char * heif_encoder_descriptor_get_id_name (const struct heif_encoder_descriptor *)
 
LIBHEIF_API const char * heif_encoder_descriptor_get_name (const struct heif_encoder_descriptor *)
 
LIBHEIF_API int heif_encoder_descriptor_supportes_lossless_compression (const struct heif_encoder_descriptor *)
 
LIBHEIF_API int heif_encoder_descriptor_supportes_lossy_compression (const struct heif_encoder_descriptor *)
 
LIBHEIF_API const char * heif_encoder_get_name (const struct heif_encoder *)
 
LIBHEIF_API struct heif_error heif_encoder_get_parameter (struct heif_encoder *, const char *parameter_name, char *value_ptr, int value_size)
 
LIBHEIF_API struct heif_error heif_encoder_get_parameter_boolean (struct heif_encoder *, const char *parameter_name, int *value)
 
LIBHEIF_API struct heif_error heif_encoder_get_parameter_integer (struct heif_encoder *, const char *parameter_name, int *value)
 
LIBHEIF_API struct heif_error heif_encoder_get_parameter_string (struct heif_encoder *, const char *parameter_name, char *value, int value_size)
 
LIBHEIF_API int heif_encoder_has_default (struct heif_encoder *, const char *parameter_name)
 
LIBHEIF_API const struct heif_encoder_parameter *const * heif_encoder_list_parameters (struct heif_encoder *)
 
LIBHEIF_API const char * heif_encoder_parameter_get_name (const struct heif_encoder_parameter *)
 
LIBHEIF_API enum heif_encoder_parameter_type heif_encoder_parameter_get_type (const struct heif_encoder_parameter *)
 
LIBHEIF_API struct heif_error heif_encoder_parameter_get_valid_integer_range (const struct heif_encoder_parameter *, int *have_minimum_maximum, int *minimum, int *maximum)
 
LIBHEIF_API struct heif_error heif_encoder_parameter_get_valid_string_values (const struct heif_encoder_parameter *, const char *const **out_stringarray)
 
LIBHEIF_API struct heif_error heif_encoder_parameter_integer_valid_range (struct heif_encoder *, const char *parameter_name, int *have_minimum_maximum, int *minimum, int *maximum)
 
LIBHEIF_API struct heif_error heif_encoder_parameter_string_valid_values (struct heif_encoder *, const char *parameter_name, const char *const **out_stringarray)
 
LIBHEIF_API void heif_encoder_release (struct heif_encoder *)
 
LIBHEIF_API struct heif_error heif_encoder_set_logging_level (struct heif_encoder *, int level)
 
LIBHEIF_API struct heif_error heif_encoder_set_lossless (struct heif_encoder *, int enable)
 
LIBHEIF_API struct heif_error heif_encoder_set_lossy_quality (struct heif_encoder *, int quality)
 
LIBHEIF_API struct heif_error heif_encoder_set_parameter (struct heif_encoder *, const char *parameter_name, const char *value)
 
LIBHEIF_API struct heif_error heif_encoder_set_parameter_boolean (struct heif_encoder *, const char *parameter_name, int value)
 
LIBHEIF_API struct heif_error heif_encoder_set_parameter_integer (struct heif_encoder *, const char *parameter_name, int value)
 
LIBHEIF_API struct heif_error heif_encoder_set_parameter_string (struct heif_encoder *, const char *parameter_name, const char *value)
 
LIBHEIF_API struct heif_encoding_optionsheif_encoding_options_alloc ()
 
LIBHEIF_API void heif_encoding_options_free (struct heif_encoding_options *)
 
LIBHEIF_API const char * heif_get_file_mime_type (const uint8_t *data, int len)
 
LIBHEIF_API const char * heif_get_version (void)
 
LIBHEIF_API uint32_t heif_get_version_number (void)
 
LIBHEIF_API int heif_get_version_number_maintenance (void)
 
LIBHEIF_API int heif_get_version_number_major (void)
 
LIBHEIF_API int heif_get_version_number_minor (void)
 
LIBHEIF_API int heif_have_decoder_for_format (enum heif_compression_format format)
 
LIBHEIF_API int heif_have_encoder_for_format (enum heif_compression_format format)
 
LIBHEIF_API struct heif_error heif_image_add_plane (struct heif_image *image, enum heif_channel channel, int width, int height, int bit_depth)
 
LIBHEIF_API struct heif_error heif_image_create (int width, int height, enum heif_colorspace colorspace, enum heif_chroma chroma, struct heif_image **out_image)
 
LIBHEIF_API int heif_image_get_bits_per_pixel (const struct heif_image *, enum heif_channel channel)
 
LIBHEIF_API int heif_image_get_bits_per_pixel_range (const struct heif_image *, enum heif_channel channel)
 
LIBHEIF_API enum heif_chroma heif_image_get_chroma_format (const struct heif_image *)
 
LIBHEIF_API enum heif_color_profile_type heif_image_get_color_profile_type (const struct heif_image *image)
 
LIBHEIF_API enum heif_colorspace heif_image_get_colorspace (const struct heif_image *)
 
LIBHEIF_API int heif_image_get_height (const struct heif_image *, enum heif_channel channel)
 
LIBHEIF_API struct heif_error heif_image_get_nclx_color_profile (const struct heif_image *image, struct heif_color_profile_nclx **out_data)
 
LIBHEIF_API uint8_t * heif_image_get_plane (struct heif_image *, enum heif_channel channel, int *out_stride)
 
LIBHEIF_API const uint8_t * heif_image_get_plane_readonly (const struct heif_image *, enum heif_channel channel, int *out_stride)
 
LIBHEIF_API struct heif_error heif_image_get_raw_color_profile (const struct heif_image *image, void *out_data)
 
LIBHEIF_API size_t heif_image_get_raw_color_profile_size (const struct heif_image *image)
 
LIBHEIF_API int heif_image_get_width (const struct heif_image *, enum heif_channel channel)
 
LIBHEIF_API int heif_image_handle_get_chroma_bits_per_pixel (const struct heif_image_handle *)
 
LIBHEIF_API enum heif_color_profile_type heif_image_handle_get_color_profile_type (const struct heif_image_handle *handle)
 
LIBHEIF_API struct heif_error heif_image_handle_get_depth_image_handle (const struct heif_image_handle *handle, heif_item_id depth_image_id, struct heif_image_handle **out_depth_handle)
 
LIBHEIF_API int heif_image_handle_get_depth_image_representation_info (const struct heif_image_handle *handle, heif_item_id depth_image_id, const struct heif_depth_representation_info **out)
 
LIBHEIF_API int heif_image_handle_get_height (const struct heif_image_handle *handle)
 
LIBHEIF_API int heif_image_handle_get_ispe_height (const struct heif_image_handle *handle)
 
LIBHEIF_API int heif_image_handle_get_ispe_width (const struct heif_image_handle *handle)
 
LIBHEIF_API int heif_image_handle_get_list_of_depth_image_IDs (const struct heif_image_handle *handle, heif_item_id *ids, int count)
 
LIBHEIF_API int heif_image_handle_get_list_of_metadata_block_IDs (const struct heif_image_handle *handle, const char *type_filter, heif_item_id *ids, int count)
 
LIBHEIF_API int heif_image_handle_get_list_of_thumbnail_IDs (const struct heif_image_handle *handle, heif_item_id *ids, int count)
 
LIBHEIF_API int heif_image_handle_get_luma_bits_per_pixel (const struct heif_image_handle *)
 
LIBHEIF_API struct heif_error heif_image_handle_get_metadata (const struct heif_image_handle *handle, heif_item_id metadata_id, void *out_data)
 
LIBHEIF_API const char * heif_image_handle_get_metadata_content_type (const struct heif_image_handle *handle, heif_item_id metadata_id)
 
LIBHEIF_API size_t heif_image_handle_get_metadata_size (const struct heif_image_handle *handle, heif_item_id metadata_id)
 
LIBHEIF_API const char * heif_image_handle_get_metadata_type (const struct heif_image_handle *handle, heif_item_id metadata_id)
 
LIBHEIF_API struct heif_error heif_image_handle_get_nclx_color_profile (const struct heif_image_handle *handle, struct heif_color_profile_nclx **out_data)
 
LIBHEIF_API int heif_image_handle_get_number_of_depth_images (const struct heif_image_handle *handle)
 
LIBHEIF_API int heif_image_handle_get_number_of_metadata_blocks (const struct heif_image_handle *handle, const char *type_filter)
 
LIBHEIF_API int heif_image_handle_get_number_of_thumbnails (const struct heif_image_handle *handle)
 
LIBHEIF_API struct heif_error heif_image_handle_get_raw_color_profile (const struct heif_image_handle *handle, void *out_data)
 
LIBHEIF_API size_t heif_image_handle_get_raw_color_profile_size (const struct heif_image_handle *handle)
 
LIBHEIF_API struct heif_error heif_image_handle_get_thumbnail (const struct heif_image_handle *main_image_handle, heif_item_id thumbnail_id, struct heif_image_handle **out_thumbnail_handle)
 
LIBHEIF_API int heif_image_handle_get_width (const struct heif_image_handle *handle)
 
LIBHEIF_API int heif_image_handle_has_alpha_channel (const struct heif_image_handle *)
 
LIBHEIF_API int heif_image_handle_has_depth_image (const struct heif_image_handle *)
 
LIBHEIF_API int heif_image_handle_is_primary_image (const struct heif_image_handle *handle)
 
LIBHEIF_API void heif_image_handle_release (const struct heif_image_handle *)
 
LIBHEIF_API int heif_image_has_channel (const struct heif_image *, enum heif_channel channel)
 
LIBHEIF_API void heif_image_release (const struct heif_image *)
 
LIBHEIF_API struct heif_error heif_image_scale_image (const struct heif_image *input, struct heif_image **output, int width, int height, const struct heif_scaling_options *options)
 
LIBHEIF_API struct heif_error heif_image_set_nclx_color_profile (struct heif_image *image, const struct heif_color_profile_nclx *color_profile)
 
LIBHEIF_API struct heif_error heif_image_set_raw_color_profile (struct heif_image *image, const char *profile_type_fourcc_string, const void *profile_data, const size_t profile_size)
 
LIBHEIF_API enum heif_brand heif_main_brand (const uint8_t *data, int len)
 
LIBHEIF_API struct heif_error heif_register_decoder (struct heif_context *heif, const struct heif_decoder_plugin *)
 
LIBHEIF_API struct heif_error heif_register_decoder_plugin (const struct heif_decoder_plugin *)
 
LIBHEIF_API struct heif_error heif_register_encoder_plugin (const struct heif_encoder_plugin *)
 

Macro Definition Documentation

◆ heif_chroma_interleaved_24bit

#define heif_chroma_interleaved_24bit   heif_chroma_interleaved_RGB

◆ heif_chroma_interleaved_32bit

#define heif_chroma_interleaved_32bit   heif_chroma_interleaved_RGBA

◆ heif_fourcc

#define heif_fourcc (   a,
  b,
  c,
 
)    ((a<<24) | (b<<16) | (c<<8) | d)

◆ LIBHEIF_API

#define LIBHEIF_API   DIGIKAM_EXPORT

◆ LIBHEIF_HAVE_VERSION

#define LIBHEIF_HAVE_VERSION (   h,
  m,
 
)    (LIBHEIF_NUMERIC_VERSION >= LIBHEIF_MAKE_VERSION(h, m, l))

◆ LIBHEIF_MAKE_VERSION

#define LIBHEIF_MAKE_VERSION (   h,
  m,
 
)    ((h) << 24 | (m) << 16 | (l) << 8)

Typedef Documentation

◆ heif_item_id

typedef uint32_t heif_item_id

Enumeration Type Documentation

◆ heif_brand

enum heif_brand
Enumerator
heif_unknown_brand 
heif_heic 
heif_heix 
heif_hevc 
heif_hevx 
heif_heim 
heif_heis 
heif_hevm 
heif_hevs 
heif_mif1 
heif_msf1 

◆ heif_channel

Enumerator
heif_channel_Y 
heif_channel_Cb 
heif_channel_Cr 
heif_channel_R 
heif_channel_G 
heif_channel_B 
heif_channel_Alpha 
heif_channel_interleaved 

◆ heif_chroma

Enumerator
heif_chroma_undefined 
heif_chroma_monochrome 
heif_chroma_420 
heif_chroma_422 
heif_chroma_444 
heif_chroma_interleaved_RGB 
heif_chroma_interleaved_RGBA 
heif_chroma_interleaved_RRGGBB_BE 
heif_chroma_interleaved_RRGGBBAA_BE 
heif_chroma_interleaved_RRGGBB_LE 
heif_chroma_interleaved_RRGGBBAA_LE 

◆ heif_color_primaries

Enumerator
heif_color_primaries_ITU_R_BT_709_5 
heif_color_primaries_unspecified 
heif_color_primaries_ITU_R_BT_470_6_System_M 
heif_color_primaries_ITU_R_BT_470_6_System_B_G 
heif_color_primaries_ITU_R_BT_601_6 
heif_color_primaries_SMPTE_240M 

◆ heif_color_profile_type

Enumerator
heif_color_profile_type_not_present 
heif_color_profile_type_nclx 
heif_color_profile_type_rICC 
heif_color_profile_type_prof 

◆ heif_colorspace

Enumerator
heif_colorspace_undefined 
heif_colorspace_YCbCr 
heif_colorspace_RGB 
heif_colorspace_monochrome 

◆ heif_compression_format

Enumerator
heif_compression_undefined 
heif_compression_HEVC 
heif_compression_AVC 
heif_compression_JPEG 

◆ heif_depth_representation_type

Enumerator
heif_depth_representation_type_uniform_inverse_Z 
heif_depth_representation_type_uniform_disparity 
heif_depth_representation_type_uniform_Z 
heif_depth_representation_type_nonuniform_disparity 

◆ heif_encoder_parameter_type

Enumerator
heif_encoder_parameter_type_integer 
heif_encoder_parameter_type_boolean 
heif_encoder_parameter_type_string 

◆ heif_error_code

Enumerator
heif_error_Ok 
heif_error_Input_does_not_exist 
heif_error_Invalid_input 
heif_error_Unsupported_filetype 
heif_error_Unsupported_feature 
heif_error_Usage_error 
heif_error_Memory_allocation_error 
heif_error_Decoder_plugin_error 
heif_error_Encoder_plugin_error 
heif_error_Encoding_error 

◆ heif_filetype_result

Enumerator
heif_filetype_no 
heif_filetype_yes_supported 
heif_filetype_yes_unsupported 
heif_filetype_maybe 

◆ heif_matrix_coefficients

Enumerator
heif_matrix_coefficients_RGB_GBR 
heif_matrix_coefficients_ITU_R_BT_709_5 
heif_matrix_coefficients_unspecified 
heif_matrix_coefficients_US_FCC_T47 
heif_matrix_coefficients_ITU_R_BT_470_6_System_B_G 
heif_matrix_coefficients_ITU_R_BT_601_6 
heif_matrix_coefficients_SMPTE_240M 
heif_matrix_coefficients_YCgCo 

◆ heif_progress_step

Enumerator
heif_progress_step_total 
heif_progress_step_load_tile 

◆ heif_reader_grow_status

Enumerator
heif_reader_grow_status_size_reached 
heif_reader_grow_status_timeout 
heif_reader_grow_status_size_beyond_eof 

◆ heif_suberror_code

Enumerator
heif_suberror_Unspecified 
heif_suberror_End_of_data 
heif_suberror_Invalid_box_size 
heif_suberror_No_ftyp_box 
heif_suberror_No_idat_box 
heif_suberror_No_meta_box 
heif_suberror_No_hdlr_box 
heif_suberror_No_hvcC_box 
heif_suberror_No_pitm_box 
heif_suberror_No_ipco_box 
heif_suberror_No_ipma_box 
heif_suberror_No_iloc_box 
heif_suberror_No_iinf_box 
heif_suberror_No_iprp_box 
heif_suberror_No_iref_box 
heif_suberror_No_pict_handler 
heif_suberror_Ipma_box_references_nonexisting_property 
heif_suberror_No_properties_assigned_to_item 
heif_suberror_No_item_data 
heif_suberror_Invalid_grid_data 
heif_suberror_Missing_grid_images 
heif_suberror_Invalid_clean_aperture 
heif_suberror_Invalid_overlay_data 
heif_suberror_Overlay_image_outside_of_canvas 
heif_suberror_Auxiliary_image_type_unspecified 
heif_suberror_No_or_invalid_primary_item 
heif_suberror_No_infe_box 
heif_suberror_Unknown_color_profile_type 
heif_suberror_Wrong_tile_image_chroma_format 
heif_suberror_Invalid_fractional_number 
heif_suberror_Invalid_image_size 
heif_suberror_Invalid_pixi_box 
heif_suberror_Security_limit_exceeded 
heif_suberror_Nonexisting_item_referenced 
heif_suberror_Null_pointer_argument 
heif_suberror_Nonexisting_image_channel_referenced 
heif_suberror_Unsupported_plugin_version 
heif_suberror_Unsupported_writer_version 
heif_suberror_Unsupported_parameter 
heif_suberror_Invalid_parameter_value 
heif_suberror_Unsupported_codec 
heif_suberror_Unsupported_image_type 
heif_suberror_Unsupported_data_version 
heif_suberror_Unsupported_color_conversion 
heif_suberror_Unsupported_item_construction_method 
heif_suberror_Unsupported_bit_depth 
heif_suberror_Cannot_write_output_data 

◆ heif_transfer_characteristics

Enumerator
heif_transfer_characteristic_ITU_R_BT_709_5 
heif_transfer_characteristic_unspecified 
heif_transfer_characteristic_ITU_R_BT_470_6_System_M 
heif_transfer_characteristic_ITU_R_BT_470_6_System_B_G 
heif_transfer_characteristic_ITU_R_BT_601_6 
heif_transfer_characteristic_SMPTE_240M 
heif_transfer_characteristic_linear 
heif_transfer_characteristic_IEC_61966_2_4 
heif_transfer_characteristic_ITU_R_BT_1361 
heif_transfer_characteristic_IEC_61966_2_1 

Function Documentation

◆ heif_check_filetype()

LIBHEIF_API enum heif_filetype_result heif_check_filetype ( const uint8_t *  data,
int  len 
)

◆ heif_context_add_exif_metadata()

LIBHEIF_API struct heif_error heif_context_add_exif_metadata ( struct heif_context ,
const struct heif_image_handle image_handle,
const void *  data,
int  size 
)

◆ heif_context_add_generic_metadata()

LIBHEIF_API struct heif_error heif_context_add_generic_metadata ( struct heif_context ctx,
const struct heif_image_handle image_handle,
const void *  data,
int  size,
const char *  item_type,
const char *  content_type 
)

◆ heif_context_add_XMP_metadata()

LIBHEIF_API struct heif_error heif_context_add_XMP_metadata ( struct heif_context ,
const struct heif_image_handle image_handle,
const void *  data,
int  size 
)

◆ heif_context_alloc()

◆ heif_context_assign_thumbnail()

LIBHEIF_API struct heif_error heif_context_assign_thumbnail ( struct heif_context ,
const struct heif_image_handle master_image,
const struct heif_image_handle thumbnail_image 
)

◆ heif_context_debug_dump_boxes_to_file()

LIBHEIF_API void heif_context_debug_dump_boxes_to_file ( struct heif_context ctx,
int  fd 
)

◆ heif_context_encode_image()

LIBHEIF_API struct heif_error heif_context_encode_image ( struct heif_context ,
const struct heif_image image,
struct heif_encoder encoder,
const struct heif_encoding_options options,
struct heif_image_handle **  out_image_handle 
)

◆ heif_context_encode_thumbnail()

LIBHEIF_API struct heif_error heif_context_encode_thumbnail ( struct heif_context ,
const struct heif_image image,
const struct heif_image_handle master_image_handle,
struct heif_encoder encoder,
const struct heif_encoding_options options,
int  bbox_size,
struct heif_image_handle **  out_thumb_image_handle 
)

◆ heif_context_free()

◆ heif_context_get_encoder()

LIBHEIF_API struct heif_error heif_context_get_encoder ( struct heif_context context,
const struct heif_encoder_descriptor ,
struct heif_encoder **  out_encoder 
)

◆ heif_context_get_encoder_descriptors()

LIBHEIF_API int heif_context_get_encoder_descriptors ( struct heif_context ,
enum heif_compression_format  format_filter,
const char *  name_filter,
const struct heif_encoder_descriptor **  out_encoders,
int  count 
)

◆ heif_context_get_encoder_for_format()

LIBHEIF_API struct heif_error heif_context_get_encoder_for_format ( struct heif_context context,
enum heif_compression_format  format,
struct heif_encoder **   
)

◆ heif_context_get_image_handle()

LIBHEIF_API struct heif_error heif_context_get_image_handle ( struct heif_context ctx,
heif_item_id  id,
struct heif_image_handle **   
)

◆ heif_context_get_list_of_top_level_image_IDs()

LIBHEIF_API int heif_context_get_list_of_top_level_image_IDs ( struct heif_context ctx,
heif_item_id ID_array,
int  count 
)

◆ heif_context_get_number_of_top_level_images()

LIBHEIF_API int heif_context_get_number_of_top_level_images ( struct heif_context ctx)

◆ heif_context_get_primary_image_handle()

LIBHEIF_API struct heif_error heif_context_get_primary_image_handle ( struct heif_context ctx,
struct heif_image_handle **   
)

◆ heif_context_get_primary_image_ID()

LIBHEIF_API struct heif_error heif_context_get_primary_image_ID ( struct heif_context ctx,
heif_item_id id 
)

◆ heif_context_is_top_level_image_ID()

LIBHEIF_API int heif_context_is_top_level_image_ID ( struct heif_context ctx,
heif_item_id  id 
)

◆ heif_context_read_from_file()

LIBHEIF_API struct heif_error heif_context_read_from_file ( struct heif_context ,
const char *  filename,
const struct heif_reading_options *   
)

◆ heif_context_read_from_memory()

LIBHEIF_API struct heif_error heif_context_read_from_memory ( struct heif_context ,
const void *  mem,
size_t  size,
const struct heif_reading_options *   
)

◆ heif_context_read_from_memory_without_copy()

LIBHEIF_API struct heif_error heif_context_read_from_memory_without_copy ( struct heif_context ,
const void *  mem,
size_t  size,
const struct heif_reading_options *   
)

◆ heif_context_read_from_reader()

LIBHEIF_API struct heif_error heif_context_read_from_reader ( struct heif_context ,
const struct heif_reader reader,
void *  userdata,
const struct heif_reading_options *   
)

◆ heif_context_set_maximum_image_size_limit()

LIBHEIF_API void heif_context_set_maximum_image_size_limit ( struct heif_context ctx,
int  maximum_width 
)

◆ heif_context_set_primary_image()

LIBHEIF_API struct heif_error heif_context_set_primary_image ( struct heif_context ,
struct heif_image_handle image_handle 
)

◆ heif_context_write()

LIBHEIF_API struct heif_error heif_context_write ( struct heif_context ,
struct heif_writer writer,
void *  userdata 
)

Referenced by heif::Context::write().

◆ heif_context_write_to_file()

LIBHEIF_API struct heif_error heif_context_write_to_file ( struct heif_context ,
const char *  filename 
)

◆ heif_decode_image()

LIBHEIF_API struct heif_error heif_decode_image ( const struct heif_image_handle in_handle,
struct heif_image **  out_img,
enum heif_colorspace  colorspace,
enum heif_chroma  chroma,
const struct heif_decoding_options options 
)

◆ heif_decoding_options_alloc()

LIBHEIF_API struct heif_decoding_options* heif_decoding_options_alloc ( )

◆ heif_decoding_options_free()

LIBHEIF_API void heif_decoding_options_free ( struct heif_decoding_options )

◆ heif_depth_representation_info_free()

LIBHEIF_API void heif_depth_representation_info_free ( const struct heif_depth_representation_info info)

◆ heif_encoder_descriptor_get_compression_format()

LIBHEIF_API enum heif_compression_format heif_encoder_descriptor_get_compression_format ( const struct heif_encoder_descriptor )

◆ heif_encoder_descriptor_get_id_name()

LIBHEIF_API const char* heif_encoder_descriptor_get_id_name ( const struct heif_encoder_descriptor )

◆ heif_encoder_descriptor_get_name()

LIBHEIF_API const char* heif_encoder_descriptor_get_name ( const struct heif_encoder_descriptor )

◆ heif_encoder_descriptor_supportes_lossless_compression()

LIBHEIF_API int heif_encoder_descriptor_supportes_lossless_compression ( const struct heif_encoder_descriptor )

◆ heif_encoder_descriptor_supportes_lossy_compression()

LIBHEIF_API int heif_encoder_descriptor_supportes_lossy_compression ( const struct heif_encoder_descriptor )

◆ heif_encoder_get_name()

LIBHEIF_API const char* heif_encoder_get_name ( const struct heif_encoder )

◆ heif_encoder_get_parameter()

LIBHEIF_API struct heif_error heif_encoder_get_parameter ( struct heif_encoder ,
const char *  parameter_name,
char *  value_ptr,
int  value_size 
)

◆ heif_encoder_get_parameter_boolean()

LIBHEIF_API struct heif_error heif_encoder_get_parameter_boolean ( struct heif_encoder ,
const char *  parameter_name,
int *  value 
)

◆ heif_encoder_get_parameter_integer()

LIBHEIF_API struct heif_error heif_encoder_get_parameter_integer ( struct heif_encoder ,
const char *  parameter_name,
int *  value 
)

◆ heif_encoder_get_parameter_string()

LIBHEIF_API struct heif_error heif_encoder_get_parameter_string ( struct heif_encoder ,
const char *  parameter_name,
char *  value,
int  value_size 
)

◆ heif_encoder_has_default()

LIBHEIF_API int heif_encoder_has_default ( struct heif_encoder ,
const char *  parameter_name 
)

◆ heif_encoder_list_parameters()

LIBHEIF_API const struct heif_encoder_parameter* const* heif_encoder_list_parameters ( struct heif_encoder )

◆ heif_encoder_parameter_get_name()

LIBHEIF_API const char* heif_encoder_parameter_get_name ( const struct heif_encoder_parameter )

◆ heif_encoder_parameter_get_type()

LIBHEIF_API enum heif_encoder_parameter_type heif_encoder_parameter_get_type ( const struct heif_encoder_parameter )

◆ heif_encoder_parameter_get_valid_integer_range()

LIBHEIF_API struct heif_error heif_encoder_parameter_get_valid_integer_range ( const struct heif_encoder_parameter ,
int *  have_minimum_maximum,
int *  minimum,
int *  maximum 
)

◆ heif_encoder_parameter_get_valid_string_values()

LIBHEIF_API struct heif_error heif_encoder_parameter_get_valid_string_values ( const struct heif_encoder_parameter ,
const char *const **  out_stringarray 
)

◆ heif_encoder_parameter_integer_valid_range()

LIBHEIF_API struct heif_error heif_encoder_parameter_integer_valid_range ( struct heif_encoder ,
const char *  parameter_name,
int *  have_minimum_maximum,
int *  minimum,
int *  maximum 
)

◆ heif_encoder_parameter_string_valid_values()

LIBHEIF_API struct heif_error heif_encoder_parameter_string_valid_values ( struct heif_encoder ,
const char *  parameter_name,
const char *const **  out_stringarray 
)

◆ heif_encoder_release()

LIBHEIF_API void heif_encoder_release ( struct heif_encoder )

◆ heif_encoder_set_logging_level()

LIBHEIF_API struct heif_error heif_encoder_set_logging_level ( struct heif_encoder ,
int  level 
)

◆ heif_encoder_set_lossless()

LIBHEIF_API struct heif_error heif_encoder_set_lossless ( struct heif_encoder ,
int  enable 
)

◆ heif_encoder_set_lossy_quality()

LIBHEIF_API struct heif_error heif_encoder_set_lossy_quality ( struct heif_encoder ,
int  quality 
)

◆ heif_encoder_set_parameter()

LIBHEIF_API struct heif_error heif_encoder_set_parameter ( struct heif_encoder ,
const char *  parameter_name,
const char *  value 
)

◆ heif_encoder_set_parameter_boolean()

LIBHEIF_API struct heif_error heif_encoder_set_parameter_boolean ( struct heif_encoder ,
const char *  parameter_name,
int  value 
)

◆ heif_encoder_set_parameter_integer()

LIBHEIF_API struct heif_error heif_encoder_set_parameter_integer ( struct heif_encoder ,
const char *  parameter_name,
int  value 
)

◆ heif_encoder_set_parameter_string()

LIBHEIF_API struct heif_error heif_encoder_set_parameter_string ( struct heif_encoder ,
const char *  parameter_name,
const char *  value 
)

◆ heif_encoding_options_alloc()

◆ heif_encoding_options_free()

◆ heif_get_file_mime_type()

LIBHEIF_API const char* heif_get_file_mime_type ( const uint8_t *  data,
int  len 
)

◆ heif_get_version()

LIBHEIF_API const char* heif_get_version ( void  )

◆ heif_get_version_number()

LIBHEIF_API uint32_t heif_get_version_number ( void  )

◆ heif_get_version_number_maintenance()

LIBHEIF_API int heif_get_version_number_maintenance ( void  )

◆ heif_get_version_number_major()

LIBHEIF_API int heif_get_version_number_major ( void  )

◆ heif_get_version_number_minor()

LIBHEIF_API int heif_get_version_number_minor ( void  )

◆ heif_have_decoder_for_format()

LIBHEIF_API int heif_have_decoder_for_format ( enum heif_compression_format  format)

◆ heif_have_encoder_for_format()

LIBHEIF_API int heif_have_encoder_for_format ( enum heif_compression_format  format)

◆ heif_image_add_plane()

LIBHEIF_API struct heif_error heif_image_add_plane ( struct heif_image image,
enum heif_channel  channel,
int  width,
int  height,
int  bit_depth 
)

◆ heif_image_create()

LIBHEIF_API struct heif_error heif_image_create ( int  width,
int  height,
enum heif_colorspace  colorspace,
enum heif_chroma  chroma,
struct heif_image **  out_image 
)

◆ heif_image_get_bits_per_pixel()

LIBHEIF_API int heif_image_get_bits_per_pixel ( const struct heif_image ,
enum heif_channel  channel 
)

◆ heif_image_get_bits_per_pixel_range()

LIBHEIF_API int heif_image_get_bits_per_pixel_range ( const struct heif_image ,
enum heif_channel  channel 
)

◆ heif_image_get_chroma_format()

LIBHEIF_API enum heif_chroma heif_image_get_chroma_format ( const struct heif_image )

◆ heif_image_get_color_profile_type()

LIBHEIF_API enum heif_color_profile_type heif_image_get_color_profile_type ( const struct heif_image image)

◆ heif_image_get_colorspace()

LIBHEIF_API enum heif_colorspace heif_image_get_colorspace ( const struct heif_image )

◆ heif_image_get_height()

LIBHEIF_API int heif_image_get_height ( const struct heif_image ,
enum heif_channel  channel 
)

Referenced by heif::Image::get_height().

◆ heif_image_get_nclx_color_profile()

LIBHEIF_API struct heif_error heif_image_get_nclx_color_profile ( const struct heif_image image,
struct heif_color_profile_nclx **  out_data 
)

◆ heif_image_get_plane()

LIBHEIF_API uint8_t* heif_image_get_plane ( struct heif_image ,
enum heif_channel  channel,
int *  out_stride 
)

◆ heif_image_get_plane_readonly()

LIBHEIF_API const uint8_t* heif_image_get_plane_readonly ( const struct heif_image ,
enum heif_channel  channel,
int *  out_stride 
)

Referenced by heif::Image::get_plane().

◆ heif_image_get_raw_color_profile()

LIBHEIF_API struct heif_error heif_image_get_raw_color_profile ( const struct heif_image image,
void *  out_data 
)

◆ heif_image_get_raw_color_profile_size()

LIBHEIF_API size_t heif_image_get_raw_color_profile_size ( const struct heif_image image)

◆ heif_image_get_width()

LIBHEIF_API int heif_image_get_width ( const struct heif_image ,
enum heif_channel  channel 
)

Referenced by heif::Image::get_width().

◆ heif_image_handle_get_chroma_bits_per_pixel()

LIBHEIF_API int heif_image_handle_get_chroma_bits_per_pixel ( const struct heif_image_handle )

◆ heif_image_handle_get_color_profile_type()

LIBHEIF_API enum heif_color_profile_type heif_image_handle_get_color_profile_type ( const struct heif_image_handle handle)

◆ heif_image_handle_get_depth_image_handle()

LIBHEIF_API struct heif_error heif_image_handle_get_depth_image_handle ( const struct heif_image_handle handle,
heif_item_id  depth_image_id,
struct heif_image_handle **  out_depth_handle 
)

◆ heif_image_handle_get_depth_image_representation_info()

LIBHEIF_API int heif_image_handle_get_depth_image_representation_info ( const struct heif_image_handle handle,
heif_item_id  depth_image_id,
const struct heif_depth_representation_info **  out 
)

◆ heif_image_handle_get_height()

LIBHEIF_API int heif_image_handle_get_height ( const struct heif_image_handle handle)

◆ heif_image_handle_get_ispe_height()

LIBHEIF_API int heif_image_handle_get_ispe_height ( const struct heif_image_handle handle)

◆ heif_image_handle_get_ispe_width()

LIBHEIF_API int heif_image_handle_get_ispe_width ( const struct heif_image_handle handle)

◆ heif_image_handle_get_list_of_depth_image_IDs()

LIBHEIF_API int heif_image_handle_get_list_of_depth_image_IDs ( const struct heif_image_handle handle,
heif_item_id ids,
int  count 
)

◆ heif_image_handle_get_list_of_metadata_block_IDs()

LIBHEIF_API int heif_image_handle_get_list_of_metadata_block_IDs ( const struct heif_image_handle handle,
const char *  type_filter,
heif_item_id ids,
int  count 
)

◆ heif_image_handle_get_list_of_thumbnail_IDs()

LIBHEIF_API int heif_image_handle_get_list_of_thumbnail_IDs ( const struct heif_image_handle handle,
heif_item_id ids,
int  count 
)

◆ heif_image_handle_get_luma_bits_per_pixel()

LIBHEIF_API int heif_image_handle_get_luma_bits_per_pixel ( const struct heif_image_handle )

◆ heif_image_handle_get_metadata()

LIBHEIF_API struct heif_error heif_image_handle_get_metadata ( const struct heif_image_handle handle,
heif_item_id  metadata_id,
void *  out_data 
)

◆ heif_image_handle_get_metadata_content_type()

LIBHEIF_API const char* heif_image_handle_get_metadata_content_type ( const struct heif_image_handle handle,
heif_item_id  metadata_id 
)

◆ heif_image_handle_get_metadata_size()

LIBHEIF_API size_t heif_image_handle_get_metadata_size ( const struct heif_image_handle handle,
heif_item_id  metadata_id 
)

◆ heif_image_handle_get_metadata_type()

LIBHEIF_API const char* heif_image_handle_get_metadata_type ( const struct heif_image_handle handle,
heif_item_id  metadata_id 
)

◆ heif_image_handle_get_nclx_color_profile()

LIBHEIF_API struct heif_error heif_image_handle_get_nclx_color_profile ( const struct heif_image_handle handle,
struct heif_color_profile_nclx **  out_data 
)

◆ heif_image_handle_get_number_of_depth_images()

LIBHEIF_API int heif_image_handle_get_number_of_depth_images ( const struct heif_image_handle handle)

◆ heif_image_handle_get_number_of_metadata_blocks()

LIBHEIF_API int heif_image_handle_get_number_of_metadata_blocks ( const struct heif_image_handle handle,
const char *  type_filter 
)

◆ heif_image_handle_get_number_of_thumbnails()

LIBHEIF_API int heif_image_handle_get_number_of_thumbnails ( const struct heif_image_handle handle)

◆ heif_image_handle_get_raw_color_profile()

LIBHEIF_API struct heif_error heif_image_handle_get_raw_color_profile ( const struct heif_image_handle handle,
void *  out_data 
)

◆ heif_image_handle_get_raw_color_profile_size()

LIBHEIF_API size_t heif_image_handle_get_raw_color_profile_size ( const struct heif_image_handle handle)

◆ heif_image_handle_get_thumbnail()

LIBHEIF_API struct heif_error heif_image_handle_get_thumbnail ( const struct heif_image_handle main_image_handle,
heif_item_id  thumbnail_id,
struct heif_image_handle **  out_thumbnail_handle 
)

◆ heif_image_handle_get_width()

LIBHEIF_API int heif_image_handle_get_width ( const struct heif_image_handle handle)

◆ heif_image_handle_has_alpha_channel()

LIBHEIF_API int heif_image_handle_has_alpha_channel ( const struct heif_image_handle )

◆ heif_image_handle_has_depth_image()

LIBHEIF_API int heif_image_handle_has_depth_image ( const struct heif_image_handle )

◆ heif_image_handle_is_primary_image()

LIBHEIF_API int heif_image_handle_is_primary_image ( const struct heif_image_handle handle)

◆ heif_image_handle_release()

◆ heif_image_has_channel()

LIBHEIF_API int heif_image_has_channel ( const struct heif_image ,
enum heif_channel  channel 
)

◆ heif_image_release()

LIBHEIF_API void heif_image_release ( const struct heif_image )

◆ heif_image_scale_image()

LIBHEIF_API struct heif_error heif_image_scale_image ( const struct heif_image input,
struct heif_image **  output,
int  width,
int  height,
const struct heif_scaling_options *  options 
)

◆ heif_image_set_nclx_color_profile()

LIBHEIF_API struct heif_error heif_image_set_nclx_color_profile ( struct heif_image image,
const struct heif_color_profile_nclx color_profile 
)

◆ heif_image_set_raw_color_profile()

LIBHEIF_API struct heif_error heif_image_set_raw_color_profile ( struct heif_image image,
const char *  profile_type_fourcc_string,
const void *  profile_data,
const size_t  profile_size 
)

◆ heif_main_brand()

LIBHEIF_API enum heif_brand heif_main_brand ( const uint8_t *  data,
int  len 
)

◆ heif_register_decoder()

LIBHEIF_API struct heif_error heif_register_decoder ( struct heif_context heif,
const struct heif_decoder_plugin  
)

◆ heif_register_decoder_plugin()

LIBHEIF_API struct heif_error heif_register_decoder_plugin ( const struct heif_decoder_plugin )

◆ heif_register_encoder_plugin()

LIBHEIF_API struct heif_error heif_register_encoder_plugin ( const struct heif_encoder_plugin )