Home
last modified time | relevance | path

Searched refs:ion_device_fd (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Domx_video_common.h76 int ion_device_fd; member
Dvideo_encoder_device.h94 int ion_device_fd; member
Dvideo_encoder_device_copper.h207 int ion_device_fd; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp2102 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 …]
Dvideo_encoder_device.cpp1257 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()
Dvideo_encoder_device_copper.cpp1227 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/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp2198 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer()
2227 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2231 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2235 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer()
2390 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer()
2417 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer()
2421 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
2426 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer()
2804 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer()
2829 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer()
[all …]
Dvideo_encoder_device.cpp1461 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()
Dvideo_encoder_device_v4l2.cpp635 extradata_info.ion.ion_device_fd = venc_handle->alloc_map_ion_memory( in allocate_extradata()
640 if (extradata_info.ion.ion_device_fd < 0) { in allocate_extradata()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_common.h96 int ion_device_fd; member
Dvideo_encoder_device.h100 int ion_device_fd; member
Dvideo_encoder_device_v4l2.h309 int ion_device_fd; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp299 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/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp328 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/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp3971 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 …]
Domx_vdec_hevc_swvdec.cpp4331 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 …]
Domx_vdec_hevc.cpp3597 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 …]
Domx_vdec_msm8974.cpp4605 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata()
4609 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata()
4776 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
4780 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer()
4781 … DEBUG_PRINT_ERROR("ION device fd is bad %d", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer()
5317 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer()
5335 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer()
5345 if (drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer()
5475 int ion_device_fd =-1; in allocate_output_buffer() local
5518 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp4185 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
4189 if(drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer()
4760 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer()
4779 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer()
4783 if(drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer()
4908 int ion_device_fd =-1; in allocate_output_buffer() local
5022 drv_ctx.op_buf_ion_info[i].ion_device_fd =-1; in allocate_output_buffer()
5098 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer()
5102 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in allocate_output_buffer()
5166 m_heap_ptr[i].video_heap_ptr = new VideoHeap (drv_ctx.op_buf_ion_info[i].ion_device_fd, in allocate_output_buffer()
[all …]
Domx_vdec_copper.cpp3847 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
3851 if(drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer()
4384 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer()
4405 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer()
4409 if(drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer()
4544 int ion_device_fd =-1; in allocate_output_buffer() local
4583 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer()
4587 if (ion_device_fd < 0) { in allocate_output_buffer()
4703 drv_ctx.op_buf_ion_info[i].ion_device_fd = ion_device_fd; in allocate_output_buffer()
7111 ion_buf_info.ion_device_fd = fd; in alloc_map_ion_memory()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h221 int ion_device_fd; member
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h206 int ion_device_fd; member
Domx_vdec.h241 int ion_device_fd; member