summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/cam_helper.h
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2023-01-12 12:10:43 +0000
committerUmang Jain <umang.jain@ideasonboard.com>2023-01-19 21:17:48 +0530
commit13986d6ce3ab64c44a8f086ef8942f56bbedff63 (patch)
treeb8c61146c1b5fa14a1598688d498b2d1842bcd03 /src/ipa/raspberrypi/cam_helper.h
parentd81505b834105ee1c879a962a2911d08b14ad5fd (diff)
libcamera: camera: Fix validateColorSpaces to choose "main" colour space
The intention is that the "main" colour space is the colour space of the largest non-raw stream. Unfortunately the use of "config_[i].size" is clearly incorrect, and has been copied from prior versions of the code. This patch corrects the error. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/cam_helper.h')
0 files changed, 0 insertions, 0 deletions