summaryrefslogtreecommitdiff
path: root/libavfilter/vf_deshake.c
Commit message (Collapse)AuthorAge
* 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>
* vf_deshake: fix permissions.Nicolas George2012-08-17
|
* vf_deshake: set cur_buf to NULL.Nicolas George2012-07-23
| | | | Fix a segfault.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: fix the asyncts test build: Drop gcc-specific warning flag from header compilation rule FATE: add a test for the asyncts audio filter. matroskadec: return more correct error code on read error. buffersrc: check ff_get_audio_buffer() for errors. lavfi: check all ff_get_video_buffer() calls for errors. lavfi: check all avfilter_ref_buffer() calls for errors. vf_select: avoid an unnecessary avfilter_ref_buffer(). buffersrc: avoid creating unnecessary buffer reference lavfi: use avfilter_unref_bufferp() where appropriate. vf_fps: add more error checks. vf_fps: fix a memleak on malloc failure. lavfi: check all ff_start_frame/draw_slice/end_frame calls for errors lavfi: add error handling to end_frame(). lavfi: add error handling to draw_slice(). lavfi: add error handling to start_frame(). Conflicts: Makefile ffplay.c libavfilter/buffersrc.c libavfilter/vf_boxblur.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/video.c libavfilter/vsrc_color.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: unref AVFilterLink.out_buf in ff_end_frame(). lavfi: unref AVFilterLink.cur_buf in ff_end_frame(). vsrc_testsrc: avoid an unnecessary avfilter_ref_buffer(). vf_slicify: clear AVFilterLink.cur_buf in start_frame(). vf_settb: simplify start_frame(). vf_fieldorder: don't give up its own reference to the output buffer. vf_pad: don't give up its own reference to the output buffer. vf_overlay: don't access a buffer reference that's been given away. vf_drawtext: don't give up its own reference to the input buffer. vf_gradfun: don't store two pointers to one AVFilterBufferRef. vf_delogo: don't store two pointers to one AVFilterBufferRef. vf_aspect: clear AVFilterLink.cur_buf in start_frame(). lavfi: add avfilter_unref_bufferp() Conflicts: doc/APIchanges libavfilter/avfilter.h libavfilter/buffer.c libavfilter/vf_aspect.c libavfilter/vf_drawtext.c libavfilter/vf_overlay.c libavfilter/vf_pad.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: decrease logging level of message showing initial parametersStefano Sabatini2012-07-15
| | | | Reduce log clutter, consistent with 1a49a169eb74a97.
* Merge commit 'a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a'Michael Niedermayer2012-06-26
| | | | | | | | | | | | | | | | | | | | | | | * commit 'a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a': lavfi: remove 'opaque' parameter from AVFilter.init() mov: do not try to read total disc/track number if data atom is too short. avconv: fix -force_key_frames dxva2_h264: fix signaling of mbaff frames x86: fft: elf64: fix PIC build Conflicts: ffmpeg.c libavcodec/v210dec.h libavfilter/asrc_anullsrc.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_overlay.c libavfilter/vsrc_color.c libavfilter/vsrc_testsrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/deshake: fix crash in uninit()Stefano Sabatini2012-06-21
| | | | | | Add NULL check on avctx before calling avcodec_close() on it. Fix trac ticket #1472.
* lavfi: update some deprecated functionsPaul B Mahol2012-06-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_deshake: try to fix memleakMichael Niedermayer2012-02-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* deshake: variable used uninitializedRay Simard2012-01-21
| | | | | | | | | | | | | Sometimes the scan finds nothing that qualifies for addition to the array and pos is zero after the loops. The code forces pos to 1 and the array is then processed as if it had one valid element in it, producing some amusing but not very useful results. I don't see the rationale for this. If pos is zero coming out of the loops, the only appropriate thing to do is set t->angle to zero. The attached patch does that. It's worked properly in several tests so far. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* vf_deshake: remove unused variable totalanglesRay Simard2012-01-13
| | | | | | | Variable totalangles was created and assigned, but never used. Signed-off-by: Ray Simard <rhs.ffmpeg@sylvan-glade.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* vf_deshake: zero-init Transform structs in end_frame()Ray Simard2012-01-13
| | | | | | | Initialize Transform structs t and orig to zero. Signed-off-by: Ray Simard <rhs.ffmpeg@sylvan-glade.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* Use an int MotionVector for find_block_motion.Reimar Döffinger2012-01-12
| | | | | | | | | | | Using the double variant causes several pointless conversions between double and int. Worse, one of the conversions is in an inner loop together with a function using MMX, resulting in undefined behaviour. Based on debugging by Ray Simard. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Tested-by: Ray Simard <rhs.ffmpeg@sylvan-glade.com>
* Mark AVFilterPad[] compound literals as const.Reimar Döffinger2011-11-06
| | | | | | | GCC 4.6.2 at least still seems to fail to put them in .rodata though, see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303 Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* deshake: limit deshake to specific area to search for motion vectors.Paul Flinders2011-10-20
|
* vf_deshake: Fix cast discards qualifiers from pointer target type warning.Michael Niedermayer2011-10-19
| | | | | | And simplify the code in the process. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* deshake: simplify filename check.Clément Bœsch2011-10-04
|
* deshake: misc style fixes.Clément Bœsch2011-10-04
|
* deshake: move angles from stack to heap.Michael Niedermayer2011-10-04
| | | | | | Fixes Ticket530 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* deshake: Allow specifying the filename for statistics and disable them by ↵Michael Niedermayer2011-10-04
| | | | | | default. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* deshake: remove non const staticMichael Niedermayer2011-10-04
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doxygen: remove a few @file parameters.Clément Bœsch2011-10-04
| | | | It is not mandatory and prevents breakage on rename.
* deshake: fix doxygen comments.Clément Bœsch2011-10-04
|
* deshake: nicer looking defaultsMichael Niedermayer2011-10-04
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavfilter: add deshake filterdanielgtaylor2011-10-04
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>