[Mplayer-users] Subtitle and correct codepage

Nick Kurshev nickols_k at mail.ru
Fri Aug 10 05:41:10 CEST 2001


Hello, Arpi!
On Thu, 9 Aug 2001 22:06:27 +0200 (CEST), you wrote:

> 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:
> 
Do you plan to use it as real-time task?
Is it time critical task?
IMHO it's only aux utility which should be used once (or several times)
per live.
>             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
Best regards! Nick

_______________________________________________
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