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, 21 Mar 2022 16:04:10 +0000 (16:04 +0000)
commit277e85042efd9eadf51259b96f9a764002b16bc9
tree707096701d9dd297d51a43d660be2dded5288cf9
parent9ab5574cf14423ed5d7ee0655a4eeb04304df4c1
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