/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
H A D | omx_video_base.cpp | 2102 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 2727 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer() 4313 if(ion_device_fd < 0) in alloc_map_ion_memory() 4316 return ion_device_fd; in alloc_map_ion_memory() 4336 close(ion_device_fd); in alloc_map_ion_memory() 4337 ion_device_fd = -1; in alloc_map_ion_memory() 4338 return ion_device_fd; in alloc_map_ion_memory() 4345 buf_ion_info.ion_device_fd = ion_device_fd; in alloc_map_ion_memory() 4349 ion_device_fd =-1; in alloc_map_ion_memory() 4351 return ion_device_fd; in alloc_map_ion_memory() [all …]
|
H A 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()
|
H A 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()
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 2229 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 4403 if (ion_device_fd < 0) { in alloc_map_ion_memory() 4405 return ion_device_fd; in alloc_map_ion_memory() 4435 close(ion_device_fd); in alloc_map_ion_memory() 4436 ion_device_fd = -1; in alloc_map_ion_memory() 4437 return ion_device_fd; in alloc_map_ion_memory() 4444 buf_ion_info.ion_device_fd = ion_device_fd; in alloc_map_ion_memory() 4448 ion_device_fd =-1; in alloc_map_ion_memory() 4450 return ion_device_fd; in alloc_map_ion_memory() 4464 close(buf_ion_info->ion_device_fd); in free_ion_memory() [all …]
|
H A 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()
|
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 2526 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 4735 if (ion_device_fd < 0) { in alloc_map_ion_memory() 4737 return ion_device_fd; in alloc_map_ion_memory() 4770 close(ion_device_fd); in alloc_map_ion_memory() 4771 ion_device_fd = -1; in alloc_map_ion_memory() 4772 return ion_device_fd; in alloc_map_ion_memory() 4779 buf_ion_info.ion_device_fd = ion_device_fd; in alloc_map_ion_memory() 4783 ion_device_fd =-1; in alloc_map_ion_memory() 4785 return ion_device_fd; in alloc_map_ion_memory() 4799 close(buf_ion_info->ion_device_fd); in free_ion_memory() [all …]
|
H A 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()
|
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 2614 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 4882 if (ion_device_fd < 0) { in alloc_map_ion_memory() 4884 return ion_device_fd; in alloc_map_ion_memory() 4917 close(ion_device_fd); in alloc_map_ion_memory() 4918 ion_device_fd = -1; in alloc_map_ion_memory() 4919 return ion_device_fd; in alloc_map_ion_memory() 4926 buf_ion_info.ion_device_fd = ion_device_fd; in alloc_map_ion_memory() 4930 ion_device_fd =-1; in alloc_map_ion_memory() 4932 return ion_device_fd; in alloc_map_ion_memory() 4946 close(buf_ion_info->ion_device_fd); in free_ion_memory() [all …]
|
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 2605 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer() 4796 if (ion_device_fd < 0) { in alloc_map_ion_memory() 4798 return ion_device_fd; in alloc_map_ion_memory() 4837 close(ion_device_fd); in alloc_map_ion_memory() 4838 ion_device_fd = -1; in alloc_map_ion_memory() 4839 return ion_device_fd; in alloc_map_ion_memory() 4846 buf_ion_info.ion_device_fd = ion_device_fd; in alloc_map_ion_memory() 4850 ion_device_fd =-1; in alloc_map_ion_memory() 4852 return ion_device_fd; in alloc_map_ion_memory() 4866 close(buf_ion_info->ion_device_fd); in free_ion_memory() [all …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
H A 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 …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
H A D | omx_video_common.h | 76 int ion_device_fd; member
|
H A D | video_encoder_device.h | 94 int ion_device_fd; member
|
H A D | video_encoder_device_copper.h | 207 int ion_device_fd; member
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
H A 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 …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_common.h | 96 int ion_device_fd; member
|
H A D | video_encoder_device.h | 100 int ion_device_fd; member
|
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_common.h | 102 int ion_device_fd; member
|
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_common.h | 103 int ion_device_fd; member
|
H A D | video_encoder_device.h | 100 int ion_device_fd; member
|
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_common.h | 104 int ion_device_fd; member
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec.cpp | 4555 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer() 4701 int ion_device_fd =-1; in allocate_output_buffer() local 7359 ion_buf_info.ion_device_fd = fd; in alloc_map_ion_memory() 7387 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE, in free_ion_memory() 7392 close(buf_ion_info->ion_device_fd); in free_ion_memory() 7393 buf_ion_info->ion_device_fd = -1; in free_ion_memory() 8969 if (drv_ctx.meta_buffer.ion_device_fd < 0) { in vdec_alloc_meta_buffers() 8983 if (drv_ctx.meta_buffer_iommu.ion_device_fd < 0) { in vdec_alloc_meta_buffers() 9115 drv_ctx.h264_mv.ion_device_fd = alloc_map_ion_memory( in vdec_alloc_h264_mv() 9120 if (drv_ctx.h264_mv.ion_device_fd < 0) { in vdec_alloc_h264_mv() [all …]
|
H A D | omx_vdec_hevc_swvdec.cpp | 5275 int ion_device_fd =-1; in allocate_output_buffer() local 5322 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() 5326 if (ion_device_fd < 0) { in allocate_output_buffer() 5447 drv_ctx.op_buf_ion_info[i].ion_device_fd = ion_device_fd; in allocate_output_buffer() 7928 ion_buf_info.ion_device_fd = fd; in alloc_map_ion_memory() 7950 close(buf_ion_info->ion_device_fd); in free_ion_memory() 7951 buf_ion_info->ion_device_fd = -1; in free_ion_memory() 10143 int ion_device_fd =-1; in allocate_interm_buffer() local 10187 ion_device_fd = alloc_map_ion_memory( in allocate_interm_buffer() 10191 if (ion_device_fd < 0) { in allocate_interm_buffer() [all …]
|
H A D | omx_vdec_hevc.cpp | 3601 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata() 4249 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; 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() 4442 if (ion_device_fd < 0) { in allocate_output_buffer() 4552 drv_ctx.op_buf_ion_info[i].ion_device_fd = ion_device_fd; in allocate_output_buffer() 6968 ion_buf_info.ion_device_fd = fd; in alloc_map_ion_memory() 6985 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE, in free_ion_memory() 6989 close(buf_ion_info->ion_device_fd); in free_ion_memory() 6990 buf_ion_info->ion_device_fd = -1; in free_ion_memory() [all …]
|
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc_swvdec.cpp | 5477 int ion_device_fd =-1; in allocate_output_buffer() local 5526 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer() 5530 if (ion_device_fd < 0) { in allocate_output_buffer() 5651 drv_ctx.op_buf_ion_info[i].ion_device_fd = ion_device_fd; in allocate_output_buffer() 8143 ion_buf_info.ion_device_fd = fd; in alloc_map_ion_memory() 8165 close(buf_ion_info->ion_device_fd); in free_ion_memory() 8166 buf_ion_info->ion_device_fd = -1; in free_ion_memory() 10360 int ion_device_fd =-1; in allocate_interm_buffer() local 10410 ion_device_fd = alloc_map_ion_memory( in allocate_interm_buffer() 10414 if (ion_device_fd < 0) { in allocate_interm_buffer() [all …]
|
H A D | omx_vdec_hevc.cpp | 3580 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata() 4228 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; 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() 4421 if (ion_device_fd < 0) { in allocate_output_buffer() 4531 drv_ctx.op_buf_ion_info[i].ion_device_fd = ion_device_fd; in allocate_output_buffer() 6932 ion_buf_info.ion_device_fd = fd; in alloc_map_ion_memory() 6949 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE, in free_ion_memory() 6953 close(buf_ion_info->ion_device_fd); in free_ion_memory() 6954 buf_ion_info->ion_device_fd = -1; in free_ion_memory() [all …]
|