summaryrefslogtreecommitdiff
path: root/libavfilter/vf_crop.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-09
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: mark pseudopaletted formats with a special flag. avconv: switch to avcodec_encode_video2(). libx264: implement encode2(). libx264: split extradata writing out of encode_nals(). lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacket cmdutils: update copyright year to 2012. swscale: sign-extend integer function argument to qword on x86-64. x86inc: support yasm -f win64 flag also. h264: manually save/restore XMM registers for functions using INIT_MMX. x86inc: allow manual use of WIN64_SPILL_XMM. aacdec: Use correct speaker order for 7.1. aacdec: Remove incorrect comment. aacdec: Simplify output configuration. Remove Sun medialib glue code. dsputil: set STRIDE_ALIGN to 16 for x86 also. pngdsp: swap argument inversion. Conflicts: cmdutils.c configure doc/APIchanges ffmpeg.c libavcodec/aacdec.c libavcodec/dsputil.h libavcodec/libx264.c libavcodec/mlib/dsputil_mlib.c libavcodec/utils.c libavfilter/vf_scale.c libavutil/avutil.h libswscale/mlib/yuv2rgb_mlib.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-08
| | | | | | | | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* | 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_crop: 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>
* | vf_crop: add support for a, dar, sar, hsub, and vsub variablesStefano Sabatini2011-07-30
| | | | | | | | Consistent with the pad and scale filters.
* | 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>
* | lavfi: add layout negotiation fields and helper functions.Mina Nagy Zaki2011-06-19
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ARM: enable UAL syntax in asm.S v4l2: don't leak video standard string on error. swscale: Remove disabled code. avfilter: Surround function only used in debug mode by appropriate #ifdef. vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog(). build: remove BUILD_ROOT variable vp8: use av_clip_uintp2() where possible Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().Diego Biurrun2011-05-29
| |
| * crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-28
| | | | | | | | 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>
| * 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>
* | Make the crop filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-03-26
| |
* | Merge libavcore into libavutilReinhard Tartler2011-02-16
|/ | | | Done to keep ABI compatible. Otherwise this is just silly
* In crop filter, update new ref w/h instead of old one, fix chainingBaptiste Coudurier2011-01-05
| | | | Originally committed as revision 26216 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In the crop filter, put under ifdef DEBUG the trace logs for theStefano Sabatini2010-12-27
| | | | | | | | 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
* 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
* 0.123l: remove unused arguments in av_log(), fix warning.Stefano Sabatini2010-11-24
| | | | Originally committed as revision 25820 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In crop filter, reference picref after updating w/h, fix issue #2377Baptiste Coudurier2010-11-24
| | | | Originally committed as revision 25818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add informative log message in the crop filter.Stefano Sabatini2010-11-23
| | | | Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use hierarchic names convention (prefix them with av_expr) for theStefano Sabatini2010-11-08
| | | | | | | | | eval API. More grep-friendly and more consistent with the rest of the FFmpeg API. Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crop->var_values[VAR_T] computation in the crop filter.Stefano Sabatini2010-11-02
| | | | Originally committed as revision 25645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefix enum var_name symbols with VAR_, to avoid conflicts with alreadyStefano Sabatini2010-09-25
| | | | | | defined symbols, in particular should fix compilation in DOS. Originally committed as revision 25194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memleak introduced in:Stefano Sabatini2010-09-25
| | | | | | | | r25185 | stefano | 2010-09-25 03:18:43 +0200 (Sat, 25 Sep 2010) | 1 line Make the crop filters accept parametric expressions. Originally committed as revision 25193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the crop filters accept parametric expressions.Stefano Sabatini2010-09-25
| | | | Originally committed as revision 25185 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the syntax of the crop filter from x:y:w:h to w:h:x:y.Stefano Sabatini2010-09-24
| | | | | | | Slightly more intuitive and required by a pending changes for making the filter parametric. Originally committed as revision 25184 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove useless parentheses.Stefano Sabatini2010-09-10
| | | | Originally committed as revision 25097 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
* Rename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().Stefano Sabatini2010-08-20
| | | | | | | | | | The plural form is preferred as it is more consistent with the other functions: av_fill_image_linesizes() av_fill_image_pointers() and looks semantically more correct as it fills an array of elements. Originally committed as revision 24851 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement inline function av_fill_image_max_pixstep() and use it forStefano Sabatini2010-08-18
| | | | | | factorizing code. Originally committed as revision 24827 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 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
* Make config_input() return AVERROR(EINVAL) in place of -1.Stefano Sabatini2010-07-30
| | | | Originally committed as revision 24595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Compute the max pixel step for each plane, and use it in place ofStefano Sabatini2010-07-30
| | | | | | | | hardcoding that value in a switch. More compact and correct. Originally committed as revision 24594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dependency on avcodec_get_chroma_sub_sample() and libavcodec,Stefano Sabatini2010-07-22
| | | | | | use the pixdesc API instead. Originally committed as revision 24440 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the new null callbacks to simplify filters and reduce duplicated code.Bobby Bingham2010-03-18
| | | | Originally committed as revision 22595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use pixel format descriptors for checking if the input format isStefano Sabatini2010-02-03
| | | | | | paletted. Simpler and more robust. Originally committed as revision 21631 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
* 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
* 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
* 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
* Add descriptions for the committed filters.Stefano Sabatini2009-10-27
| | | | Originally committed as revision 20375 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