summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-08-26 20:25:35 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-30 18:08:02 +0300
commit1d2263dd3d7dc68d8d1920682952e17d0a22ed95 (patch)
treed91cd47b9f4b6c581f9d03ba030abe3fd81dfeb0 /src/qcam/main_window.h
parent73994ec6bcc99e8df342d7c076d1b01261848c34 (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.h1
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_;