mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
drivers/video: add timestamp support
Add support for timestamp and change in related drivers Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -81,7 +82,8 @@ typedef struct imgdata_interval_s
|
||||
uint32_t denominator;
|
||||
} imgdata_interval_t;
|
||||
|
||||
typedef int (*imgdata_capture_t)(uint8_t result, uint32_t size);
|
||||
typedef int (*imgdata_capture_t)(uint8_t result, uint32_t size,
|
||||
FAR const struct timeval *ts);
|
||||
|
||||
/* Structure for Data Control I/F */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user