On Thu, Jul 26, 2012 at 10:14:39PM -0700, Ronald S. Bultje wrote: > > --- a/libavcodec/x86/vp3dsp.asm > +++ b/libavcodec/x86/vp3dsp.asm > @@ -521,9 +521,17 @@ cglobal vp3_h_loop_filter_mmx2, 3, 4 > > -%macro vp3_idct_funcs 1 > -cglobal vp3_idct_put_%1, 3, 4, 9 > - VP3_IDCT_%1 r2 > +%macro VP3_IDCT 1 > +%if mmsize == 8 > + VP3_IDCT_mmx %1 > +%else > + VP3_IDCT_sse2 %1 > +%endif > +%endmacro
I have a version of this that eliminates both VP3_IDCT_mmx and VP3_IDCT_sse2 along with the rest, so I think it's prettier. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
