diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-08-26 20:25:35 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-08-30 18:08:02 +0300 |
commit | 1d2263dd3d7dc68d8d1920682952e17d0a22ed95 (patch) | |
tree | d91cd47b9f4b6c581f9d03ba030abe3fd81dfeb0 /src/qcam/main_window.h | |
parent | 73994ec6bcc99e8df342d7c076d1b01261848c34 (diff) |
qcam: main_window: Use offset mapping FrameBuffer
FrameBuffer::Plane has offset info now. This uses the offset
in mapping FrameBuffer in MainWindow.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r-- | src/qcam/main_window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index 6788de8d..28244bca 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -107,6 +107,7 @@ private: std::unique_ptr<CameraConfiguration> config_; std::map<FrameBuffer *, Span<uint8_t>> mappedBuffers_; + std::map<FrameBuffer *, Span<uint8_t>> planeData_; /* Capture state, buffers queue and statistics */ bool isCapturing_; |