diff options
author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-07-12 11:55:09 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-07-24 11:32:10 +0200 |
commit | 4edc162e3d36119f4a63fe8b43c73bdecffacfa1 (patch) | |
tree | 76e70f9a82503afdf26ec8a5daacb13682c03db0 /src/android/mm | |
parent | 81fa10d87f6a0d639976e67247e0415601e00eaa (diff) |
libcamera: rpi: pipeline_base: Move findBestFormat to CameraData
The findBestFormat() helper operates on the list of sensor formats,
which is owned by the CameraData class. Move the function to that class
as well to:
1) Avoid passing the list of formats to the function
2) Remove a static helper in favour of a class function
3) Allow subclasses with access to CameraData to call the function
Move to the CameraData class the scoreFormat helper as well.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'src/android/mm')
0 files changed, 0 insertions, 0 deletions