summaryrefslogtreecommitdiff
path: root/src/cam/kms_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/kms_sink.h')
-rw-r--r--src/cam/kms_sink.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cam/kms_sink.h b/src/cam/kms_sink.h
index 8f5f0866..76c4e611 100644
--- a/src/cam/kms_sink.h
+++ b/src/cam/kms_sink.h
@@ -50,6 +50,11 @@ private:
int selectPipeline(const libcamera::PixelFormat &format);
int configurePipeline(const libcamera::PixelFormat &format);
+ bool testModeSet(DRM::FrameBuffer *drmBuffer,
+ const libcamera::Rectangle &src,
+ const libcamera::Rectangle &dst);
+ bool setupComposition(DRM::FrameBuffer *drmBuffer);
+
void requestComplete(DRM::AtomicRequest *request);
DRM::Device dev_;
@@ -63,6 +68,9 @@ private:
libcamera::Size size_;
unsigned int stride_;
+ libcamera::Rectangle src_;
+ libcamera::Rectangle dst_;
+
std::map<libcamera::FrameBuffer *, std::unique_ptr<DRM::FrameBuffer>> buffers_;
std::mutex lock_;