/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
D | omx_video_common.h | 76 int ion_device_fd; member
|
D | video_encoder_device.h | 94 int ion_device_fd; member
|
D | video_encoder_device_copper.h | 207 int ion_device_fd; member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_common.h | 96 int ion_device_fd; member
|
D | video_encoder_device.h | 100 int ion_device_fd; member
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_common.h | 102 int ion_device_fd; member
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_common.h | 103 int ion_device_fd; member
|
D | video_encoder_device.h | 100 int ion_device_fd; member
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_common.h | 104 int ion_device_fd; member
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_base.cpp | 2102 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 2134 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2137 if(m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer() 2299 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer() 2332 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 2336 if(m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer() 2727 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer() 2752 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer() 2755 if(m_pInput_ion[i].ion_device_fd < 0) { in allocate_input_buffer() 2884 m_pOutput_ion[i].ion_device_fd =-1; in allocate_output_buffer() [all …]
|
D | video_encoder_device.cpp | 1257 recon_buff[count].ion_device_fd = open (MEM_DEVICE,O_RDONLY | O_DSYNC); in pmem_allocate() 1258 if(recon_buff[count].ion_device_fd < 0) in pmem_allocate() 1273 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_ALLOC,&recon_buff[count].alloc_data); in pmem_allocate() 1281 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate() 1323 if(ioctl(recon_buff[count].ion_device_fd,ION_IOC_FREE, in pmem_allocate() 1329 close(recon_buff[count].ion_device_fd); in pmem_allocate() 1330 recon_buff[count].ion_device_fd =-1; in pmem_allocate() 1386 if(ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free() 1392 close(recon_buff[cnt].ion_device_fd); in pmem_free() 1393 recon_buff[cnt].ion_device_fd =-1; in pmem_free()
|
D | video_encoder_device_copper.cpp | 1227 recon_buff[count].ion_device_fd = open (MEM_DEVICE,O_RDONLY|O_DSYNC); in pmem_allocate() 1228 if(recon_buff[count].ion_device_fd < 0) in pmem_allocate() 1240 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_ALLOC,&recon_buff[count].alloc_data); in pmem_allocate() 1248 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate() 1288 if(ioctl(recon_buff[count].ion_device_fd,ION_IOC_FREE, in pmem_allocate() 1294 close(recon_buff[count].ion_device_fd); in pmem_allocate() 1295 recon_buff[count].ion_device_fd =-1; in pmem_allocate() 1341 if(ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free() 1347 close(recon_buff[cnt].ion_device_fd); in pmem_free() 1348 recon_buff[cnt].ion_device_fd =-1; in pmem_free()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 2229 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 2258 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2262 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2266 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer() 2422 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer() 2449 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer() 2453 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 2458 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer() 2836 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer() 2861 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer() [all …]
|
D | video_encoder_device.cpp | 1461 recon_buff[count].ion_device_fd = open (MEM_DEVICE,O_RDONLY); in pmem_allocate() 1463 if (recon_buff[count].ion_device_fd < 0) { in pmem_allocate() 1481 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_ALLOC,&recon_buff[count].alloc_data); in pmem_allocate() 1490 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate() 1532 if (ioctl(recon_buff[count].ion_device_fd,ION_IOC_FREE, in pmem_allocate() 1539 close(recon_buff[count].ion_device_fd); in pmem_allocate() 1540 recon_buff[count].ion_device_fd =-1; in pmem_allocate() 1592 if (ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free() 1599 close(recon_buff[cnt].ion_device_fd); in pmem_free() 1600 recon_buff[cnt].ion_device_fd =-1; in pmem_free()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 2526 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 2556 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2561 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2565 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer() 2720 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer() 2747 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer() 2752 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 2757 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer() 3148 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer() 3173 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer() [all …]
|
D | video_encoder_device.cpp | 1462 recon_buff[count].ion_device_fd = open (MEM_DEVICE,O_RDONLY); in pmem_allocate() 1464 if (recon_buff[count].ion_device_fd < 0) { in pmem_allocate() 1482 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_ALLOC,&recon_buff[count].alloc_data); in pmem_allocate() 1491 rc = ioctl(recon_buff[count].ion_device_fd,ION_IOC_MAP,&recon_buff[count].ion_alloc_fd); in pmem_allocate() 1533 if (ioctl(recon_buff[count].ion_device_fd,ION_IOC_FREE, in pmem_allocate() 1540 close(recon_buff[count].ion_device_fd); in pmem_allocate() 1541 recon_buff[count].ion_device_fd =-1; in pmem_allocate() 1593 if (ioctl(recon_buff[cnt].ion_device_fd,ION_IOC_FREE, in pmem_free() 1600 close(recon_buff[cnt].ion_device_fd); in pmem_free() 1601 recon_buff[cnt].ion_device_fd =-1; in pmem_free()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 2614 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 2644 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2649 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2653 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer() 2808 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer() 2835 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer() 2840 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 2845 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer() 3244 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer() 3269 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer() [all …]
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 2612 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 2641 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2645 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer() 2798 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer() 2824 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer() 2828 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer() 3307 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer() 3331 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer() 3335 if (m_pInput_ion[i].ion_device_fd < 0) { in allocate_input_buffer() 3471 m_pOutput_ion[i].ion_device_fd =-1; in allocate_output_buffer() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 299 int ion_device_fd; member 366 ion_data.ion_device_fd = open (PMEM_DEVICE,O_RDONLY); in PmemMalloc() 367 if(ion_data.ion_device_fd < 0) in PmemMalloc() 378 rc = ioctl(ion_data.ion_device_fd,ION_IOC_ALLOC,&ion_data.alloc_data); in PmemMalloc() 386 rc = ioctl(ion_data.ion_device_fd,ION_IOC_MAP,&ion_data.ion_alloc_fd); in PmemMalloc() 409 if(ioctl(ion_data.ion_device_fd,ION_IOC_FREE, in PmemMalloc() 415 close(ion_data.ion_device_fd); in PmemMalloc() 416 ion_data.ion_device_fd =-1; in PmemMalloc() 435 if(ioctl(ion_data.ion_device_fd,ION_IOC_FREE, in PmemFree() 441 close(ion_data.ion_device_fd); in PmemFree() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
D | venc_test.cpp | 328 int ion_device_fd; member 395 ion_data.ion_device_fd = open (PMEM_DEVICE, O_RDONLY); in PmemMalloc() 397 if (ion_data.ion_device_fd < 0) { in PmemMalloc() 408 rc = ioctl(ion_data.ion_device_fd,ION_IOC_ALLOC,&ion_data.alloc_data); in PmemMalloc() 417 rc = ioctl(ion_data.ion_device_fd,ION_IOC_MAP,&ion_data.ion_alloc_fd); in PmemMalloc() 445 if (ioctl(ion_data.ion_device_fd,ION_IOC_FREE, in PmemMalloc() 452 close(ion_data.ion_device_fd); in PmemMalloc() 453 ion_data.ion_device_fd =-1; in PmemMalloc() 474 if (ioctl(ion_data.ion_device_fd,ION_IOC_FREE, in PmemFree() 481 close(ion_data.ion_device_fd); in PmemFree() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec.cpp | 3971 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 3976 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer() 4555 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer() 4571 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer() 4576 if (drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer() 4701 int ion_device_fd =-1; in allocate_output_buffer() local 4813 drv_ctx.op_buf_ion_info[i].ion_device_fd =-1; in allocate_output_buffer() 4899 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() 4904 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in allocate_output_buffer() 4967 m_heap_ptr[i].video_heap_ptr = new VideoHeap (drv_ctx.op_buf_ion_info[i].ion_device_fd, in allocate_output_buffer() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 4331 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 4335 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata() 4494 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 4498 if(drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer() 4499 … DEBUG_PRINT_ERROR("ION device fd is bad %d", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer() 5097 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer() 5128 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer() 5132 if(drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer() 5275 int ion_device_fd =-1; in allocate_output_buffer() local 5322 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() [all …]
|
D | omx_vdec_hevc.cpp | 3597 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 3601 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata() 3722 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 3726 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer() 3727 … DEBUG_PRINT_ERROR("ION device fd is bad %d", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer() 4249 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer() 4268 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer() 4272 if (drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer() 4399 int ion_device_fd =-1; in allocate_output_buffer() local 4438 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 4526 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 4530 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata() 4691 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 4695 if(drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer() 4696 … DEBUG_PRINT_ERROR("ION device fd is bad %d", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer() 5295 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer() 5328 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer() 5332 if(drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer() 5477 int ion_device_fd =-1; in allocate_output_buffer() local 5526 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() [all …]
|
D | omx_vdec_hevc.cpp | 3576 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata() 3580 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata() 3701 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer() 3705 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer() 3706 … DEBUG_PRINT_ERROR("ION device fd is bad %d", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer() 4228 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer() 4247 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer() 4251 if (drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer() 4378 int ion_device_fd =-1; in allocate_output_buffer() local 4417 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() [all …]
|