Updated: October 28, 2024 |
Return the current camera time
#include <camera/external_camera_api.h>
typedef int64_t(* get_time_func_t)(void *handle);
This function returns the current time value in the camera time domain, in microseconds. The time domain used here must be the same one used to fill the timestamp in get_preview_frame_func_t.
This function is optional. If this function isn't specified, the default implementation uses the system clock (CLOCK_MONOTONIC).
The current camera time in microseconds.