[PATCH 0/2] libcamera: pixelformat: Add isRaw() helper
Umang Jain
umang.jain at ideasonboard.com
Mon Sep 30 17:20:37 CEST 2024
Couple of patches to provide and use isRaw() helper.
This replaces all the PixelFormatInfo / ColorEncodingRAW code
to determine whether a format is a RAW format or not.
Umang Jain (2):
libcamera: pixel_format: Add isRaw() helper
libcamera: pipeline: Use isRaw() helper to check RAW pixel formats
include/libcamera/pixel_format.h | 1 +
src/ipa/rkisp1/rkisp1.cpp | 3 +--
src/libcamera/pipeline/imx8-isi/imx8-isi.cpp | 13 ++++--------
src/libcamera/pipeline/ipu3/ipu3.cpp | 6 ++----
src/libcamera/pipeline/mali-c55/mali-c55.cpp | 20 +++++--------------
src/libcamera/pipeline/rkisp1/rkisp1.cpp | 9 +++------
src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 13 +++++-------
src/libcamera/pixel_format.cpp | 11 ++++++++++
8 files changed, 32 insertions(+), 44 deletions(-)
--
2.45.2
More information about the libcamera-devel
mailing list