[Mplayer-users] Subtitle and correct codepage
Arpi
arpi at thot.banki.hu
Thu Aug 9 22:06:27 CEST 2001
Hi,
> Btw. It ran 0.622s on my cel2-1066Mhz, so it shouldn't be slower than 4s
now only 0.179s :)
i did some high-level (algorithm-level) optimization...
doing edge calculation first (pass-1) and gaussian blur at second pass,
instead of calculating edges for each gauss pixel.
Nick, can you check it, if MMX can help more?
I think at least for gauss matrix multiplication can be speeded up:
float max = 0;
for (my = -r; my<=r; ++my){
int ay=y+my;
if(ay>0 && ay<height){
int by=r+(my+r)*w;
ay*=width;
for (mx = -r; mx<=r; ++mx)
if(x+mx>0 && x+mx<width)
max+=ebuffer[x+mx+ay]*m[mx+by];
}
}
maybe by specializing for r=2 r=3 r=4.
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list