summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_mandelbrot.c
Commit message (Collapse)AuthorAge
* vsrc_mandelbrot: switch to filter_frameMichael Niedermayer2012-11-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add priv_class for some forgotten filters.Clément Bœsch2012-11-29
| | | | | This allows to print the options available when using commands such as ffmpeg -help full.
* lavfi: convert remaining input/output list compound literals to named objects.Clément Bœsch2012-11-28
| | | | This is following 568c70e79ee267426c15ef4603c69703f6a5884a.
* vf_mandelbrot: give all av_log a contextMichael Niedermayer2012-11-23
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: fix inner=period coloring routineMichael Niedermayer2012-10-16
| | | | | Fixes CID717571 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '716d413c13981da15323c7a3821860536eefdbbb'Michael Niedermayer2012-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '716d413c13981da15323c7a3821860536eefdbbb': Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat Conflicts: doc/examples/muxing.c ffmpeg.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffprobe.c libavcodec/8bps.c libavcodec/aasc.c libavcodec/aura.c libavcodec/avcodec.h libavcodec/avs.c libavcodec/bfi.c libavcodec/bmp.c libavcodec/bmpenc.c libavcodec/c93.c libavcodec/cscd.c libavcodec/cyuv.c libavcodec/dpx.c libavcodec/dpxenc.c libavcodec/eatgv.c libavcodec/escape124.c libavcodec/ffv1.c libavcodec/flashsv.c libavcodec/fraps.c libavcodec/h264.c libavcodec/huffyuv.c libavcodec/iff.c libavcodec/imgconvert.c libavcodec/indeo3.c libavcodec/kmvc.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/ljpegenc.c libavcodec/mjpegdec.c libavcodec/mjpegenc.c libavcodec/motionpixels.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo_enc.c libavcodec/pamenc.c libavcodec/pcxenc.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/pnm.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/ptx.c libavcodec/qdrw.c libavcodec/qpeg.c libavcodec/qtrleenc.c libavcodec/raw.c libavcodec/rawdec.c libavcodec/rl2.c libavcodec/sgidec.c libavcodec/sgienc.c libavcodec/snowdec.c libavcodec/snowenc.c libavcodec/sunrast.c libavcodec/targa.c libavcodec/targaenc.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/tmv.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/vb.c libavcodec/vp3.c libavcodec/wnv1.c libavcodec/xl.c libavcodec/xwddec.c libavcodec/xwdenc.c libavcodec/yop.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersrc.c libavfilter/drawutils.c libavfilter/formats.c libavfilter/src_movie.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_format.c libavfilter/vf_hflip.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/movenc.c libavformat/mxf.h libavformat/utils.c libavformat/yuv4mpeg.c libavutil/imgutils.c libavutil/pixdesc.c libswscale/input.c libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/x86/swscale_template.c libswscale/x86/yuv2rgb.c libswscale/x86/yuv2rgb_template.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9'Michael Niedermayer2012-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9': avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options_table.h libavcodec/snowenc.c libavcodec/tiffenc.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/af_asyncts.c libavfilter/af_join.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_delogo.c libavfilter/vf_drawtext.c libavformat/http.c libavformat/img2dec.c libavformat/img2enc.c libavformat/movenc.c libavformat/mpegenc.c libavformat/mpegtsenc.c libavformat/options_table.h libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '124134e42455763b28cc346fed1d07017a76e84e'Michael Niedermayer2012-09-05
| | | | | | | | | | | | | | | | | | | | * commit '124134e42455763b28cc346fed1d07017a76e84e': avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member Conflicts: libavcodec/aacenc.c libavcodec/libopenjpegenc.c libavcodec/options_table.h libavdevice/bktr.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/vf_drawtext.c libavformat/movenc.c libavformat/options_table.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add priv class to filter definitions and flags to filter internal optionsStefano Sabatini2012-08-18
| | | | | This allows the iteration callbacks to discover the internal class and options, and show them when required.
* Remove "Error parsing options string [...]" messages.Clément Bœsch2012-08-09
| | | | | This reduces from 3 to 2 messages for the same syntax error in ffprobe, and from 4 to 3 in filters.
* lavfi: do not pass opaque field to init functionsStefano Sabatini2012-07-08
| | | | Fix signature mismatch warnings.
* lavfi: define macro AVFILTER_DEFINE_CLASSStefano Sabatini2012-06-22
| | | | | The macro can be used to define consistently the internal class of a filter, save some typing and factorize.
* lavfi: remove redundant checks after av_parse_video_rate()Paul B Mahol2012-06-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: use designated initializers for AVClassPaul B Mahol2012-06-17
| | | | | | | | | While here: - add missing .version and .category, - make .class_name consistent across filters, - align declarations. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: update some deprecated functionsPaul B Mahol2012-06-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: use av_default_item_name() as filter private context loggerStefano Sabatini2012-06-04
| | | | | | avfilter_default_filter_name() is supposed to access an AVFilterContext struct, if used with a private struct it will cause a crash since it will access fields which are non defined in the private struct.
* lavfi: add avfilter_default_filter_name()Stefano Sabatini2012-06-04
| | | | | | | | The function is modelled after av_default_item_name(), and will print the name of the instance filter if defined, otherwise the name of the filter. This allows to show the instance name in the log, which is useful when debugging complex filter graphs.
* vsrc_mandelbrot: use AV_OPT_TYPE_IMAGE_SIZE.Nicolas George2012-05-20
|
* lavfi: fix mp and mandelbrot descriptions to make them complete sentencesStefano Sabatini2012-01-21
| | | | This is consistent with the other filter descriptions.
* lavfi: add missing periods in descriptions.Clément Bœsch2012-01-20
|
* vsrc_mandelbrot: Fix vsrc_mandelbrot.c:358:85: warning: ‘epsilon’ may be ↵Michael Niedermayer2011-11-24
| | | | | | used uninitialized in this function [-Wuninitialized] Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: fix inner=period, the previous optimizations broke it.Michael Niedermayer2011-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: increase maxiter to 7189Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: Use threshold to detect cycles.Michael Niedermayer2011-11-19
| | | | | | This way cycles are detected much earlier. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: detect edges in interpol()Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: avoid a | in interpol()Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: increase default zoom speed by a factor of 2Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: spatial interpolationMichael Niedermayer2011-11-19
| | | | | | speeds the code up by a factor of about 2-3. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: always store values for periodicity checking, this avoids a ↵Michael Niedermayer2011-11-19
| | | | | | few checks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: simplify second bailout search by not recalculating values.Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: increase zyklus array size so that optimizations can write ↵Michael Niedermayer2011-11-19
| | | | | | a bit more. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: check bailout only once every 8 iterations, this is around ↵Michael Niedermayer2011-11-19
| | | | | | 10% faster. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: factorize periodicity checking too.Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: factorize main calculation out into a macro.Michael Niedermayer2011-11-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: make mincol description and code match.Michael Niedermayer2011-11-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add dither to convergence & mincol colorings.Michael Niedermayer2011-11-15
| | | | | | | This avoids banding artifacts. Note, low end TFTs still show some banding. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: make mincol the default.Michael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add mincol inner coloring method.Michael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add inner drawing method to show converence timeMichael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add "fractal" to the descriptionMichael Niedermayer2011-11-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from ↵Michael Niedermayer2011-11-15
| | | | | | incompatible pointer type" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add math.h for log2()Michael Niedermayer2011-11-14
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: avoid INFINITY as openbsd seems not to like it.Michael Niedermayer2011-11-14
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vsrc_mandelbrot: set options through the opt frameworkStefano Sabatini2011-11-13
|
* mandelbrot: remove always-false condition in fill_from_cacheGiorgio Vazzana2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: allow visualizing the period of converged points.Michael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: Add inner variable & enum for inner coloring schemes.Michael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: only check bailout once every 2 iterations.Michael Niedermayer2011-11-13
| | | | | | Once we bailed out we calculate the exact iteration in which it would have happened if needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: add SQR() macroMichael Niedermayer2011-11-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNTGiorgio Vazzana2011-11-13
| | | | | | | | Use log(sqrt(mb->bailout)) instead of log(mb->bailout) because mb->bailout represent the bailout radius squared, and then simplify the two sqrt(). This is also slightly faster. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>