summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/vc4/data
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2024-04-25 11:52:00 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-05-09 12:37:50 +0100
commit5e85157bcf156137259c57a2ebc5d5616dbb2e37 (patch)
treee84d232b1ed20a4e4ebbb14e68c13f0d876a776f /src/ipa/rpi/vc4/data
parent1dc01bc9e6c32a8fb776f31cb957a251305de7e5 (diff)
pipeline: rpi: Avoid duplicating size range for the same pixel format
Some V4L2 formats translate to the same pixel format, e.g. YU12 and YM12 both produce YUV420. In this case our ISP driver advertises the same size range for both, but we must not record the same thing twice for the same pixel format (which will cause a failure later on). Instead, ignore the V4l2 format if the pixel format has already been seen. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rpi/vc4/data')
0 files changed, 0 insertions, 0 deletions