get_supported_vf_resolutions_func_t

Return 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.
numsupported
The returned number of entries in the resolutions list.
resolutions
The returned list of supported resolutions.

Library:

libcamapi

Description:

This function returns 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.