[Ffmpeg-cvslog] r6814 - trunk/libavcodec/eval.c

Michael Niedermayer michaelni
Sat Oct 28 00:54:47 CEST 2006


On Sat, Oct 28, 2006 at 12:35:55AM +0200, michael wrote:
> Author: michael
> Date: Sat Oct 28 00:35:55 2006
> New Revision: 6814
> Modified:
>    trunk/libavcodec/eval.c
> Log:
> add support for while() loops again ugly syntax while(condition, statements) but very simple implementation

and heres a example for mplayers geq filter with it

-vf 'geq=st(0\,0);st(1\,0);st(2\,0);st(3\,0);st(4\,0);while(lt(ld(0)+ld(2)\,4)*(128-ld(4))\,st(3\,2*ld(1)*ld(3)+(Y-H/2)/60);st(1\,ld(0)-ld(2)+(X-W/2)/60);st(0\,ld(1)^2);st(2\,ld(3)^2);st(4\,ld(4)+1))*32*eq(SH\,1)+128'

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-cvslog mailing list