summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenny Wong <Benny.Wong@motorola.com>2009-07-15 18:44:27 -0500
committerRebecca Schultz Zavin <rebecca@android.com>2009-07-16 14:31:20 -0700
commit6d2090e2148996f98a5e9bc7e359e41c226f4efb (patch)
treef585f655447a5df7b791fe01f26b97c836cc5014 /include
parentf47042614e80891a3439d418e7061f642d9d593d (diff)
downloadframeworks_base-6d2090e2148996f98a5e9bc7e359e41c226f4efb.zip
frameworks_base-6d2090e2148996f98a5e9bc7e359e41c226f4efb.tar.gz
frameworks_base-6d2090e2148996f98a5e9bc7e359e41c226f4efb.tar.bz2
Hardware overlay support
Enable hardware overlay support for camera and video playback use cases
Diffstat (limited to 'include')
-rw-r--r--include/ui/Overlay.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/Overlay.h b/include/ui/Overlay.h
index 9ba2f7b..acc9bea 100644
--- a/include/ui/Overlay.h
+++ b/include/ui/Overlay.h
@@ -82,6 +82,10 @@ public:
/* release the overlay buffer and post it */
status_t queueBuffer(overlay_buffer_t buffer);
+ 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) ;
+
/* returns the address of a given buffer if supported, NULL otherwise. */
void* getBufferAddress(overlay_buffer_t buffer);