get_framerate_func_t

Updated: April 19, 2023

Get the preview frame rate

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_framerate_func_t)(void *handle,
            uint32_t *framerate_q16);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
framerate_q16
The returned frame rate expressed in Q16 format.

Library:

libcamapi

Description:

This function retrieves the currently configured preview frame rate.

Note:

This function is optional. If it is not present, retrieving the currently configured frame rate will not be supported for this camera.

Returns:

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