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

David Plowman david.plowman at raspberrypi.com
Mon Aug 15 16:16:36 CEST 2022


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(-)

-- 
2.30.2



More information about the libcamera-devel mailing list