diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index 8750797..ef7b32a 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -33,6 +33,10 @@ public:
 	void setDimension(unsigned int width, unsigned int height);
 	void setPixelFormat(unsigned int pixelformat);
 
+	void setWidth(unsigned int width) { width_ = width; }
+	void setHeight(unsigned int height) { height_ = height; }
+	void setPixelformat(unsigned int pix) { pixelformat_ = pix; }
+
 private:
 	unsigned int id_;
 	unsigned int width_;
