summaryrefslogtreecommitdiff
path: root/libavfilter/vf_pad.c
Commit message (Collapse)AuthorAge
...
* | vf_pad: keep a reference to the output buffer.Nicolas George2012-03-08
| | | | | | | | | | | | | | | | Once fixed, the end_frame function does exactly what avfilter_default_end_frame does; therefore, end_frame can be removed to let avfilter_default_end_frame work. Fixes ticket #1038.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegvideo_enc: only allocate output packet when we know there will be output Add names for more channel layouts to the channel layout map. sunrast: Add a sample request for RMP_RAW colormap. avcodec: do not override pts or duration from the audio encoder Add prores regression test. Enable already existing rso regression test. Add regression test for "sox" format muxer/demuxer. Add dpx encoding regression test. swscale: K&R formatting cosmetics for PowerPC code (part I/II) img2: Use ff_guess_image2_codec(filename) shorthand where appropriate. Clarify licensing information about files borrowed from libjpeg. Mark mutable static data const where appropriate. avplay: fix -threads option dvbsubdec: avoid undefined signed left shift in RGBA macro mlpdec: use av_log_ask_for_sample() gif: K&R formatting cosmetics png: make .long_name more descriptive movdec: Adjust keyframe flagging in fragmented files rv34: change most "int stride" into "ptrdiff_t stride". Conflicts: avprobe.c ffplay.c libavcodec/mlpdec.c libavcodec/mpegvideo_enc.c libavcodec/pngenc.c libavcodec/x86/v210-init.c libavfilter/vf_boxblur.c libavfilter/vf_crop.c libavfilter/vf_drawtext.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vf_settb.c libavformat/img2.c libavutil/audioconvert.c tests/codec-regression.sh tests/lavf-regression.sh tests/ref/lavf/dpx tests/ref/vsynth1/prores tests/ref/vsynth2/prores Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | pad: fix format string lengthMichael Niedermayer2011-11-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | 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>
* | Add const to static arrays where it was forgotten.Reimar Döffinger2011-11-05
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vf_pad: Fix alignment of get_video_buffer()Michael Niedermayer2011-10-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_pad: remove mathematical constants now redundant.Nicolas George2011-10-13
| | | | | | | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: tweak display aspect ratio variables in pad and scale filtersStefano Sabatini2011-07-30
| | | | | | | | | | | | | | | | | | | | | | Previously, "dar" and "a" were documented like "input display aspect ratio", but their actual value was "in_w/in_h". In order to avoid to break scripts which rely on the "a" variable, the patch keeps the same semantics but fixes the corresponding docs, and fixes the semantics of the recently added "dar" variable, which now correctly expresses the input Display Aspect Ratio value as "(inw_w/in_h)*sar".
* | vf_pad: fix "vsub" variable value computationStefano Sabatini2011-07-04
| | | | | | | | It was shifting 2 rather than 1, +10l.
* | vf_pad: add support for a "sar" variableStefano Sabatini2011-07-04
| | | | | | | | Also add a "dar" alias for "a", for avoiding confusion with sar/dar.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (40 commits) H.264: template left MB handling H.264: faster fill_decode_caches H.264: faster write_back_* H.264: faster fill_filter_caches H.264: make filter_mb_fast support the case of unavailable top mb Do not include log.h in avutil.h Do not include pixfmt.h in avutil.h Do not include rational.h in avutil.h Do not include mathematics.h in avutil.h Do not include intfloat_readwrite.h in avutil.h Remove return statements following infinite loops without break RTSP: Doxygen comment cleanup doxygen: Escape '\' in Doxygen documentation. md5: cosmetics md5: use AV_WL32 to write result md5: add fate test md5: include correct headers md5: fix test program doxygen: Drop array size declarations from Doxygen parameter names. doxygen: Fix parameter names to match the function prototypes. ... Conflicts: libavcodec/x86/dsputil_mmx.c libavformat/flvenc.c libavformat/oggenc.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | lavfi: add layout negotiation fields and helper functions.Mina Nagy Zaki2011-06-19
| |
* | vsrc_color: add @file doxyStefano Sabatini2011-06-18
| | | | | | | | Also remove outdated reference to color in vf_pad.c.
* | pad: make the filter parametricStefano Sabatini2011-04-19
| | | | | | | | | | | | Address trac issue #61. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
* | 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: Michael Niedermayer <michaelni@gmx.at>
* | 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: Michael Niedermayer <michaelni@gmx.at>
* | Merge libavcore into libavutilReinhard Tartler2011-02-16
|/ | | | Done to keep ABI compatible. Otherwise this is just silly
* 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