[prev in list] [next in list] [prev in thread] [next in thread] 

List:       theora
Subject:    Re: [theora] Taking advantage of SIMD
From:       xiphmont () xiph ! org
Date:       2009-09-08 20:31:49
Message-ID: 806dafc20909081331n11283323uaff935088b51e5b6 () mail ! gmail ! com
[Download RAW message or body]

On Fri, Sep 4, 2009 at 6:59 PM, Manolache Adrian<prog_ady@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.

Monty
_______________________________________________
theora mailing list
theora@xiph.org
http://lists.xiph.org/mailman/listinfo/theora
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic