diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-09-03 17:44:00 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-09-07 00:32:08 +0300 |
commit | f98919307e411c57f24de7587b22ac90a7850bdc (patch) | |
tree | ae5eb4f9358d9aed2ebeb844fe953455c9d3683f /src/qcam/assets/feathericons/battery.svg | |
parent | 52660f2b13dd9f1032de5e50c416845def66a838 (diff) |
pipeline: uvcvideo: Cache supported formats in UVCCameraData
Populate and cache the list of supported formats in
UVCCameraData::init(), to avoid repeating the operation every time
generateConfiguration() is called. Combine this with the search for
the largest size advertised by the camera to avoid iterating over the
formats twice in init().
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Christian Rauch <Rauch.Christian@gmx.de>
Diffstat (limited to 'src/qcam/assets/feathericons/battery.svg')
0 files changed, 0 insertions, 0 deletions