Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with EGL_LINUX_DRM_FOURCC_EXT #3

Open
ahtabrizi opened this issue Oct 29, 2019 · 0 comments
Open

problem with EGL_LINUX_DRM_FOURCC_EXT #3

ahtabrizi opened this issue Oct 29, 2019 · 0 comments

Comments

@ahtabrizi
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant