[libcamera-devel] [PATCH 0/2] Fixes for raw monochrome stream configurations

David Plowman david.plowman at raspberrypi.com
Thu Aug 4 12:45:48 CEST 2022


Hi everyone

These two small patches make configuration requests for raw monochrome
streams work correctly.

The first patch marks these formats as having a "raw" colour encoding
rather than YUV. (I'm assuming *non*-raw monochrome streams aren't
using these media bus formats?)

The second patch just fixes a typo and adds the packed 10-bit variant
to a table where it was missing.

Thanks!
David

David Plowman (2):
  libcamera: formats: Fix colour encoding for "R" raw greyscale formats
  libcamera: Correct typos and omissions for packed 10-bit raw
    monochrome format

 src/libcamera/formats.cpp          | 10 +++++-----
 src/libcamera/v4l2_pixelformat.cpp |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.30.2



More information about the libcamera-devel mailing list