[libcamera-devel,0/2] Fixes for raw monochrome stream configurations
mbox series

Message ID 20220804104550.4600-1-david.plowman@raspberrypi.com
Headers show
Series
  • Fixes for raw monochrome stream configurations
Related show

Message

David Plowman Aug. 4, 2022, 10:45 a.m. UTC
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(-)