camera_meta_get_exif()
Retrieve the EXIF buffer pointer from the metadata.
Synopsis:
int camera_meta_get_exif(const camera_metadata_t metadata, unsigned char **data, uint64_t *size)
Arguments:
- metadata
-
The metadata supplied to the user-defined consumer function by camera_meta_iterate_metadata().
- data
-
Returns a pointer to the binary exif data.
- size
-
The size of the binary exif data.
Library:
libcamapiDescription:
This function extracts a pointer to the EXIF binary data and its size from the provided EXIF metadata.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.