diff options
Diffstat (limited to 'include/libcamera/stream.h')
-rw-r--r-- | include/libcamera/stream.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index 3caaefc9..0c986310 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -17,9 +17,8 @@ namespace libcamera { class Camera; struct StreamConfiguration { - unsigned int width; - unsigned int height; unsigned int pixelFormat; + Size size; unsigned int bufferCount; @@ -40,7 +39,7 @@ public: protected: explicit StreamUsage(Role role); - StreamUsage(Role role, int width, int height); + StreamUsage(Role role, const Size &size); private: Role role_; |