Updated: October 28, 2024 |
Parse a camera-specific attribute from the configuration file
#include <camera/external_camera_api.h>
typedef int(* parse_config_func_t)(void *handle, char *name, char *value);
This function is called for each attribute associated with the camera in the sensor configuration file.
This function is optional. It is called before the function init_camera_func_t.
CAMERA_EOK if the attribute was parsed successfully by the sensor, CAMERA_EOPNOTSUPP if the attribute is not a camera-specific attribute, another camera_error_t value if any errors were encountered in the parsing of the attribute.