[FFmpeg-cvslog] mandelbrot: increase resolution, and decrease zoom speed to maintain the cpu requirement.

Michael Niedermayer git at videolan.org
Sat Nov 12 17:23:17 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 12 17:04:08 2011 +0100| [fd8d03457ad2c5c1a6b6bf4d925daf8c7fe0c89e] | committer: Michael Niedermayer

mandelbrot: increase resolution, and decrease zoom speed to maintain the cpu requirement.

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

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

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

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index d8a9729..d878632 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -62,7 +62,7 @@ typedef struct {
 static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
 {
     MBContext *mb = ctx->priv;
-    char frame_size  [128] = "320x240";
+    char frame_size  [128] = "640x480";
     char frame_rate  [128] = "25";
     AVRational frame_rate_q;
     int ret;
@@ -72,7 +72,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
     mb->start_y=-0.131825904205311970493132056385139;
     mb->start_scale=3.0;
     mb->end_scale=0.3;
-    mb->end_pts=200;
+    mb->end_pts=800;
     mb->bailout=100;
     mb->outer= NORMALIZED_ITERATION_COUNT;
     if (args)



More information about the ffmpeg-cvslog mailing list