camera_is_videocodec_supported()

Verify whether the specified video codec is supported

Synopsis:

#include <camera/camera_api.h>
bool camera_is_videocodec_supported(camera_handle_t handle,
                                    camera_videocodec_t codec)

Arguments:

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

Library:

libcamapi

Description:

Use this function to determine if a given video codec is supported on the device.

Returns:

true when the specified video codec is supported by the device, otherwise a value of false.