[MPlayer-dev-eng] [PATCH] Three new filters and performance

Daniel Moreno comac2k at terra.es
Thu Jan 30 00:29:26 CET 2003


Arpi wrote:

>>once?  :-m  (in fact... I don't understand why does mplayer have both eq 
>>and eq2, when eq2 is "a superset" of eq. :-m)
> 
> not really.
> eq is doing simple (add/mul) math for each pixel, (can be) optimized for mmx.
> eq2 is doing complex math, so it uses LUT (table), so it cannot use mmx.

Just what I thought after sending the mail. 8 pixels can be processed at 
a time with MMX.

> for gamma you need LUT table (ok there is some polinomial gamma hack for mmx
> somewhere, STFA it was discussed). if you don't need gamma, then using

Using taylor, any diferentiable function can be aproximated by a 
polinomial, of course. :-m

> imho you shouldn't add new filters but extend eq by saturation and change
> eq2 to use 3 tables, one for each component.

Understood. Consider it done. ;)


-- 
Daniel Moreno - ComaC
Port pa'Linux del FinalBurn: http://fblinux.emuunlim.com/



More information about the MPlayer-dev-eng mailing list