get_default_image_attributes_func_t

Updated: April 19, 2023

Retrieve the default values to use for the image attributes

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_default_image_attributes_func_t)(void *handle,
            int32_t *brightness,
            int32_t *contrast,
            int32_t *sharpness,
            int32_t *hue,
            int32_t *saturation);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
brightness
The returned default brightness value.
contrast
The returned default contrast value.
sharpness
The returned default sharpness value.
hue
The returned default hue value.
saturation
The returned default saturation value.

Library:

libcamapi

Description:

This function is used to retrieve the default values to use for the image attributes

Note:

This function is optional. If it is not present, a default value of 0 will be used for all the image attributes.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.