diff --git a/libheif/api/libheif/heif_experimental.h b/libheif/api/libheif/heif_experimental.h index 7d6d1b8361..f9b9cd7b71 100644 --- a/libheif/api/libheif/heif_experimental.h +++ b/libheif/api/libheif/heif_experimental.h @@ -40,6 +40,9 @@ extern "C" { heif_item_property_type_camera_extrinsic_matrix = heif_fourcc('c', 'm', 'e', 'x') */ +struct heif_property_camera_intrinsic_matrix; +struct heif_property_camera_extrinsic_matrix; + //LIBHEIF_API struct heif_error heif_item_get_property_camera_intrinsic_matrix(const struct heif_context* context, heif_item_id itemId, @@ -380,7 +383,7 @@ int heif_is_tai_clock_info_drift_rate_undefined(int32_t drift_rate); LIBHEIF_API struct heif_error heif_property_set_clock_info(struct heif_context* ctx, heif_item_id itemId, - const heif_tai_clock_info* clock, + const struct heif_tai_clock_info* clock, heif_property_id* out_propertyId); // The `out_clock` struct passed in needs to have the `version` field set so that this @@ -389,7 +392,7 @@ struct heif_error heif_property_set_clock_info(struct heif_context* ctx, LIBHEIF_API struct heif_error heif_property_get_clock_info(const struct heif_context* ctx, heif_item_id itemId, - heif_tai_clock_info* out_clock); + struct heif_tai_clock_info* out_clock); #endif struct heif_tai_timestamp_packet @@ -411,13 +414,13 @@ struct heif_tai_timestamp_packet LIBHEIF_API struct heif_error heif_property_set_tai_timestamp(struct heif_context* ctx, heif_item_id itemId, - heif_tai_timestamp_packet* timestamp, + struct heif_tai_timestamp_packet* timestamp, heif_property_id* out_propertyId); LIBHEIF_API struct heif_error heif_property_get_tai_timestamp(const struct heif_context* ctx, heif_item_id itemId, - heif_tai_timestamp_packet* out_timestamp); + struct heif_tai_timestamp_packet* out_timestamp); #endif diff --git a/libheif/api/libheif/heif_items.h b/libheif/api/libheif/heif_items.h index baca69f0aa..c5ebdb1120 100644 --- a/libheif/api/libheif/heif_items.h +++ b/libheif/api/libheif/heif_items.h @@ -151,7 +151,7 @@ struct heif_error heif_item_set_item_name(struct heif_context* ctx, LIBHEIF_API struct heif_error heif_item_get_item_data(const struct heif_context* ctx, heif_item_id item_id, - heif_metadata_compression* out_compression_format, + enum heif_metadata_compression* out_compression_format, uint8_t** out_data, size_t* out_data_size); /** @@ -213,7 +213,7 @@ struct heif_error heif_context_add_item(struct heif_context* ctx, LIBHEIF_API struct heif_error heif_context_add_mime_item(struct heif_context* ctx, const char* content_type, - heif_metadata_compression content_encoding, + enum heif_metadata_compression content_encoding, const void* data, int size, heif_item_id* out_item_id);