summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/columns.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-11-15 23:10:50 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-11-16 12:51:06 +0200
commitd14a3f8ae62d74a21f1a04d1fbbbd23b762a6236 (patch)
tree0bbb2eacbd948b1af7773327555ac1d65cba063d /src/qcam/assets/feathericons/columns.svg
parent02eae70e15bdbb24a6a4eec74313d6ef616188bc (diff)
libcamera: pipeline: simple: Reset format on capture side of converter
When configuring the converter, the format is first set on the output side based on the format of the camera pipeline output, and then the format is set on the capture side to match the desired stream configuration. The format parameter passed to V4L2VideoDevice::setFormat() uses the same variable for both calls, which has the unwanted side effect of carrying plane configuration from the output side to the capture side of the converter. In particular, the stride or plane size requested on the capture side can become unnecessarily large when converting to a format with a lower number of bits per pixel (for instance converting YUYV to NV12). Fix this by resetting the format variable before using it to configure the capture side. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/columns.svg')
0 files changed, 0 insertions, 0 deletions