Home
last modified time | relevance | path

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

12

/hardware/qcom/media/msm8974/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/msm8974/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/msm8974/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_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()
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()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_common.h103 int ion_device_fd; member
Dvideo_encoder_device.h100 int ion_device_fd; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp2206 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer()
2235 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2239 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2243 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer()
2398 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer()
2425 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer()
2429 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
2434 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer()
2812 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer()
2837 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()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp2451 m_pInput_ion[i].ion_device_fd =-1; in use_input_buffer()
2480 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2485 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2489 if (m_pInput_ion[i].ion_device_fd < 0) { in use_input_buffer()
2644 m_pOutput_ion[i].ion_device_fd =-1; in use_output_buffer()
2671 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory(align_size, in use_output_buffer()
2676 m_pOutput_ion[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
2681 if (m_pOutput_ion[i].ion_device_fd < 0) { in use_output_buffer()
3059 m_pInput_ion[i].ion_device_fd =-1; in allocate_input_buffer()
3084 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in allocate_input_buffer()
[all …]
Dvideo_encoder_device.cpp1462 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/msm8974/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/msm8974/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/msm8974/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.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.cpp4615 drv_ctx.extradata_info.ion.ion_device_fd = alloc_map_ion_memory( in allocate_extradata()
4619 if (drv_ctx.extradata_info.ion.ion_device_fd < 0) { in allocate_extradata()
4786 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
4790 if (drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer()
4791 … DEBUG_PRINT_ERROR("ION device fd is bad %d", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer()
5331 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer()
5349 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer()
5359 if (drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer()
5495 int ion_device_fd =-1; in allocate_output_buffer() local
5538 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp4526 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 …]
Domx_vdec_hevc.cpp3576 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 …]
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp3955 drv_ctx.op_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in use_output_buffer()
3959 if(drv_ctx.op_buf_ion_info[i].ion_device_fd < 0) { in use_output_buffer()
3960 DEBUG_PRINT_ERROR("ION device fd is bad %d\n", drv_ctx.op_buf_ion_info[i].ion_device_fd); in use_output_buffer()
4751 drv_ctx.ip_buf_ion_info[i].ion_device_fd = -1; in allocate_input_buffer()
4772 drv_ctx.ip_buf_ion_info[i].ion_device_fd = alloc_map_ion_memory( in allocate_input_buffer()
4776 if(drv_ctx.ip_buf_ion_info[i].ion_device_fd < 0) { in allocate_input_buffer()
4857 int ion_device_fd =-1; in allocate_output_buffer() local
4875 ion_device_fd = alloc_map_ion_memory( in allocate_output_buffer()
4879 if (ion_device_fd < 0) { in allocate_output_buffer()
4945 drv_ctx.op_buf_ion_info[i].ion_device_fd = ion_device_fd; in allocate_output_buffer()
[all …]
/hardware/qcom/media/msm8974/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 …]

12