[Ffmpeg-devel] [PATCH] Some MMX optimizations for Chinese AVS

Stefan Gehrer stefan.gehrer
Fri Jul 28 22:07:44 CEST 2006


Michael Niedermayer wrote:
> 
> On Fri, Jul 28, 2006 at 07:57:41PM +0200, Stefan Gehrer wrote:
> [...]
> 
> > @@ -2779,6 +2795,8 @@
> >                      c->idct_permutation_type= FF_PARTTRANS_IDCT_PERM;
> >                  }
> >  #endif
> > +            }else if(idct_algo==FF_IDCT_H264){
> > +                    c->idct_permutation_type= FF_TRANSPOSE_IDCT_PERM;
> 
> cavs idct != h.264 idct IIRC
> 

Right, it is just that both transforms need the same permutation
(unpermuted in C, simple transpose in MMX). But the H.264 code does
not even use this way of setting the permutation, I don't know how it
does it. So probably introducing a value of idct_algo FF_IDCT_CAVS
is cleaner.

Regards
Stefan Gehrer
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




More information about the ffmpeg-devel mailing list