Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-12 Thread Gyan
On 09-11-2019 09:39 pm, Michael Niedermayer wrote: On Tue, Nov 05, 2019 at 06:35:54PM +0530, Gyan wrote: On 05-11-2019 03:55 pm, Michael Niedermayer wrote: On Tue, Nov 05, 2019 at 10:13:52AM +0530, Gyan wrote: On 05-11-2019 04:35 am, Michael Niedermayer wrote: On Sun, Nov 03, 2019 at

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-09 Thread Gyan
On 09-11-2019 09:39 pm, Michael Niedermayer wrote: On Tue, Nov 05, 2019 at 06:35:54PM +0530, Gyan wrote: On 05-11-2019 03:55 pm, Michael Niedermayer wrote: On Tue, Nov 05, 2019 at 10:13:52AM +0530, Gyan wrote: On 05-11-2019 04:35 am, Michael Niedermayer wrote: On Sun, Nov 03, 2019 at

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-09 Thread Michael Niedermayer
On Tue, Nov 05, 2019 at 06:35:54PM +0530, Gyan wrote: > > > On 05-11-2019 03:55 pm, Michael Niedermayer wrote: > >On Tue, Nov 05, 2019 at 10:13:52AM +0530, Gyan wrote: > >> > >>On 05-11-2019 04:35 am, Michael Niedermayer wrote: > >>>On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote: >

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-09 Thread Gyan
On 05-11-2019 06:35 pm, Gyan wrote: On 05-11-2019 03:55 pm, Michael Niedermayer wrote: On Tue, Nov 05, 2019 at 10:13:52AM +0530, Gyan wrote: On 05-11-2019 04:35 am, Michael Niedermayer wrote: On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote: Helps better identification of expr eval

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-05 Thread Gyan
On 05-11-2019 07:40 pm, Nicolas George wrote: Gyan (12019-11-05): An example of a cross-referenced expression would be 'y=x+rand(10)'. Normally in filters, X would be evaluated first, then Y, then X again. The 2nd eval of X will overwrite the first and can generate a different value. With

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-05 Thread Nicolas George
Gyan (12019-11-05): > An example of a cross-referenced expression would be 'y=x+rand(10)'.  > Normally in filters, X would be evaluated first, then Y, then X again. The > 2nd eval of X will overwrite the first and can generate a different value. > With this func, we can avoid the 2nd eval. > >

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-05 Thread Gyan
On 05-11-2019 03:55 pm, Michael Niedermayer wrote: On Tue, Nov 05, 2019 at 10:13:52AM +0530, Gyan wrote: On 05-11-2019 04:35 am, Michael Niedermayer wrote: On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote: Helps better identification of expr eval failures. Gyan eval.c| 21

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-05 Thread Michael Niedermayer
On Tue, Nov 05, 2019 at 10:13:52AM +0530, Gyan wrote: > > > On 05-11-2019 04:35 am, Michael Niedermayer wrote: > >On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote: > >>Helps better identification of expr eval failures. > >> > >>Gyan > >> eval.c| 21 + > >> eval.h

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-04 Thread Gyan
On 05-11-2019 04:35 am, Michael Niedermayer wrote: On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote: Helps better identification of expr eval failures. Gyan eval.c| 21 + eval.h| 10 ++ version.h |4 ++-- 3 files changed, 33 insertions(+),

Re: [FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-04 Thread Michael Niedermayer
On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote: > > Helps better identification of expr eval failures. > > Gyan > eval.c| 21 + > eval.h| 10 ++ > version.h |4 ++-- > 3 files changed, 33 insertions(+), 2 deletions(-) >

[FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

2019-11-02 Thread Gyan
Helps better identification of expr eval failures. Gyan From 19bce329464676f071707b99575f80e5abe1cd4c Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sat, 2 Nov 2019 20:16:42 +0530 Subject: [PATCH] avutil/eval: add function to track variable use Helps avoid multiple evals of cross-referenced