summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-01 21:00:24 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-07 19:18:13 +0300
commit6d98fe5b683a38748d708c810d52d5f96e312bda (patch)
tree9cc09d873e9caafd22944125ed60f18621ae5605 /src/v4l2/v4l2_camera.cpp
parent81a38f43738440490e9fcc1ce96b22783f541942 (diff)
libcamera: v4l2_videodevice: Cache PixelFormatInfo
Cache the PixelFormatInfo instead of looking it up in every call to createBuffer(). This prepares for usage of the info in queueBuffer(), to avoid a looking every time a buffer is queued. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'src/v4l2/v4l2_camera.cpp')
0 files changed, 0 insertions, 0 deletions