Home
last modified time | relevance | path

Searched refs:pMem (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp357 void* PmemMalloc(OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO* pMem, int nSize) in PmemMalloc() argument
362 if (!pMem) in PmemMalloc()
393 pMem->pmem_fd = ion_data.ion_alloc_fd.fd; in PmemMalloc()
395 pMem->pmem_fd = open(PMEM_DEVICE, O_RDWR); in PmemMalloc()
396 if ((int)(pMem->pmem_fd) < 0) in PmemMalloc()
400 pMem->offset = 0; in PmemMalloc()
403 MAP_SHARED, pMem->pmem_fd, pMem->offset); in PmemMalloc()
406 close(pMem->pmem_fd); in PmemMalloc()
407 pMem->pmem_fd = -1; in PmemMalloc()
420 D("allocated pMem->fd = %d pvirt=0x%x, pMem->phys=0x%x, size = %d", pMem->pmem_fd, in PmemMalloc()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp386 void* PmemMalloc(OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO* pMem, int nSize) in PmemMalloc() argument
391 if (!pMem) in PmemMalloc()
426 pMem->pmem_fd = ion_data.ion_alloc_fd.fd; in PmemMalloc()
428 pMem->pmem_fd = open(PMEM_DEVICE, O_RDWR); in PmemMalloc()
430 if ((int)(pMem->pmem_fd) < 0) in PmemMalloc()
435 pMem->offset = 0; in PmemMalloc()
438 MAP_SHARED, pMem->pmem_fd, pMem->offset); in PmemMalloc()
441 close(pMem->pmem_fd); in PmemMalloc()
442 pMem->pmem_fd = -1; in PmemMalloc()
458 D("allocated pMem->fd = %lu pvirt=0x%p, pMem->phys=0x%lx, size = %d", pMem->pmem_fd, in PmemMalloc()
[all …]
/hardware/ti/omap3/dspbridge/libbridge/inc/
Dwcdioctl.h409 PVOID pMem; member
415 PVOID pMem; member
419 PVOID pMem; member
/hardware/ti/omap3/dspbridge/inc/
Dwcdioctl.h409 PVOID pMem; member
415 PVOID pMem; member
419 PVOID pMem; member