diff options
author | Benny Wong <Benny.Wong@motorola.com> | 2009-07-15 18:44:27 -0500 |
---|---|---|
committer | Rebecca Schultz Zavin <rebecca@android.com> | 2009-07-16 14:31:20 -0700 |
commit | 71f771570e1b5341048a6fbf82a7c57d885bd850 (patch) | |
tree | 7a54038caf027b749e7d8f59b4d19c54cc1f581e /include | |
parent | 7c38f9fbb0e140259a364302b37a1ee91e46ff23 (diff) | |
download | frameworks_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.h | 4 |
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); |