set_isp_config_func_t

Updated: April 19, 2023

Set a new configuration for the ISP

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* set_isp_config_func_t)(void *handle,
            camera_unit_t unit,
            camera_isp_config_type_t type,
            void *config);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
unit
The camera unit this camera corresponds to. See camera_unit_t for details.
type
The type of configuration that is desired to be set. See camera_isp_config_type_t for details.
config
A pointer to the configuration to be set. The structure associated with this configuration is dependent on type.

Library:

libcamapi

Description:

This function dynamically updates a given aspect of the ISP configuration. Different configurations are supported by different ISPs. Implement this function for an ISP if it supports dynamic updates to at least one type of configuration.
Note:

This function is optional. If it is not present, dynamic ISP configuration will not be supported for this camera.

Returns:

CAMERA_EOK when the function successfully completes, CAMERA_EOPNOTSUPP if this configuration is not supported, otherwise another camera_error_t value that provides the reason that the call failed.