diff options
Diffstat (limited to 'src/libcamera/pipeline/simple/converter.h')
-rw-r--r-- | src/libcamera/pipeline/simple/converter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/simple/converter.h b/src/libcamera/pipeline/simple/converter.h index 0beb96a5..1f770eb8 100644 --- a/src/libcamera/pipeline/simple/converter.h +++ b/src/libcamera/pipeline/simple/converter.h @@ -20,6 +20,7 @@ namespace libcamera { class FrameBuffer; class MediaDevice; struct Size; +class SizeRange; struct StreamConfiguration; class V4L2M2MDevice; @@ -33,8 +34,10 @@ public: void close(); std::vector<PixelFormat> formats(PixelFormat input); + SizeRange sizes(const Size &input); - int configure(PixelFormat inputFormat, StreamConfiguration *cfg); + int configure(PixelFormat inputFormat, const Size &inputSize, + StreamConfiguration *cfg); int exportBuffers(unsigned int count, std::vector<std::unique_ptr<FrameBuffer>> *buffers); |