- EGL_KHR_image_pixmap is missing from extension list(eglQueryString(EGL_EXTENSIONS)), maybe this is the cause. - writeback stream(v4l2 yuy2) works fine with eglCreateImageKHR( m_EglDisplay, EGl_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, NULL, Attribs ); How do I create...
Propagate the DRM format modifier from the AVDRMObjectDescriptor to eglCreateImage() on Linux. Some hardware will decode video into a non-linear DRM surface, and propagating this value using the `EGL_EXT_image_dma_buf_import_modifiers` extension is required in order to display something useful...
EGL_LINUX_DRM_FOURCC_EXT, DRM_FORMAT_ARGB8888, EGL_DMA_BUF_PLANE0_FD_EXT, fd, EGL_DMA_BUF_PLANE0_OFFSET_EXT, offset, EGL_DMA_BUF_PLANE0_PITCH_EXT, stride, EGL_NONE };/** * The spec says: * * "If <target> is EGL_LINUX_DMA_BUF_EXT, <dpy> must be a valid * display, <...
Jeyaprabhu、您好! 在PSDKLA 中、不再支持 EGL_RAW_VIDEO_TI_DMABUF 宏。 您需要使用 EGL_Linux_DMA_BUF_EXT 并相应地设置平面属性。 有关详细信息、请参阅 ti-img-SGX/1.14.3699939分支的 eglext.h。 最新的 display-kmscube.c 将向您展示将 NV12/YUV dambuf 导入 EGLImage 所需的应用程...
EGL_LINUX_DMA_BUF_EXT, NULL, attr); EGLCheck(0U); validate(EGL_NO_IMAGE_KHR != m_outImg[cnt], ERR_P1_GLES_EGL_CREATEIMGKHR_FAILED); glGenTextures(1, &m_outTex[cnt]); GLCheck(0U); glBindTexture(GL_TEXTURE_2D, m_outTex[cnt]); GLCheck(0U); glTexParameteri(GL_TEXTU...
ATTR[attrIdx++]= EGL_Linux_DRM_FourCC_EXT; ATTR[attrIdx++]=FourCC_STR("AB24"); 中断; } ATTR[attrIdx++]= EGL_width; ATTR[attrIdx++]=m_outWidth; ATTR[attrIdx++]= EGL_HEIGHT; ATTR[attrIdx++]=m_outHeight; ATTR[attrIdx+]= EGL_DMA_BUF_PLANE0_Pit_EXT; ...
#define EGL_NO_DEVICE_EXT EGL_CAST(EGLDeviceEXT,0) #define EGL_BAD_DEVICE_EXT 0x322B #define EGL_DEVICE_EXT 0x322C #define EGL_DRM_RENDER_NODE_FILE_EXT 0x3377 #define EGL_LINUX_DMA_BUF_EXT 0x3270 #define EGL_LINUX_DRM_FOURCC_EXT 0x3271 #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272...
EGL_DMA_BUF_PLANE0_PITCH_EXT, tex_width * 2, #endif EGL_WIDTH, tex_width, EGL_HEIGHT, tex_height, #if RGB EGL_LINUX_DRM_FOURCC_EXT, DRM_FORMAT_BGRA8888, #else EGL_LINUX_DRM_FOURCC_EXT, DRM_FORMAT_YUYV, EGL_YUV_COLOR_SPACE_HINT_EXT, EGL_ITU_REC601_EXT, ...
int dmabuf_fd; EGLImageKHR egl_image; char *virtual_addr; PFNGLEGLIMAGETARGETTEXTURE2DOESPROC EGLImageTargetTexture2DOES; //---Simulates creation of nv egl image decoded from hardware NvBufferCreateParams input_params; input_params.payloadType = Nv...
Landing in Mesa on Black Friday was DMA-BUF Feedback support within the EGL code as another important step forward for Wayland.