Updated: October 28, 2024 |
Adjust the preview frame rate
#include <camera/external_camera_api.h>
typedef int(* set_framerate_func_t)(void *handle, uint32_t framerate_q16);
This function sets the current frame rate for a running preview.
This function is optional. If it is not present, changing the current frame rate for a running preview will not be supported for this camera.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.