Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi: add fade filter
Port fade filter from libavfilter soc repo, with minor fixes byStefano.
lavfi: put color source in a dedicated file
Move the color source code from vf_pad.c to vsrc_color.c.
lavfi: add drawutils
Add drawutils.h and drawutils.c, and use them in the pad filter.The new functions are going to be shared by other filters.
Reduce picture size for yadif.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Change yadif to not use out of picture lines.Fixes issue2272.
Merge libavcore into libavutil
Done to keep ABI compatible. Otherwise this is just silly
Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.
libavfilter: add video movie source
See thread:Subject: [PATCH] movie video sourceDate: 2010-12-31 15:35:30 GMT
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Remove forgotten if (p) av_free(p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit 290849e2a4e76484f1a34506782e8dbfe7bbe406)
Make avfilter_graph_free() free the graph.
Make avfilter_graph_free() free not only the internal structures, butalso the allocated graph, and set the graph pointer to NULL forincreased safety.
Simplify usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>...
Make avfilter_graph_parse() not free the input graph
Make avfilter_graph_parse() only release the internal structuresallocated during the parsing, and leave to free the graph itself tothe calling code.
This approach looks cleaner, as the graph is not allocated by the...
Log debug information in filter_samples().
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit 5fce60c3a9fbb21e580bad9165bf19d86ee7d96f)
Add sample_aspect_ratio fields to vsrc_buffer arguments.This fixes aspect handling in ffmpegThis is based on a patch by baptiste
Add sample_aspect_ratio to AVFilterLink
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008(cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
In the start_frame() debug log, print the reference pos value rather than the evaluated value converted to int.
That's required because -1 is evaluated as NAN, which converted backto int looks like a random number, this is especially annoying whendebugging sources with undefined pos (as the video4linux2 device)....
Remove useage of memalign() from libmpcodecs, not all platforms have memalign().
Add forgotten dependancy of avcodec for vf_mp.c
Make the avfilter debug functions and macros static to avfilter.c
This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_linkfro the interface of libavfilter.
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit eb7ccf8f3369f9e15029ce65370a114206b39fd5)
Warn about vf_mp
Enable libmpcodecs support.
Add ASMALIGN hack to patch around its recent removial from configure
Add libmpcodecs wrapper for libavfilter, still disabled
Hack libmpcodecs to make it buildable.
Remove dependancy of m_option & m_struct from libmpcodecs.
Avoid dependancy on global variable verbose in libmpcodecs/vf_pullup.c
Add #define _BSD_SOURCE where mplayer is not C99.
Add MPlayers libmpcodecs, this will be needed for our libavfilter wraper for it.
avfilter: remove stray semicolon
consolidate .gitignore patters into a single file
convert svn:ignore properties to .gitignore files
Make config_props() return AVERROR rather than 1 in case offailed SWScaleContext initialization.
Fix issue2546.
Originally committed as revision 26395 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix fate breakage in r26382.
Originally committed as revision 26383 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove useless free, fix warning:libavfilter/defaults.c: In function 'avfilter_default_get_audio_buffer':libavfilter/defaults.c:129: warning: 'buf' is used uninitialized in this function
Originally committed as revision 26382 to svn://svn.ffmpeg.org/ffmpeg/trunk
Include libavcore/audioconvert.h, required forav_get_channel_layout_string() in ff_dprintf_link.
Fix compilation.
Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent.
Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make ff_dprintf_link() print meaningful information for audio links.
Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
More consistent with the rest of FFmpeg and sounds more natural toEnglish speaking people.
Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_unref_buffer() accept a NULL parameter.
Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
In yadif filter, default to top field first if interlacing is unknown
Originally committed as revision 26347 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add the word "Parsed" in the parsed filter names.
Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check linked pads media type mismatch in avfilter_link().
Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_graph_free() do nothing if graph is NULL.
Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk
In the pad filter, log information about the input size.
Originally committed as revision 26320 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix design of the pad filter.Previously the pad filter just drawed borders in the surrounding of the inputwithout checking if this area was allocated or writeable. Now we check andallocate a new buffer if the input is unsuitable.
Originally committed as revision 26315 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add w,h,format back into AVFilterBuffer, these are required for direct rendering.These fields are needed to be able to know which area of memory is allocated andwhich is off limits.This reverts 24291 and parts of r24424.
Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk
In pad filter, update new ref w/h in start_frame, fix chaining
Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk
In crop filter, update new ref w/h instead of old one, fix chaining
Originally committed as revision 26216 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix style nits in avfiltergraph.c.
Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add copy filter, useful for testing the avfilter_draw_slice() copycode.
Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Bump lavfi minor and add an entry after r26108 (which addedAV_PERM_NEG_LINESIZES to avfilter.h).
Originally committed as revision 26111 to svn://svn.ffmpeg.org/ffmpeg/trunk
In the crop filter, put under ifdef DEBUG the trace logs for theevaluated crop area coordinates.
Prevent debug log spamming, define the DEBUG symbol for enabling them.
Originally committed as revision 26110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Support filters and decoders that dont support negative linesizes.This patch is based on work by stefano.
Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add erode libopencv filter.
Originally committed as revision 26097 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add dilate libopencv filter.
Originally committed as revision 26096 to svn://svn.ffmpeg.org/ffmpeg/trunk
Redesign the libopencv wrapper to make it more generic. Accept bothFILTERNAME=ARGS and FILTERNAME:ARGS syntax.
The same filter class will be used for managing all the libopencvfiltering functions.
Originally committed as revision 26079 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix avfilter_draw_slice() copy code with alpha planes.
Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert commit r22596.
commit ab8610aa176c13b5e25a2d8770df28a14665e169 Author: koorogi <koorogi@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b> Date: Thu Mar 18 23:13:04 2010 +0000
The vflip filter does not need to keep ownership of a picture reference....
Fix crash in gradfun:end_frame() when inpic == outpic, so it has to befreed just once.
Originally committed as revision 26058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add gradfun filter, ported from MPlayer.
Patch by Nolan L nol888 <=> gmail >=< com.
See thread:Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)Date: Mon, 29 Nov 2010 07:18:14 -0500
Originally committed as revision 25942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_parse_graph() output a more meaningful message when aninvalid filterchain is detected.
Originally committed as revision 25936 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols fromlibavcodec to libavcore.
Remove another compile-time dependancy of libavfilter on libavcodec.
Originally committed as revision 25923 to svn://svn.ffmpeg.org/ffmpeg/trunk
In yadif filter, declare asm constants directly to avoid dependency on libavcodec
Originally committed as revision 25895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Port libmpcodecs hqdn3d filter.
Patch by Baptiste with some fixes by me.
Originally committed as revision 25880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement av_image_alloc() and use it inavfilter_default_get_video_buffer().
Originally committed as revision 25878 to svn://svn.ffmpeg.org/ffmpeg/trunk
Declare sse2 and ssse2 function in yadif header
Originally committed as revision 25877 to svn://svn.ffmpeg.org/ffmpeg/trunk
yadif sse2/ssse3 optimizations
Originally committed as revision 25874 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avfilter_graph_create_filter().
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
Extend the frei0r filter syntax.
Make it accept the frei0r=filtername=params as alternative tofrei0r=filtername:params.
Originally committed as revision 25856 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement frei0r source.
Originally committed as revision 25855 to svn://svn.ffmpeg.org/ffmpeg/trunk
In libavfilter, use consistently "Copyright (c)" in the licenseheaders.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix crash in uninit.
Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix timestamp scaling in the overlay filter.
Compute the outpicref PTS in start_frame(), since it is required forcomparing that value with the value of the overpicref.
Originally committed as revision 25828 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement avfilter_get_video_buffer_ref_from_arrays().
Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_default_free_buffer() an internal shared symbol, so thatit can be referenced outside defaults.c.
Originally committed as revision 25826 to svn://svn.ffmpeg.org/ffmpeg/trunk
0.123l: remove unused arguments in av_log(), fix warning.
Originally committed as revision 25820 to svn://svn.ffmpeg.org/ffmpeg/trunk
In aspect filter, fix display for input resolution
Originally committed as revision 25819 to svn://svn.ffmpeg.org/ffmpeg/trunk
In crop filter, reference picref after updating w/h, fix issue #2377
Originally committed as revision 25818 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add informative log message in the crop filter.
Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement robust parsing in aspect filters.
Originally committed as revision 25802 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add informative log messages to the set aspect filters.
Originally committed as revision 25801 to svn://svn.ffmpeg.org/ffmpeg/trunk
Give more explicit/less confusing names to the filters dealing withaspect ratio.
Originally committed as revision 25800 to svn://svn.ffmpeg.org/ffmpeg/trunk
In yadif filter, copy video props to output picture.Fix issue #2269.Interpolate pts for the second frame when using field output mode.
Originally committed as revision 25798 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use the new libavcore audio channel API.
This also allows to remove a linking dependency of libavfilter onlibavcodec.
Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
Port overlay filter from the libavfilter repo (with many fixes),adopting Baptiste variant which is simpler and faster.
Originally committed as revision 25784 to svn://svn.ffmpeg.org/ffmpeg/trunk
Log error message in case of invalid parsing.
Originally committed as revision 25765 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix style: if( -> if (.
Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove redundant information in header.
Originally committed as revision 25763 to svn://svn.ffmpeg.org/ffmpeg/trunk
move the av_parse_color() function from libavfilter to libavcore
Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk
100L fix get_video_buffer in pad filter, get_video_buffer will store wrong values for w and h
Originally committed as revision 25759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix frei0r filter after av_parse_color() syntax change.
Originally committed as revision 25748 to svn://svn.ffmpeg.org/ffmpeg/trunk
improve av_parse_color() to allow for non-null terminated color string
Originally committed as revision 25744 to svn://svn.ffmpeg.org/ffmpeg/trunk
improve av_parse_color() to support html formatting
Originally committed as revision 25743 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfiltergraph.h public.
Originally committed as revision 25740 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ff_get_ref_perms_string() use 'u' and 'U' for representingAV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char'r' used for AV_PERM_READ.
Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prefix with "ff_" the functions:ff_avfilter_graph_check_validity()ff_avfilter_graph_config_links()ff_avfilter_graph_config_formats()
and move their declaration to internal.h. These functions are neverused in application code, so it is better to consider them internal...
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumSampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add missing check on the existence of an associated output pad foreach specified output link label.
Fix crash.
Originally committed as revision 25723 to svn://svn.ffmpeg.org/ffmpeg/trunk