diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-04-19 12:53:19 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-05-06 15:09:42 +0200 |
commit | fcfb1dc02a6baed23a85aa1186dc8aa9b2217f49 (patch) | |
tree | 9f0577e9155af27983b2632911c0c5d95e55ce6d /src/v4l2/v4l2_camera_proxy.cpp | |
parent | 131b2096937b070fa9348705996d269db5a74eb1 (diff) |
libcamera: raspberry: Report sensor timestamp
Report the sensor's timestamp in the Request metadata by using the
Unicam::Image buffer timestamp as an initial approximation.
The buffer's timestamp is recorded at DMA-transfer time, and it does not
theoretically matches the 'start of exposure' definition, but when used
to compare two consecutive frames it gives an acceptable estimation of
the sensor frame period duration.
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.cpp')
0 files changed, 0 insertions, 0 deletions