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

Måns Rullgård mru
Sat Oct 28 01:54:39 CEST 2006


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> 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'

OMG

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-cvslog mailing list