From e56271109fe59e1c1f4958bdcdeb9a3a7f53eb28 Mon Sep 17 00:00:00 2001 From: Benny Wong Date: Fri, 24 Jul 2009 19:25:30 -0500 Subject: Adding resizeInput and setAttributes for overlay --- include/ui/Overlay.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/ui/Overlay.h b/include/ui/Overlay.h index acc9bea..a9ae1c4 100644 --- a/include/ui/Overlay.h +++ b/include/ui/Overlay.h @@ -82,10 +82,16 @@ public: /* release the overlay buffer and post it */ status_t queueBuffer(overlay_buffer_t buffer); + /* change the width and height of the overlay */ + status_t resizeInput(uint32_t width, uint32_t height); + status_t setCrop(uint32_t x, uint32_t y, uint32_t w, uint32_t h) ; status_t getCrop(uint32_t* x, uint32_t* y, uint32_t* w, uint32_t* h) ; + /* set the buffer attributes */ + status_t setParameter(int param, int value); + /* returns the address of a given buffer if supported, NULL otherwise. */ void* getBufferAddress(overlay_buffer_t buffer); -- cgit v1.1