diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-01 21:00:24 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-07 19:18:13 +0300 |
commit | 6d98fe5b683a38748d708c810d52d5f96e312bda (patch) | |
tree | 9cc09d873e9caafd22944125ed60f18621ae5605 /test/v4l2_videodevice/double_open.cpp | |
parent | 81a38f43738440490e9fcc1ce96b22783f541942 (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 'test/v4l2_videodevice/double_open.cpp')
0 files changed, 0 insertions, 0 deletions