[theora] Taking advantage of SIMD

xiphmont at xiph.org xiphmont at xiph.org
Tue Sep 8 13:31:49 PDT 2009

On Fri, Sep 4, 2009 at 6:59 PM, Manolache Adrian<prog_ady at yahoo.com> wrote:
> After creating a simple decoder for theora using liboggz i started
> profiling. As someone else stated in the lists the conversion from yuv 2 rgb
> takes a significant time. I decided to go on the way of SIMD not shaders
> because SIMD is supported on a wider range of computers. I managed to strip
> out the yuv 2 rgba conversion code from liboggplay but it seems i am missing
> something. It runs but the image is distorted, like this:
> http://www.gamesrebirth.com/adrian/graphics/distorted.JPG

At a guess, your row stride is off.  It will not be the same as the
image width * byte width.


More information about the theora mailing list