Hi NXP Support community,
I am working with the I.MX6Q processor. I wish to create a texture in UYVY format using the Vivante extension GL_VIV_direct_texture.
I am able to load RGBA format data without issues but am having issues with UYVY format.
https://www.nxp.com/docs/en/user-guide/i.MX_Graphics_User's_Guide_Linux.pdf
Chapter 3.4 in the user guide suggest that UYVY format is supported.
Here is the list of supported extensions returned by EGLquerystring() in my application.
EGL: Extensions=EGL_KHR_fence_sync EGL_KHR_reusable_sync EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_EXT_image_dma_buf_import EGL_KHR_lock_surface EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_buffer_age EGL_KHR_partial_update EGL_EXT_image_dma_buf_import_modifiers
I also tried to set the config parameters using https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_yuv_surface.txt as a reference but my application fails with a BAD_ATTRIBUTE error.
Is UYVY format supported? Is there a specific extension that my application needs to use to be able to load UYVY pixel data into the texture? Is there a sample reference code on how to load UYVY data into the texture?
Thanks in advance,
Deepika
Hello deepikar,
UYVY is supported, please send your code in order to check where is the issue?
Regards