summaryrefslogtreecommitdiff
path: root/test/camera-sensor.cpp
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-08-27 15:44:39 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-30 18:58:36 +0300
commit94fb6b2f4d02707cac2a1c5c1a9d622eeaeb4c04 (patch)
treea4d5ee891a6d28d13168885bbe106f0528c43dc9 /test/camera-sensor.cpp
parente5e7cdf701797463edcbe1f4b26dcc31b32d891d (diff)
libcamera: v4l2_videodevice: Create color-format planes in createBuffer()
V4L2VideDevice::createBuffer() creates the same number of FrameBuffer::Planes as V4L2 format planes. Therefore, if the v4l2 format single is single-planar format, the created number of FrameBuffer::Planes is 1. It should rather create the same number of FrameBuffer::Planes as the color format planes. 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 'test/camera-sensor.cpp')
0 files changed, 0 insertions, 0 deletions