summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* Make parse_filter() parsing more robust.Stefano Sabatini2009-12-11
| | | | | | | Add ';' and '\n' to the terminating characters for the name of a filter, and ';' to the terminating characters for its args. Originally committed as revision 20800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make parse_key_value_pair() print an error message if a key is notStefano Sabatini2009-12-08
| | | | | | found in the context. Originally committed as revision 20779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use an unsigned int to contain all the color values of the expressionsStefano Sabatini2009-12-08
| | | | | | | | of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int was resulting in unexpected results as the most significant bit was used for the sign. Originally committed as revision 20778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix alpha plane flipping for the yuva420p and similar pixel formats.Stefano Sabatini2009-12-08
| | | | Originally committed as revision 20771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after the last commit.Stefano Sabatini2009-12-06
| | | | Originally committed as revision 20755 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix slicify when the slice_direction is negative, make it send slicesStefano Sabatini2009-12-06
| | | | | | from the bottom to the top one. Originally committed as revision 20754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a slice_dir parameter to avfilter_draw_slice().Stefano Sabatini2009-12-04
| | | | | | | | | | Avoid the need to implement slice direction detection code, thus reducing code duplication. See the thread: "[FFmpeg-devel] [PATCH] Add a slice_dir parameter to avfilter_start_frame()". Originally committed as revision 20734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the correct chroma values for the data[] array used inStefano Sabatini2009-11-29
| | | | | | | | | | draw_slice(). The chroma values to use are supposed to be those of the input format, not that of the output format, the latter case was causing crashes and chroma issues. Originally committed as revision 20660 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a valid log context for av_log().Stefano Sabatini2009-11-29
| | | | Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document slice ordering assumption required by avfilter_draw_slice().Stefano Sabatini2009-11-29
| | | | | | | The assumption depends on the corresponding assumption done by sws_scale() and by the scale filter. Originally committed as revision 20655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AVFilter.next field, since it is not used and it is not goingStefano Sabatini2009-11-25
| | | | | | | to be used since the implementation of the new filter registration system. Originally committed as revision 20611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_next().Stefano Sabatini2009-11-24
| | | | Originally committed as revision 20607 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a new registration system for filters.Stefano Sabatini2009-11-24
| | | | | | | | | | | | | Create a new static array containing pointers to the AVFilter definitions, so that the non-constant next filter in the AVFilter struct is not anymore required and the AVFilter definitions may be stored in shareable memory. Also change the signature for avfilter_register(), make it return an int since it may fail if there is not enough space in the static array for the registered filters. Originally committed as revision 20605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove from the list of the supported formats the formats which areStefano Sabatini2009-11-22
| | | | | | | | | not correctly supported. See the thread: "[FFmpeg-devel] [PATCH] Remove not truly supported formats support from the crop filter". Originally committed as revision 20576 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add functions to return library license and library configuration.Diego Biurrun2009-11-18
| | | | Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing #includes for avutil.h, required for the AV_VERSION* macros.Diego Biurrun2009-11-16
| | | | Originally committed as revision 20544 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add scale filter.Stefano Sabatini2009-11-11
| | | | Originally committed as revision 20519 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crop filter start_frame() for paletted formats different fromStefano Sabatini2009-11-09
| | | | | | PAL8. Shift data[1] only if the input format is not paletted. Originally committed as revision 20488 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable linking of parseutils.o.Stefano Sabatini2009-11-09
| | | | Originally committed as revision 20487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix start_frame(), which was issuing chroma artifacts with planarStefano Sabatini2009-11-08
| | | | | | formats with more than 8 bits per pixel (e.g. YUVXXXP16). Originally committed as revision 20479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Vertical align.Stefano Sabatini2009-11-03
| | | | Originally committed as revision 20447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use spaces after commas for improving readability.Stefano Sabatini2009-11-03
| | | | Originally committed as revision 20446 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add slicify video filter.Stefano Sabatini2009-11-03
| | | | Originally committed as revision 20445 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_get_video_buffer() useStefano Sabatini2009-11-03
| | | | | | | | | | | | | | | avfilter_default_get_video_buffer() if the get_video_buffer() callback is not defined in a filter. Libavfilter filters author have to explicitely define the get_video_buffer() callback if they want the buffer to be requested to the filter following in the filterchain. See the thread: "[FFmpeg-devel] [PATCH] Make avfilter_get_video_buffer() use default_get_video_buffer if callback not defined". Originally committed as revision 20444 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Explicitely define get_video_buffer() callbacks in the format,Stefano Sabatini2009-11-03
| | | | | | noformat and null filters. Originally committed as revision 20443 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change file doxy fromStefano Sabatini2009-11-03
| | | | | | | | "video format and noformat filters" to "format and noformat video filters", as suggested by Diego. Originally committed as revision 20442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix/clarify description of the noformat filter.Stefano Sabatini2009-11-03
| | | | Originally committed as revision 20441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the get_video_buffer() callback.Stefano Sabatini2009-10-30
| | | | | | | That was never required since avfilter_get_video_buffer() already calls itself on the next link if get_video_buffer is not defined. Originally committed as revision 20419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix doxies, use third person and phrase-ending dots.Stefano Sabatini2009-10-27
| | | | Originally committed as revision 20391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add format and noformat filters.Stefano Sabatini2009-10-27
| | | | Originally committed as revision 20390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce first_avfilter and use that, together with AVFilter.next,Stefano Sabatini2009-10-27
| | | | | | | | | for registering and finding filters, rather than use the struct AVFilterList, which is removed. Simplify the filter registration management code. Originally committed as revision 20387 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a field 'next' to AVFilter.Stefano Sabatini2009-10-27
| | | | | | | Simplify the registration and iteration of all the registered filters, consistent with what is done with formats / codecs. Originally committed as revision 20385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add descriptions for the committed filters.Stefano Sabatini2009-10-27
| | | | Originally committed as revision 20375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make dprintf_link() show the name of the link pixel format.Stefano Sabatini2009-10-25
| | | | Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the description field of the filter from AVFilterContext toStefano Sabatini2009-10-22
| | | | | | | AVFilter, where it should have had defined the first time. +10L. Originally committed as revision 20356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a description field to AVFilterContext.Stefano Sabatini2009-10-22
| | | | Originally committed as revision 20354 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add video vertical flip filter.Stefano Sabatini2009-10-22
| | | | Originally committed as revision 20352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the pix_fmts var in query_formats() static const.Stefano Sabatini2009-10-21
| | | | Originally committed as revision 20343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add video crop filter.Stefano Sabatini2009-10-21
| | | | Originally committed as revision 20342 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: prefer "pix_fmts" over "pix_fmt" for the name of theStefano Sabatini2009-10-21
| | | | | | | argument of avfilter_make_format_list(), as the argument represents a list of elements. Originally committed as revision 20341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_make_format_list() take in input a const argument.Stefano Sabatini2009-10-21
| | | | Originally committed as revision 20340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Break over-80-chars-long line.Stefano Sabatini2009-10-19
| | | | Originally committed as revision 20320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_make_format_list2() to avfilter_make_format_list().Stefano Sabatini2009-10-18
| | | | Originally committed as revision 20302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove avfilter_make_format_list(), it has been replaced byStefano Sabatini2009-10-18
| | | | | | avfilter_make_format_list2(). Originally committed as revision 20301 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_make_format_list2(), which is going to replaceStefano Sabatini2009-10-18
| | | | | | | | | avfilter_make_format_list(). See the thread: "[PATCH] Implement avfilter_make_format_list2(enum PixelFormat pix_fmt, ...)". Originally committed as revision 20299 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make clear in the doxy that this is a *video* filter.Stefano Sabatini2009-10-18
| | | | Originally committed as revision 20298 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix recursive avfilter_poll_frame(). It was doingVitor Sessak2009-10-18
| | | | | | | | min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i])) which, since FFMIN is a macro, was calling itself twice for every input, causing an exponential cost in time. Originally committed as revision 20295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the null video filter.Stefano Sabatini2009-10-18
| | | | Originally committed as revision 20275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use 'enum PixelFormat *' rather than 'int *' as type for theStefano Sabatini2009-10-18
| | | | | | | AVFilterFormats.formats field. Cleaner / safer. Originally committed as revision 20274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_get_video_buffer() recursive.Stefano Sabatini2009-10-18
| | | | | | | | | | | | | | | | | | | When called on a link with a filter whose destination pad has not a get_video_buffer callback defined, it will call avfilter_get_video_buffer() on the first output link of the destination filer, rather than use avfilter_default_get_buffer(), so the video buffer can be allocated forward in the filterchain. Also add the w and h parameters to avfilter_get_video_buffer(), as the minimum width and height requested by each filter in the filterchain may change, this allows for example a memcpy-less pad filter. This change breaks API / ABI backward compatibility. See the thread: "[PATCH] Implement recusive avfilter_get_video_buffer()". Originally committed as revision 20272 to svn://svn.ffmpeg.org/ffmpeg/trunk