[MPlayer-dev-eng] altivec patch 5/5: don't output the wrong format

Michael Niedermayer michaelni at gmx.at
Sun Feb 12 00:57:34 CET 2006


Hi

On Sat, Feb 11, 2006 at 05:31:32PM -0500, Alan Curry wrote:
> I wrote:
> >
> >OK, I can split altivec_yuv2packedX into separate functions, with a macro to
> >declare them all with nearly-identical bodies, following the precedent set by
> >DEFCSP420_CVT. The callers will then select the output format by calling the
> >specific relevant function, which also gives us a chance to handle the
> >formats that aren't supported in the altivec code by calling yuv2packedXinC
> >instead.
> 
> Well, I tried 2 different variatns of this idea, turning the body of
> altivec_yuv2packedX into a macro: one where there were actually 6 different
> functions and one where the body was expanded 6 times in one function
> controlled by a single switch(). That latter case was the macro that broke
> the camel's back. gcc ate a gig and a half of memory and died. I could add
> more swap, but seriously...

did you send a bugreport to the gcc devels?

[...]

-- 
Michael




More information about the MPlayer-dev-eng mailing list