summaryrefslogtreecommitdiff
path: root/include/linux/media-bus-format.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-07-12 11:55:09 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-07-24 11:32:10 +0200
commit4edc162e3d36119f4a63fe8b43c73bdecffacfa1 (patch)
tree76e70f9a82503afdf26ec8a5daacb13682c03db0 /include/linux/media-bus-format.h
parent81fa10d87f6a0d639976e67247e0415601e00eaa (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 'include/linux/media-bus-format.h')
0 files changed, 0 insertions, 0 deletions