[osal]: add ion on android os_allocator

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@144 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-21 03:45:18 +00:00
parent 2c5ee82f4e
commit aa58d818ce
5 changed files with 152 additions and 114 deletions

View File

@@ -151,7 +151,8 @@ typedef enum {
*
* MPP_BUFFER_TYPE_ION
*
* ptr - ion handle in user space
* ptr - virtual address of ion buffer in user space
* hnd - ion handle in user space
* fd - ion buffer file handle for map / unmap
*
* MPP_BUFFER_TYPE_V4L2
@@ -162,6 +163,7 @@ typedef struct {
MppBufferType type;
size_t size;
void *ptr;
void *hnd;
int fd;
} MppBufferInfo;