camera_meta_get_rgby_histogram_values()
Retrieve the RGBY histogram.
Synopsis:
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)
Since:
BlackBerry 10.2.0
Arguments:
- metadata
-
The metadata of type CAMERA_METAFORMAT_HISTOGRAM_RGBY supplied to the user-defined consumer function by camera_meta_iterate_metadata().
- red
-
A pointer to a camera_meta_histogram_t structure that will be filled with the red histogram data.
- green
-
A pointer to a camera_meta_histogram_t structure that will be filled with the green histogram data.
- blue
-
A pointer to a camera_meta_histogram_t structure that will be filled with the blue histogram data.
- luma
-
A pointer to a camera_meta_histogram_t structure that will be filled with the luma histogram data.
Library:
libcamapi (For the qcc command, use the -l camapi option to link against this library)Description:
Use this function to extract RGBY histograms from the provided metadata.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.
Last modified: 2014-06-24