camera_set_capture_property()

Set a property of an analog camera

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_set_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 set. See the Video Capture Library in the Video Capture Developer's Guide for the valid values to use.
value
The value to write for this property.

Library:

libcamapi

Description:

Use this function to set a property that is specific to analog cameras using the Video Capture API. A camera needs to support the CAMERA_FEATURE_ANALOGCAMERA feature to use this API. This function is equivalent This function is equivalent to calling the function capture_set_property_i() from the Video Capture Library. For more information, see the Video Capture Library API Reference.

Note:

To ensure the proper operation of the camera, the writing of some capture properties are not permitted because that may interfere with other configurable properties of the camera. If an attempt to write a property isn't permitted, there is not effect on the camera and this function returns CAMERA_EOPNOTSUPP.

Returns:

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