[FFmpeg-devel] [PATCH 2/2] lavfi: make filter_frame non-recursive.

Nicolas George george at nsup.org
Mon Nov 14 12:48:09 EET 2016

Le quartidi 24 brumaire, an CCXXV, Clement Boesch a écrit :
> You can dereference once before entering the loop

That requires one extra variable, and therefore leaves one less register
for the loop itself.

And of course, all these efficiency problems correspond directly to
readability issues. Now that I think of it (I spent almost a year on
this thing, and that part was at the very beginning), I remember that my
reasons for choosing this solution were first readability, and only
second efficiency.


  Nicolas George

More information about the ffmpeg-devel mailing list