summaryrefslogtreecommitdiff
path: root/libavfilter/vf_pad.c
Commit message (Collapse)AuthorAge
* Mark mutable static data const where appropriate.Alex Converse2012-02-21
|
* vf_pad: fix "vsub" variable value computationStefano Sabatini2011-09-28
| | | | | | It was shifting 2 rather than 1, +10l. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: add @file doxyStefano Sabatini2011-09-19
| | | | | | Also remove outdated reference to color in vf_pad.c. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* pad: make the filter parametricStefano Sabatini2011-04-26
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: put color source in a dedicated fileStefano Sabatini2011-02-21
| | | | | | 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-21
| | | | | | | 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-15
| | | | | | | | | | | | 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>
* In the pad filter, log information about the input size.Stefano Sabatini2011-01-12
| | | | Originally committed as revision 26320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix design of the pad filter.Michael Niedermayer2011-01-11
| | | | | | | | 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
* In pad filter, update new ref w/h in start_frame, fix chainingBaptiste Coudurier2011-01-05
| | | | Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini2010-11-28
| | | | | | headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move the av_parse_color() function from libavfilter to libavcoreAurelien Jacobs2010-11-17
| | | | 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 ↵Baptiste Coudurier2010-11-17
| | | | | | values for w and h Originally committed as revision 25759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve av_parse_color() to allow for non-null terminated color stringAurelien Jacobs2010-11-13
| | | | Originally committed as revision 25744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with theStefano Sabatini2010-09-25
| | | | | | corresponding AVMEDIA_TYPE_* symbols. Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate video specific BufferRef properties into VideoProps.S.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | | | | Define a new struct AVFilterBufferRefVideoProps and add a type field to AVFilterBufferRef. Video specific properties in AVFilterBufferRefVideoProps are now referred to by *video pointer in AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu. Originally committed as revision 24763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | | | AVFilterLink.srcpic -> AVFilterLink.src_buf AVFilterLink.cur_pic -> AVFilterLink.cur_buf AVFilterLink.outpic -> AVFilterLink.out_buf The new names are more generic and more consistent, since the struct they contain, which was named AVFilterPicRef, has been renamed to AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%. Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename functions and fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | avfilter_(un)ref_pic -> avfilter_(un)ref_buffer avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props AVFilterBufferRef.pic -> AVFilterBufferRef.buffer They have been renamed to allow sharing with audio. Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$. Originally committed as revision 24731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterPicRef to AVFilterBufferRef.S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | The struct is going to be used for storing audio buffer references as well, and the new name is more generic. Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@. Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()Stefano Sabatini2010-07-26
| | | | | | | | | | | in favor of the newly added corresponding functions av_parse_video_size() and av_parse_video_rate() defined in libavcore/parseutils.h. This change also adds a linking-time dependency of libavcodec and of libavfilter on libavcore. Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add color source.Stefano Sabatini2010-07-17
| | | | Originally committed as revision 24282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vf_pad: restore use of _CCIR colourspace conversion macrosMåns Rullgård2010-07-06
| | | | Originally committed as revision 24073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move shareable draw_rectangle() and query_formats function to the topStefano Sabatini2010-07-05
| | | | | | | | | of the file, and put under #if CONFIG_PAD_FILTER the code specific to the pad filter. Simplify the inclusion of the color source. Originally committed as revision 24067 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize out some code and implement the fill_line_with_color()Stefano Sabatini2010-07-05
| | | | | | function. Allow to share code with the pending color source. Originally committed as revision 24066 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enhance pad filter command-line description.Stefano Sabatini2010-07-03
| | | | | | Based on a patch by John Calcote $name.$surname@gmail.com. Originally committed as revision 24030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move colorspace.h from libavcodec to libavutil.Stefano Sabatini2010-07-01
| | | | | | Avoid a compile-time dependency of the pad filter on libavcodec. Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set pad description with NULL_IF_CONFIG_SMALL(), consistent with theStefano Sabatini2010-06-30
| | | | | | other filters. Originally committed as revision 23923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve description for the pad filter.Stefano Sabatini2010-06-30
| | | | Originally committed as revision 23922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the name of the file from the @file doxy, it is unnecessary andStefano Sabatini2010-05-13
| | | | | | inconsistent with the other files. Originally committed as revision 23122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the init and config_filter callbacks of the pad filter returnStefano Sabatini2010-05-13
| | | | | | AVERROR(EINVAL) rather than -1 in case of invalid parameters. Originally committed as revision 23121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* silence gcc warning about potential uninitialized usageBaptiste Coudurier2010-05-11
| | | | Originally committed as revision 23093 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vf_pad: fix mixed code and declarationsMåns Rullgård2010-05-07
| | | | Originally committed as revision 23054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add pad filter.Michael Niedermayer2010-05-07
Originally committed as revision 23046 to svn://svn.ffmpeg.org/ffmpeg/trunk