camera_meta_get_whitebalance()

Retrieve the whitebalance for the frame.

Synopsis:

int camera_meta_get_whitebalance(const camera_metadata_t metadata,                 
                                 uint16_t *whitebalance)

Since:

BlackBerry 10.2.0

Arguments:

metadata

The metadata of type CAMERA_METAFORMAT_WHITEBALANCE supplied to the user-defined consumer function camera_meta_iterate_metadata().

whitebalance

The returned white balance setting, in Kelvin.

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

Use this function to extract the whitebalance setting used when the frame was captured from 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



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus