Home | History | Annotate | Download | only in xcore

Lines Matching refs:gem

332     struct drm_mode_create_dumb gem;
337 xcam_mem_clear (gem);
341 gem.width = format.fmt.pix.bytesperline;
342 gem.height = format.fmt.pix.height;
343 gem.bpp = 8;
344 ret = xcam_device_ioctl (_fd, DRM_IOCTL_MODE_CREATE_DUMB, &gem);
347 prime.handle = gem.handle;
358 v4l2_buf.length = XCAM_MAX (format.fmt.pix.sizeimage, gem.size); // todo check gem.size and format.fmt.pix.length
359 XCAM_LOG_DEBUG ("create drm buffer size:%lld", gem.size);
360 return new DrmV4l2Buffer (gem.handle, v4l2_buf, format, _instance);