Retrieve the current output properties for video.
Synopsis:
#include <camera/camera_api.h>
camera_error_t camera_get_video_property(camera_handle_t handle,
args...)
Arguments:
- handle
-
The handle returned by a call to the camera_open() function.
- args...
-
A series of comma-delimited property-value pairs where each value must be a pointer a variable of the expected type.
Library:
libcamapi (For the qcc command, use the -l camapi option to link against this library)
Description:
For the
args argument, you can provide one or more property-value pairs using
camera_imgprop_t values as the name of the property and a pointer to the correct type for the value such as an
int or
double value. The following
camera_imgprop_t can be used with this function:
Note: There is no type-checking performed by the compiler, therefore, you must ensure that the value you provide for each property matches the expected data type. Data type mismatches can result in undefined behavior and may cause your application to crash.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.