Lines Matching refs:pPMEMInfo
298 OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO *pPMEMInfo = NULL;
2409 pPMEMInfo = (OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO *)
2412 if(pPMEMInfo == NULL){
2413 DEBUG_PRINT_ERROR("\n pPMEMInfo Allocation failed ");
2423 pPlatformEntry[bufCnt].entry = &pPMEMInfo[bufCnt];
2427 pPMEMInfo[bufCnt].offset = 0;
2428 pPMEMInfo[bufCnt].pmem_fd = open(PMEM_DEVICE,O_RDWR);;
2429 if(pPMEMInfo[bufCnt].pmem_fd < 0) {
2435 align_pmem_buffers(pPMEMInfo[bufCnt].pmem_fd, bufSize,
2438 DEBUG_PRINT("\n allocation size %d pmem fd 0x%x",bufSize,pPMEMInfo[bufCnt].pmem_fd);
2440 MAP_SHARED,pPMEMInfo[bufCnt].pmem_fd,0);
2442 DEBUG_PRINT("\n Virtaul Address %p Size %d pmem_fd=0x%x",pvirt,bufSize,pPMEMInfo[bufCnt].pmem_fd);
2499 pPMEMInfo[bufCnt].pmem_fd);
2505 if (&pPMEMInfo[bufCnt])
2507 close(pPMEMInfo[bufCnt].pmem_fd);
2508 pPMEMInfo[bufCnt].pmem_fd = -1;
2517 if (pPMEMInfo)
2520 free(pPMEMInfo);
2521 pPMEMInfo = NULL;
3412 OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO *pPMEMInfo = NULL;
3426 pPMEMInfo = (OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO *)
3429 if (pPMEMInfo == NULL)
3436 vheap = (MemoryHeapBase*)pPMEMInfo->pmem_fd;
3442 ov_front.data.memory_id = pPMEMInfo->pmem_fd;
3445 ov_front.data.offset = pPMEMInfo->offset;
3472 OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO *pPMEMInfo = NULL;
3515 pPMEMInfo = (OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO *)
3519 vheap = (MemoryHeapBase *)pPMEMInfo->pmem_fd;
3531 e->src.offset = pPMEMInfo->offset;
3535 e->src.memory_id = pPMEMInfo->pmem_fd;
3639 if (pPMEMInfo)
3642 free(pPMEMInfo);
3643 pPMEMInfo = NULL;
3819 pPMEMInfo[index].pmem_fd);
3823 if (&pPMEMInfo[index])
3825 close(pPMEMInfo[index].pmem_fd);
3826 pPMEMInfo[index].pmem_fd = -1;