Lines Matching defs:buf_ion_info
4394 struct venc_ion buf_ion_info;
4443 buf_ion_info.ion_alloc_data = *alloc_data;
4444 buf_ion_info.ion_device_fd = ion_device_fd;
4445 buf_ion_info.fd_ion_data = *fd_data;
4446 free_ion_memory(&buf_ion_info);
4453 void omx_video::free_ion_memory(struct venc_ion *buf_ion_info)
4455 if (!buf_ion_info) {
4459 if (ioctl(buf_ion_info->ion_device_fd,ION_IOC_FREE,
4460 &buf_ion_info->ion_alloc_data.handle)) {
4464 close(buf_ion_info->ion_device_fd);
4465 buf_ion_info->ion_alloc_data.handle = 0;
4466 buf_ion_info->ion_device_fd = -1;
4467 buf_ion_info->fd_ion_data.fd = -1;