> 
> 
> --cWoXeonUoKmBZSoM
> Content-Type: text/plain; charset=us-ascii
> 
> On Thu, Oct 21, 1999 at 11:28:12AM +0200, [EMAIL PROTECTED] wrote:
> > Hi !
> > 
> > > i have a yuyv-rgb routine that gives me 13 fps at 756x568.
> > 
> > I'd like to have a look. I've written a bunch of those as well, and it seems 
> > hard to get them quick and correct at the same time. My quickest one uses a
> > u,v lookup table and then does something like r=g=b=y; r,g,b+=table[u][v];
> > clamp(rgb);.
> the attached code is taken from xawdecode (http://freetv.notrix.de/ -> linux)
> 
> it consists of init_decode that initialisises the colortable and
> decode_halfframe that convertes the provided yuyv buffer into a rgb-buffer
> including downscaling (x and y). putline??.s provides the neccesary
> assembler-routines (x86-mmx) to convert and scale the line in x-direction.
> putline15.s is for 15bpp, putline16.s is for 16bpp.
> to compile putline.s you need NASM.

Talking of downscaling, it would be nice to have a downscaling/rescaling
target for ggi...

Justin

Reply via email to