bcm2835-isp: Allow formats with different colour spaces.
authorDavid Plowman <david.plowman@raspberrypi.com>
Tue, 12 Jan 2021 13:55:39 +0000 (13:55 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:09 +0000 (11:33 +0000)
commit0c5f5ab3c7f44462eabfebd1cd83a3e4b21e4349
tree0902e1658d8607a2c6eed443c2dbbfa37404a721
parente970f4eb7de56651ea4e413a009c599b7004f3c1
bcm2835-isp: Allow formats with different colour spaces.

Each supported format now includes a mask showing the allowed colour
spaces, as well as a default colour space for when one was not
specified.

Additionally we translate the colour space to mmal format and pass it
over to the VideoCore.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp-fmts.h
drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c