diff options
author | Elaine Wang <elaine.wang@intel.com> | 2012-11-19 15:15:03 +0800 |
---|---|---|
committer | cactus <cactus@intel.com> | 2012-11-30 03:04:39 -0800 |
commit | acfa7dac15694df7f2e2514005bec5621a00f414 (patch) | |
tree | 6f151b14d15b6b69e79ab2c4a509a025db3171d6 /va | |
parent | 37667c3bc88b76462b2487a3dc2577260819b3ec (diff) | |
download | libva-acfa7dac15694df7f2e2514005bec5621a00f414.tar.gz |
[PORT FROM MAIN] Add new memory type to support none-cache user pointer
BZ: 68817
Cached memory consume more power in video recording. If libva
support none-cache user pointer, camera can use ash to allocate
none-cache memory(ashmemory) as share buffer.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: I64084bc65b8145150be25e9e7198dc78d888e1bd
Reviewed-on: http://android.intel.com:8080/76776
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: cactus <cactus@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Diffstat (limited to 'va')
-rw-r--r-- | va/va_tpi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/va/va_tpi.h b/va/va_tpi.h index 3068d39..b01cb75 100644 --- a/va/va_tpi.h +++ b/va/va_tpi.h @@ -45,6 +45,7 @@ typedef enum { * the gralloc native_handle_t list */ VAExternalMemoryIONSharedFD, /* the memory is allocated from ION and shared as a fd */ + VAExternalMemoryNoneCacheUserPointer, /* the memory is uncached and allocated from user space*/ } VASurfaceMemoryType; typedef struct _VASurfaceAttributeTPI { |