get_supported_vf_resolutions_func_t

Updated: April 19, 2023

Retrieve the list of supported viewfinder resolutions

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_supported_vf_resolutions_func_t)(void *handle,
            camera_frametype_t frametype,
            int *numsupported,
            const camera_res_t **resolutions);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
frametype
The frame type to be used for the requested resolutions. See camera_frametype_t for details.
numsupported
The returned number of entries in the resolutions list.
resolutions
A pointer to memory for storing the returned list of supported resolutions. See camera_res_t for details.

Library:

libcamapi

Description:

This function retrieves a list of the supported viewfinder resolutions for the specified camera frame type.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.