Retrieve the RGBY histogram.
int camera_meta_get_rgby_histogram_values(const camera_metadata_t metadata,
camera_meta_histogram_t *red,
camera_meta_histogram_t *green,
camera_meta_histogram_t *blue,
camera_meta_histogram_t *luma)
BlackBerry 10.2.0
The metadata of type CAMERA_METAFORMAT_HISTOGRAM_RGBY supplied to the user-defined consumer function by camera_meta_iterate_metadata().
A pointer to a camera_meta_histogram_t structure that will be filled with the red histogram data.
A pointer to a camera_meta_histogram_t structure that will be filled with the green histogram data.
A pointer to a camera_meta_histogram_t structure that will be filled with the blue histogram data.
A pointer to a camera_meta_histogram_t structure that will be filled with the luma histogram data.
Use this function to extract RGBY histograms from the provided metadata.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.