diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2013-01-18 15:01:43 +0200 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2013-01-21 14:39:37 +0200 |
commit | a8f0334ef5706875f2c73a2690a2f1fc3e5fee27 (patch) | |
tree | d7d822a66b36a702ddf1943fd35549180f7c669f /gralloc_drm.h | |
parent | 421d4ec03917d13cc4449832275ac3c25e00acf5 (diff) | |
download | external_drm_gralloc-a8f0334ef5706875f2c73a2690a2f1fc3e5fee27.zip external_drm_gralloc-a8f0334ef5706875f2c73a2690a2f1fc3e5fee27.tar.gz external_drm_gralloc-a8f0334ef5706875f2c73a2690a2f1fc3e5fee27.tar.bz2 |
gralloc: implement yuv offset query as hw specific function
This patch reverts earlier cca14cfd... and introduces a new hw
specific hook to query yuv components offsets which can vary
between different hw, decoders, cameras etc.
Change-Id: Ib60bc8ee28df7bc9425b6d7934294fe36fc55354
Depends-Change-Id: I1aa5368b21e588d5d711c1005fff2a5296e143a0
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'gralloc_drm.h')
-rw-r--r-- | gralloc_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gralloc_drm.h b/gralloc_drm.h index 6c13138..b06e438 100644 --- a/gralloc_drm.h +++ b/gralloc_drm.h @@ -121,6 +121,7 @@ void gralloc_drm_bo_decref(struct gralloc_drm_bo_t *bo); struct gralloc_drm_bo_t *gralloc_drm_bo_from_handle(buffer_handle_t handle); buffer_handle_t gralloc_drm_bo_get_handle(struct gralloc_drm_bo_t *bo, int *stride); int gralloc_drm_get_gem_handle(buffer_handle_t handle); +void gralloc_drm_resolve_format(buffer_handle_t _handle, uint32_t *pitches, uint32_t *offsets, uint32_t *handles); int gralloc_drm_bo_lock(struct gralloc_drm_bo_t *bo, int x, int y, int w, int h, int enable_write, void **addr); void gralloc_drm_bo_unlock(struct gralloc_drm_bo_t *bo); |