diff options
-rw-r--r-- | src/qcam/format_converter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qcam/format_converter.cpp b/src/qcam/format_converter.cpp index 4b9722d4..973966f6 100644 --- a/src/qcam/format_converter.cpp +++ b/src/qcam/format_converter.cpp @@ -68,6 +68,13 @@ int FormatConverter::configure(const libcamera::PixelFormat &format, nvSwap_ = true; break; + case libcamera::formats::R8: + formatFamily_ = RGB; + r_pos_ = 0; + g_pos_ = 0; + b_pos_ = 0; + bpp_ = 1; + break; case libcamera::formats::RGB888: formatFamily_ = RGB; r_pos_ = 2; |