camera_is_roll_format_supported()
Verify whether the specified camera 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 camera roll video format to verify (see camera_roll_video_fmt_t).
Library:
libcamapiDescription:
This function checks if the specified camera roll video format is supported for recording data from the specified camera. Note that this is based on the current configuration of the camera, and the result could be different for a different configuration.
Returns:
true when the specified video format is supported, otherwise false.
Page updated:
