diff options
Diffstat (limited to 'src/libcamera/include/v4l2_videodevice.h')
-rw-r--r-- | src/libcamera/include/v4l2_videodevice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcamera/include/v4l2_videodevice.h b/src/libcamera/include/v4l2_videodevice.h index e4d35ab3..fcf07264 100644 --- a/src/libcamera/include/v4l2_videodevice.h +++ b/src/libcamera/include/v4l2_videodevice.h @@ -182,6 +182,9 @@ public: int setFormat(V4L2DeviceFormat *format); ImageFormats formats(); + int setCrop(Rectangle *rect); + int setCompose(Rectangle *rect); + int exportBuffers(unsigned int count, std::vector<std::unique_ptr<FrameBuffer>> *buffers); int importBuffers(unsigned int count); @@ -216,6 +219,8 @@ private: std::vector<unsigned int> enumPixelformats(); std::vector<SizeRange> enumSizes(unsigned int pixelFormat); + int setSelection(unsigned int target, Rectangle *rect); + int requestBuffers(unsigned int count); std::unique_ptr<FrameBuffer> createBuffer(const struct v4l2_buffer &buf); FileDescriptor exportDmabufFd(unsigned int index, unsigned int plane); |