get_supported_vf_frametypes_func_t

Retrieve the list of supported viewfinder frame types

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_supported_vf_frametypes_func_t)(void *handle,
            int *numTypes,
            camera_frametype_t *types);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
numTypes
Need to be set to the number of viewfinder frame types supported by the camera.
types
Array to fill with the supported frame types.

Library:

libcamapi

Description:

This function returns a list of the supported viewfinder frame types for the specified camera (eg. NV12, RGB, etc.).

Returns:

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