Updated: April 19, 2023 |
Retrieve the supported viewfinder frame types
#include <camera/external_camera_api.h>
typedef int(* get_supported_vf_frametypes_func_t)(void *handle, int *numTypes, camera_frametype_t *types);
This function retrieves the supported viewfinder frame types for the specified camera (e.g., NV12, RGB).
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.