set_framerate_func_t

Adjust the preview framerate

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* set_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 framerate you want expressed in Q16 format.

Library:

libcamapi

Description:

Change the current framerate for a running preview.

Returns:

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