[libcamera-devel,0/1] Raspberry Pi: handle monochrome raw formats correctly
mbox series

Message ID 20220815141637.4159-1-david.plowman@raspberrypi.com
Headers show
Series
  • Raspberry Pi: handle monochrome raw formats correctly
Related show

Message

David Plowman Aug. 15, 2022, 2:16 p.m. UTC
Hi everyone

This is actually a replacement patch for one from an earlier set,
where I had changed the "R" (greyscale) pixel format colour space from
YUV to RAW. But it seems that some platforms are handling non-raw
greyscale sensors, so this would cause a regression.

I did at one point suggest altering the PixelFormat class, but I'm
guessing there may not be a huge amount of enthusiasm for that, so
this seems like a reasonable workaround for the Raspberry Pi. Please
let me know what you think.

Thanks!
David


David Plowman (1):
  pipeline: raspberrypi: Detect monochrome "R" formats as being raw

 src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)