[FFmpeg-cvslog] mandelbrot: add SQR() macro

Michael Niedermayer git at videolan.org
Sun Nov 13 18:24:02 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov 13 18:14:10 2011 +0100| [41fd1b2d5a06503d889e723982326cbb83471f48] | committer: Michael Niedermayer

mandelbrot: add SQR() macro

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=41fd1b2d5a06503d889e723982326cbb83471f48
---

 libavfilter/vsrc_mandelbrot.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 7a1a864..0e53291 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -30,6 +30,8 @@
 #include "libavutil/imgutils.h"
 #include "libavutil/parseutils.h"
 
+#define SQR(a) ((a)*(a))
+
 enum Outer{
     ITERATION_COUNT,
     NORMALIZED_ITERATION_COUNT,



More information about the ffmpeg-cvslog mailing list