summaryrefslogtreecommitdiff
path: root/kms++util/inc
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2018-10-29 12:15:09 -0500
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2018-11-01 16:43:35 +0200
commit4097a83c68b89a70179244da01db0691a6c7c269 (patch)
treeff87a7892dd3ecccce1ccf6de19026094fa40a9b /kms++util/inc
parent419babcd8ef423e787e122044601567fbff3457c (diff)
videodevice: Add selection API support
Add selection API support to the VideoSteamer class. Signed-off-by: Benoit Parrot <bparrot@ti.com>
Diffstat (limited to 'kms++util/inc')
-rw-r--r--kms++util/inc/kms++util/videodevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++util/inc/kms++util/videodevice.h b/kms++util/inc/kms++util/videodevice.h
index 68e2b01..e089bcd 100644
--- a/kms++util/inc/kms++util/videodevice.h
+++ b/kms++util/inc/kms++util/videodevice.h
@@ -71,6 +71,8 @@ public:
std::vector<kms::PixelFormat> get_formats();
void set_format(kms::PixelFormat fmt, uint32_t width, uint32_t height);
+ void get_selection(uint32_t& left, uint32_t& top, uint32_t& width, uint32_t& height);
+ void set_selection(uint32_t& left, uint32_t& top, uint32_t& width, uint32_t& height);
void set_queue_size(uint32_t queue_size);
void queue(kms::DumbFramebuffer* fb);
kms::DumbFramebuffer* dequeue();