v4l2-tester icon indicating copy to clipboard operation
v4l2-tester copied to clipboard

problem with EGL_LINUX_DRM_FOURCC_EXT

Open ahtabrizi opened this issue 5 years ago • 0 comments

Hey, I noticed that EGL_LINUX_DRM_FOURCC_EXT is set to DRM_FORMAT_ARGB8888, but this causes to lose half of the pixels(since the shader uses average of two Y values). Is there any way to get rid of this data loss?? and WHY even use this fourcc format, our camera lays data in the buffer in YUYV format not ARGB?? and Why it event works?

I changed the EGL_LINUX_DRM_FOURCC_EXT to DRM_FORMAT_YUYV and other EGLImage attributes accordingly. But the problem is it gives me a reddish color filter(something like the screenshot below). scrnshot What is the problem? I even changed shaders and the results were the same?

ahtabrizi avatar Oct 29 '19 18:10 ahtabrizi