[MPlayer-dev-eng] [PATCH] adding yuv4mpeg output

Arpi arpi at thot.banki.hu
Sat Feb 9 02:47:06 CET 2002


Hi,

> > > btw, you should use the mmx optimized rgb->yv12 converter from postproc/
> > > instead of rewritting it in slow C...
> > hmm...
> > afaik there is no mmx optimized rgb->yv12 converter there yet :(
> 
> void rgb24toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst        unsigned int width, unsigned int height,
>         unsigned int lumStride, unsigned int chromStride, unsigned int srcStride{
> #ifdef CAN_COMPILE_X86_ASM
>         // ordered per speed fasterst first
>         if(gCpuCaps.hasMMX2)
>                 rgb24toyv12_MMX2(src, ydst, udst, vdst, width,  height, lumStrid

ahh... :(
it's the template stuff, but the template doesn't have any optim :(
anyway, it would be usefull for yuv-only -vo drivers too, like mga and xv.


A'rpi / Astral & ESP-team

--
"I don't RTFM? Wow. What's the meaning of this? It's new for me."
	-- Martin Baum, a tipical MPlayer user...



More information about the MPlayer-dev-eng mailing list