Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-01vf_scale.c: propagate error codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8447703c16b9e6fdc48ce92553ec1cfa2e359b84)
2011-09-07vf_scale: apply the same transform to the aspect during init that is applied ↵Michael Niedermayer
per frame Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c8868f28e357e7e6ffe3254d0056b3e8033fe8e5)
2011-06-01Fix type of out[] variable, it should not be const.Reimar Döffinger
Fixes compiler warning about incompatible types in sws_scale call.
2011-05-02scale: fix leak occurring when a scale filter is reconfiguredStefano Sabatini
This currently only occurrs in vsrc_buffer in case of mid-stream size/format change. Fix trac issue #124.
2011-05-01lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratioStefano Sabatini
Improve consistency with libavcodec. This breaks libavfilter API/ABI. The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously done with the lavfi minor number.
2011-04-27Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: (23 commits) ac3enc: correct the flipped sign in the ac3_fixed encoder Eliminate pointless '#if 1' statements without matching '#else'. Add AVX FFT implementation. Increase alignment of av_malloc() as needed by AVX ASM. Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX. mjpeg: Detect overreads in mjpeg_decode_scan() and error out. documentation: extend documentation for ffmpeg -aspect option APIChanges: update commit hashes for recent additions. lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums aac: add headers needed for log2f() lavc: remove FF_API_MB_Q cruft lavc: remove FF_API_RATE_EMU cruft lavc: remove FF_API_HURRY_UP cruft pad: make the filter parametric vsrc_movie: add key_frame and pict_type. vsrc_movie: fix leak in request_frame() lavfi: add key_frame and pict_type to AVFilterBufferRefVideo. vsrc_buffer: add sample_aspect_ratio fields to arguments. lavfi: add fieldorder filter scale: make the filter parametric ... Conflicts: Changelog doc/filters.texi ffmpeg.c libavcodec/ac3dec.h libavcodec/dsputil.c libavfilter/avfilter.h libavfilter/vf_scale.c libavfilter/vf_yadif.c libavfilter/vsrc_buffer.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-26scale: make the filter parametricStefano Sabatini
Make the filter accept parametric expressions for the output video size. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-17scale: set evaluated value for the "out_w" and "out_h" constantsStefano Sabatini
The constant values were never set, thus the evaluation of expressions referencing those constants were resulting in an error. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-17scale: fix computation for the "hsub" and "vsub" constantsStefano Sabatini
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-05scale: make the filter parametricStefano Sabatini
Make the filter accept parametric expressions for the output video size. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-03Dont leak sws contexts.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-28Implement interlaced scaling.Michael Niedermayer
Fixes issue2632 if interl=1 is used or the automatic interlace detection is enabled and works. This has the advantage compared to the patch in issue2632 that it causes no speed loss and it also works when scaling is used. The disadvantage is that interlacing autodetection does not yet work very well it seems. This is the same method mplayer uses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-16Make config_props() return AVERROR(EINVAL) rather than 1 in case ofStefano Sabatini
failed SWScaleContext initialization. Fix issue2546. Originally committed as revision 26395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-28In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini
headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28Make init() return sensible error code rather than -1 in case ofStefano Sabatini
invalid values. Originally committed as revision 25248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28Cosmetics: apply nits.Stefano Sabatini
Originally committed as revision 25247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25Add missing uses of NULL_IF_CONFIG_SMALL for the filters descriptions.Stefano Sabatini
Originally committed as revision 25182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-12100L, fix vf_scale, since copy_ref_props now copy w and h, we must update themBaptiste Coudurier
Originally committed as revision 24781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-11Separate video specific BufferRef properties into VideoProps.S.N. Hemanth Meenakshisundaram
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
2010-08-07Rename fields:S.N. Hemanth Meenakshisundaram
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
2010-08-07Rename functions and fields:S.N. Hemanth Meenakshisundaram
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
2010-08-07Rename AVFilterPicRef to AVFilterBufferRef.S.N. Hemanth Meenakshisundaram
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
2010-07-22Generalize pixel format enum fields to int formats.S.N. Hemanth Meenakshisundaram
This is needed to make the libavfilter framework work with audio filters. In particular add a type field to AVFilterLink, change the field types: enum PixelFormat format -> int format in AVFilterBuffer enum PixelFormat *formats -> int *formats in AVFilterFormats enum PixelFormat *format -> int format in AVFilterLink and change the function signatures: AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); -> AVFilterFormats *avfilter_make_format_list(const int *fmts); int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); -> int avfilter_add_format(AVFilterFormats **avff, int fmt); AVFilterFormats *avfilter_all_colorspaces(void); -> AVFilterFormats *avfilter_all_formats(enum AVMediaType type); This change breaks libavfilter API/ABI. Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|. Originally committed as revision 24424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11Use avfilter_copy_picref_props() along lavfi.Víctor Paesa
Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27Add a const declaration, fixing a warningEli Friedman
Patch by Eli Friedman, eli dot friedman at gmail Originally committed as revision 23830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23Prefix value for flags with "0x", to make it clear that it is anStefano Sabatini
hexadecimal value. Originally committed as revision 23262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08Make config_props() show conversion information before to create theStefano Sabatini
swscale context. This makes eventual warnings issued in case of swscale context creation failure to be shown after the conversion information rather than before, which is slightly less confusing. Originally committed as revision 23056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-08Log input size, input format and swscale flags used for conversion inStefano Sabatini
config_props(). Useful for debugging. Originally committed as revision 23055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07c99 sucks. Replacing scanf("%i") by strtoul()Michael Niedermayer
Originally committed as revision 23053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07Try to keep track of interlaced and top field first.Michael Niedermayer
Originally committed as revision 23044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07Support setting flags for sws.Michael Niedermayer
Originally committed as revision 23041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
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
2010-03-31Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-13Make the scale filter pass the pkt.pos information to the outputStefano Sabatini
picref. Originally committed as revision 22509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01Use pixel format descriptors to check if the input format is paletted.Stefano Sabatini
Originally committed as revision 21597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31Avoid usage of avcodec_get_pix_fmt_name() andStefano Sabatini
avcodec_get_chroma_sub_sample(), directly access av_pix_fmt_descriptors instead. Remove some of the dependancies of lavfi on lavc. Originally committed as revision 21575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-09 Make the scale filter set in the input and output links only theStefano Sabatini
respective pixel formats effectively supported by libswscale. Originally committed as revision 21105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-05Add a slice_dir parameter to avfilter_draw_slice().Stefano Sabatini
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
2009-11-29Use the correct chroma values for the data[] array used inStefano Sabatini
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
2009-11-29Use a valid log context for av_log().Stefano Sabatini
Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-12Add scale filter.Stefano Sabatini
Originally committed as revision 20519 to svn://svn.ffmpeg.org/ffmpeg/trunk