summaryrefslogtreecommitdiff
path: root/libavfilter/vf_crop.c
Commit message (Collapse)AuthorAge
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* 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