Searched refs:pMem (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 357 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/msm8974/mm-video-v4l2/vidc/venc/test/ |
D | venc_test.cpp | 386 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/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraDualFOVPP.cpp | 468 QCameraMemory *pMem = (QCameraMemory *)main_snapshot_buf->mem_info; in process() local 469 pMem->invalidateCache(main_snapshot_buf->buf_idx); in process() 471 pMem = (QCameraMemory *)aux_snapshot_buf->mem_info; in process() 472 pMem->invalidateCache(aux_snapshot_buf->buf_idx); in process()
|