Skip to content

problem with EGL_LINUX_DRM_FOURCC_EXT #3

@ahtabrizi

Description

@ahtabrizi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions