summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-04-07 16:11:32 +0200
committerJacopo Mondi <jacopo@jmondi.org>2021-05-06 15:08:34 +0200
commitcb43c18040e41e02a8d74418f1ec31bd5e48bb3f (patch)
tree6c52a7b2e7ed6eaacafa743d5f923895add3aee9 /src/v4l2/v4l2_camera.cpp
parent4f26020e6672193835fe90c8b8b0c3a9ab80cb67 (diff)
libcamera: ipu3: Report sensor timestamp
Report the sensor's timestamp in the Request metadata by using the CIO2 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: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/v4l2/v4l2_camera.cpp')
0 files changed, 0 insertions, 0 deletions