camera_get_capture_property()

Updated: April 19, 2023

Get a property of an analog camera

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_get_capture_property(camera_handle_t handle,
                                           uint32_t prop,
                                           int32_t *value)

Arguments:

handle
The handle returned by a call to the camera_open() function.
prop
The property to retrieve. See the Properties section in the Video Capture Developer's Guide for the valid values.
value
The value read for this property.

Library:

libcamapi

Description:

Use this function to get a property that is specific to analog cameras using the Video Capture API. The camera needs to support the CAMERA_FEATURE_ANALOGCAMERA feature for you to use this function on it. This function is equivalent to calling capture_get_property_i() from the video capture framework. For more information, see the Video Capture API chapter in the Video Capture Developer's Guide.

Returns:

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