camera_is_roll_format_supported()

Verify whether the specified roll video format is supported

Synopsis:

#include <camera/camera_api.h>
bool camera_is_roll_format_supported(camera_handle_t handle,
                                     camera_roll_video_fmt_t format)

Arguments:

handle
The handle returned by a call to the camera_open() function.
format
The roll video format to verify.

Library:

libcamapi

Description:

Checks if the specified roll video format is supported for recording data from the camera associated with the given handle. Note, that this is based on the current configuration of the camera, and that the result could be different for a different configuration.

Returns:

true when the specified roll video format is supported, otherwise a value of false.