diff --git a/src/libcamera/software_isp/debayer.cpp b/src/libcamera/software_isp/debayer.cpp
index b33f818a7..4645b6a1b 100644
--- a/src/libcamera/software_isp/debayer.cpp
+++ b/src/libcamera/software_isp/debayer.cpp
@@ -290,6 +290,16 @@ Debayer::~Debayer()
  * output image buffer. Set during stream configuration.
  */
 
+/**
+ * \var Debayer::inputPixelFormat_
+ * \brief The incoming pixel format
+ */
+
+/**
+ * \var Debayer::outputPixelFormat_
+ * \brief The output pixel format
+ */
+
 /**
  * \var Debayer::red_
  * \brief Lookup table for red channel gain and correction values
diff --git a/src/libcamera/software_isp/debayer.h b/src/libcamera/software_isp/debayer.h
index b8287166e..d716ad080 100644
--- a/src/libcamera/software_isp/debayer.h
+++ b/src/libcamera/software_isp/debayer.h
@@ -75,6 +75,8 @@ public:
 
 	DebayerInputConfig inputConfig_;
 	DebayerOutputConfig outputConfig_;
+	PixelFormat inputPixelFormat_;
+	PixelFormat outputPixelFormat_;
 	DebayerParams::LookupTable red_;
 	DebayerParams::LookupTable green_;
 	DebayerParams::LookupTable blue_;
