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

Michael Niedermayer michaelni at gmx.at
Sat Feb 9 03:08:38 CET 2002


Hi

On Saturday 09 February 2002 02:47, Arpi wrote:
[...]
> > > 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.
agree
its on my todo list ... for some time ;)

[...]
Michael



More information about the MPlayer-dev-eng mailing list