This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

YUV to RGB conversion Mali-T600

Which between the 2 approaches is better and why?

1. 3 YUV textures and shader code

2. YUV image of GL_OES_EGL_image_external

Parents
  • Hi pulsar,

    I don't know but my initial hunch would be that option 2 will be better. My thinking is that you could then do a single memory look-up to get a YUV pixel and make use of the powerful (and multiple) ALUs to do the maths. The alternative would require 3 memory read operations, so would probably be performance bound by the memory load operations whilst the ALUs sat idle waiting for data to work on.

    HTH, Pete

Reply
  • Hi pulsar,

    I don't know but my initial hunch would be that option 2 will be better. My thinking is that you could then do a single memory look-up to get a YUV pixel and make use of the powerful (and multiple) ALUs to do the maths. The alternative would require 3 memory read operations, so would probably be performance bound by the memory load operations whilst the ALUs sat idle waiting for data to work on.

    HTH, Pete

Children