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
commit71f771570e1b5341048a6fbf82a7c57d885bd850 (patch)
tree7a54038caf027b749e7d8f59b4d19c54cc1f581e /include
parent7c38f9fbb0e140259a364302b37a1ee91e46ff23 (diff)
downloadframeworks_native-71f771570e1b5341048a6fbf82a7c57d885bd850.zip
frameworks_native-71f771570e1b5341048a6fbf82a7c57d885bd850.tar.gz
frameworks_native-71f771570e1b5341048a6fbf82a7c57d885bd850.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);