/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 359 void *pvirt = NULL; in PmemMalloc() local 401 pvirt = mmap(NULL, nSize, in PmemMalloc() 404 if (pvirt == (void*) MAP_FAILED) in PmemMalloc() 421 pvirt, pMem->offset, nSize); in PmemMalloc() 422 return pvirt; in PmemMalloc() 425 int PmemFree(OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO* pMem, void* pvirt, int nSize) in PmemFree() argument 427 if (!pMem || !pvirt) in PmemFree() 431 munmap(pvirt, nSize); in PmemFree() 1927 OMX_U8* pvirt = NULL; in main() local 2027 pvirt = (OMX_U8*)PmemMalloc(pMem, m_sProfile.nFrameBytes); in main() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
D | venc_test.cpp | 388 void *pvirt = NULL; in PmemMalloc() local 436 pvirt = mmap(NULL, nSize, in PmemMalloc() 440 if (pvirt == (void*) MAP_FAILED) { in PmemMalloc() 459 pvirt, pMem->offset, nSize); in PmemMalloc() 460 return pvirt; in PmemMalloc() 463 int PmemFree(OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO* pMem, void* pvirt, int nSize) in PmemFree() argument 465 if (!pMem || !pvirt) in PmemFree() 469 munmap(pvirt, nSize); in PmemFree() 1937 OMX_U8* pvirt = NULL; in main() local 2041 pvirt = (OMX_U8*)PmemMalloc(pMem, m_sProfile.nFrameBytes); in main() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 2292 OMX_U8* pvirt = NULL; in use_input_buffer() local 2304 pvirt = (OMX_U8*) malloc (bufSize); in use_input_buffer() 2305 if(pvirt == NULL){ in use_input_buffer() 2310 nPortIndex, NULL, bufSize, pvirt); in use_input_buffer() 2324 OMX_U8* pvirt = NULL; in use_output_buffer() local 2362 pvirt = (unsigned char *)mmap(NULL,bufSize,PROT_READ|PROT_WRITE, in use_output_buffer() 2364 DEBUG_PRINT_ERROR("\n Virtaul Address %p Size %d",pvirt,bufSize); in use_output_buffer() 2365 if (pvirt == MAP_FAILED) { in use_output_buffer() 2369 use_buf_virt_addr[bufCnt] = (unsigned)pvirt; in use_output_buffer() 2371 nPortIndex, pvirt,(void *)p_eglHeaders[bufCnt]); in use_output_buffer() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 2538 OMX_U8* pvirt = NULL; in use_input_buffer() local 2550 pvirt = (OMX_U8*) malloc (bufSize); in use_input_buffer() 2551 if (pvirt == NULL) { in use_input_buffer() 2556 nPortIndex, NULL, bufSize, pvirt); in use_input_buffer() 2570 OMX_U8* pvirt = NULL; in use_output_buffer() local 2608 pvirt = (unsigned char *)mmap(NULL,bufSize,PROT_READ|PROT_WRITE, in use_output_buffer() 2610 DEBUG_PRINT_ERROR("\n Virtaul Address %p Size %u",pvirt,(unsigned int)bufSize); in use_output_buffer() 2611 if (pvirt == MAP_FAILED) { in use_output_buffer() 2615 use_buf_virt_addr[bufCnt] = (unsigned)pvirt; in use_output_buffer() 2617 nPortIndex, pvirt,(void *)p_eglHeaders[bufCnt]); in use_output_buffer() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 796 unsigned char *pvirt,*ptemp; in venc_input_log_buffers() local 802 … pvirt= (unsigned char *)mmap(NULL, msize, PROT_READ|PROT_WRITE,MAP_SHARED, fd, plane_offset); in venc_input_log_buffers() 803 if (pvirt) { in venc_input_log_buffers() 804 ptemp = pvirt; in venc_input_log_buffers() 809 ptemp = pvirt + (stride * scanlines); in venc_input_log_buffers() 814 munmap(pvirt, msize); in venc_input_log_buffers() 815 } else if (pvirt == MAP_FAILED) { in venc_input_log_buffers()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1014 unsigned char *pvirt = NULL, *ptemp = NULL; in venc_input_log_buffers() local 1040 … pvirt= (unsigned char *)mmap(NULL, msize, PROT_READ|PROT_WRITE,MAP_SHARED, fd, plane_offset); in venc_input_log_buffers() 1041 if (pvirt == MAP_FAILED) { in venc_input_log_buffers() 1045 ptemp = pvirt; in venc_input_log_buffers() 1059 ptemp = pvirt + (stride * scanlines); in venc_input_log_buffers() 1082 if (metadatamode == 1 && pvirt) { in venc_input_log_buffers() 1083 munmap(pvirt, msize); in venc_input_log_buffers()
|