summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* lavfi: put color source in a dedicated fileStefano Sabatini2011-02-213-129/+168
| | | | | | Move the color source code from vf_pad.c to vsrc_color.c. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: add drawutilsStefano Sabatini2011-02-214-105/+182
| | | | | | | Add drawutils.h and drawutils.c, and use them in the pad filter. The new functions are going to be shared by other filters. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-1517-24/+23
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Make avfilter_config_links() propagate audio information of the source link ↵Stefano Sabatini2011-02-141-0/+6
| | | | if it is not explicitely set by the filter.
* Add sample_aspect_ratio to AVFilterLinkMichael Niedermayer2011-02-144-2/+26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* libavfilter: add video movie sourceStefano Sabatini2011-02-084-1/+315
| | | | | | | | See thread: Subject: [PATCH] movie video source Date: 2010-12-31 15:35:30 GMT Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-041-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-042-8/+10
| | | | | | | | | | Make avfilter_graph_free() free not only the internal structures, but also the allocated graph, and set the graph pointer to NULL for increased safety. Simplify usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make avfilter_graph_parse() not free the input graphStefano Sabatini2011-02-041-1/+3
| | | | | | | | | | | Make avfilter_graph_parse() only release the internal structures allocated during the parsing, and leave to free the graph itself to the calling code. This approach looks cleaner, as the graph is not allocated by the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Log debug information in filter_samples().Stefano Sabatini2011-02-021-0/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-291-15/+15
| | | | dprintf clashes with POSIX.1-2008
* In the start_frame() debug log, print the reference pos value rather than ↵Stefano Sabatini2011-01-281-2/+2
| | | | | | | | | | the evaluated value converted to int. That's required because -1 is evaluated as NAN, which converted back to int looks like a random number, this is especially annoying when debugging sources with undefined pos (as the video4linux2 device). Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make the avfilter debug functions and macros static to avfilter.cDiego Elio Pettenò2011-01-262-11/+5
| | | | | | | This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link fro the interface of libavfilter. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avfilter: remove stray semicolonMans Rullgard2011-01-181-1/+1
|
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-182-9/+0
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-172-0/+9
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make config_props() return AVERROR(EINVAL) rather than 1 in case ofStefano Sabatini2011-01-161-1/+3
| | | | | | | | failed SWScaleContext initialization. Fix issue2546. Originally committed as revision 26395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix fate breakage in r26382.Ronald S. Bultje2011-01-161-1/+0
| | | | Originally committed as revision 26383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless free, fix warning:Baptiste Coudurier2011-01-161-1/+1
| | | | | | | 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 forStefano Sabatini2011-01-151-0/+1
| | | | | | | | av_get_channel_layout_string() in ff_dprintf_link. Fix compilation. Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2011-01-151-7/+7
| | | | Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_link() print meaningful information for audio links.Stefano Sabatini2011-01-151-0/+13
| | | | Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.Stefano Sabatini2011-01-153-5/+5
| | | | | | | More consistent with the rest of FFmpeg and sounds more natural to English speaking people. Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_unref_buffer() accept a NULL parameter.Stefano Sabatini2011-01-152-2/+4
| | | | Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In yadif filter, default to top field first if interlacing is unknownBaptiste Coudurier2011-01-151-1/+8
| | | | Originally committed as revision 26347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the word "Parsed" in the parsed filter names.Stefano Sabatini2011-01-141-1/+1
| | | | Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check linked pads media type mismatch in avfilter_link().Stefano Sabatini2011-01-131-0/+7
| | | | Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_graph_free() do nothing if graph is NULL.Stefano Sabatini2011-01-123-2/+4
| | | | Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In the pad filter, log information about the input size.Stefano Sabatini2011-01-121-2/+2
| | | | Originally committed as revision 26320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix design of the pad filter.Michael Niedermayer2011-01-111-4/+76
| | | | | | | | Previously the pad filter just drawed borders in the surrounding of the input without checking if this area was allocated or writeable. Now we check and allocate 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 ↵Michael Niedermayer2011-01-112-4/+7
| | | | | | | | | | rendering. These fields are needed to be able to know which area of memory is allocated and which 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 chainingBaptiste Coudurier2011-01-051-0/+3
| | | | 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 chainingBaptiste Coudurier2011-01-051-3/+2
| | | | Originally committed as revision 26216 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix style nits in avfiltergraph.c.Stefano Sabatini2010-12-281-16/+16
| | | | Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add copy filter, useful for testing the avfilter_draw_slice() copyStefano Sabatini2010-12-284-1/+43
| | | | | | code. Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump lavfi minor and add an entry after r26108 (which addedStefano Sabatini2010-12-271-2/+2
| | | | | | AV_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 theStefano Sabatini2010-12-271-0/+4
| | | | | | | | evaluated 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.Michael Niedermayer2010-12-273-6/+12
| | | | | | This patch is based on work by stefano. Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add erode libopencv filter.Stefano Sabatini2010-12-262-1/+9
| | | | Originally committed as revision 26097 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add dilate libopencv filter.Stefano Sabatini2010-12-262-1/+166
| | | | Originally committed as revision 26096 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Redesign the libopencv wrapper to make it more generic. Accept bothStefano Sabatini2010-12-234-17/+80
| | | | | | | | | FILTERNAME=ARGS and FILTERNAME:ARGS syntax. The same filter class will be used for managing all the libopencv filtering functions. Originally committed as revision 26079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avfilter_draw_slice() copy code with alpha planes.Stefano Sabatini2010-12-191-3/+3
| | | | Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert commit r22596.Stefano Sabatini2010-12-191-6/+6
| | | | | | | | | | | | | | | | | 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. Avoid creating and releasing useless extra picture references in the start_frame and end_frame callbacks. Originally committed as revision 22596 to svn://svn.ffmpeg.org/ffmpeg/trunk The new reference creation is required when the linesizes are used by the previous filters in the filterchain, for example as in "pad=W:H:X:Y,vflip". Originally committed as revision 26059 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash in gradfun:end_frame() when inpic == outpic, so it has to beStefano Sabatini2010-12-191-1/+2
| | | | | | freed just once. Originally committed as revision 26058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add gradfun filter, ported from MPlayer.Nolan L2010-12-127-2/+468
| | | | | | | | | | 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 anStefano Sabatini2010-12-121-2/+3
| | | | | | invalid 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 fromStefano Sabatini2010-12-092-2/+4
| | | | | | | | libavcodec 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 ↵Baptiste Coudurier2010-12-062-3/+7
| | | | | | libavcodec Originally committed as revision 25895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port libmpcodecs hqdn3d filter.Baptiste Coudurier2010-12-044-2/+349
| | | | | | 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 inStefano Sabatini2010-12-042-13/+5
| | | | | | avfilter_default_get_video_buffer(). Originally committed as revision 25878 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud