Searched refs:p_ion_info (Results 1 – 2 of 2) sorted by relevance
4723 int omx_swvdec::ion_memory_alloc_map(vdec_ion *p_ion_info, OMX_U32 size, OMX_U32 alignment) in ion_memory_alloc_map() argument4727 if((!p_ion_info) || (size == 0)) in ion_memory_alloc_map()4733 p_ion_info->dev_fd = -EINVAL; in ion_memory_alloc_map()4735 if ((p_ion_info->dev_fd = ion_open()) < 0) in ion_memory_alloc_map()4737 OMX_SWVDEC_LOG_ERROR("failed to open ion device; fd = %d", p_ion_info->dev_fd); in ion_memory_alloc_map()4741 p_ion_info->alloc_data.len = size; in ion_memory_alloc_map()4742 p_ion_info->alloc_data.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); in ion_memory_alloc_map()4743 p_ion_info->alloc_data.flags = 0;//check if ION_FLAG_CACHED need to be set; in ion_memory_alloc_map()4747 p_ion_info->alloc_data.heap_id_mask, in ion_memory_alloc_map()4748 p_ion_info->alloc_data.len); in ion_memory_alloc_map()[all …]
390 int ion_memory_alloc_map(struct vdec_ion *p_ion_info, OMX_U32 size, OMX_U32 alignment);