summaryrefslogtreecommitdiffstats
path: root/libavfilter
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_pullup: fix memleak on errorMichael Niedermayer2013-12-131-2/+6
| | | | | | Fixes CID1108604 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_pullup: Factor free_field_queue() outMichael Niedermayer2013-12-131-13/+17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/aeval: Fix use of uninitialized variableMichael Niedermayer2013-12-111-1/+1
| | | | | | Fixes CID1135776 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* configure: Special case libfreetype testAlexander Strasser2013-12-081-1/+0
| | | | | | | | | | | Include the freetype header, in-directly through a macro, like it is done in the drawtext filter. Do not break if the header is moved. Unfortunately the drawtext filter included the file where the include macros are defined in a wrong way. This is not needed and breaks the build. Remove that #include line too. Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
* avfilter/vf_mergeplanes: specify pixel format min/maxMichael Niedermayer2013-12-081-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* do O(1) instead of O(n) atomic operations in register functionsMichael Niedermayer2013-12-061-1/+1
| | | | | | about 1ms faster startup time Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: rename asrc_aevalsrc.c to aeval.cStefano Sabatini2013-12-062-2/+2
| | | | | The file now contains both source and filter, the new name looks more appropriate.
* lavfi: add aeval filterStefano Sabatini2013-12-064-34/+247
|
* lavfi/aevalsrc: duplicate last expression for the missing channelsStefano Sabatini2013-12-062-12/+24
| | | | | Use last expression for the missing channel expressions in case the channel layout was specified. Enhance flexibility.
* Add Windows resource file support for shared librariesJames Almer2013-12-052-0/+58
| | | | | | | | | | | | | | | | | | Originally written by James Almer <jamrial@gmail.com> With the following contributions by Timothy Gu <timothygu99@gmail.com> * Use descriptions of libraries from the pkg-config file generation function * Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser) * Use "FFmpeg" for ProductName as MSDN says "name of the product with which the file is distributed" [1]. * Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1]. * Only build the .rc files when --enable-small is not enabled. [1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_pad: fix req_endMichael Niedermayer2013-12-031-1/+1
| | | | | | | Fixes out of array accesses Fixes Ticket3190 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/volume: support all channel countsStefano Sabatini2013-12-021-2/+2
|
* Revert "vf_yadif: move x86 init code to x86/yadif.c"Michael Niedermayer2013-12-014-132/+97
| | | | | | | | | | | | | | | This reverts commit a87b17f3283aada762820f1b797eeb7a2dff6c61. This reduces the amount of non LGPL code, making a relicensing to LGPL easier Conflicts: libavfilter/vf_yadif.c libavfilter/x86/yadif.c libavfilter/x86/yadif_template.c libavfilter/yadif.h Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "yadif: add parens around macro parameters"Michael Niedermayer2013-12-011-4/+4
| | | | | | | | | | | | This reverts commit 49e617f9565b6528fe707bae7ea4b62b10c771a5. This reduces the amount of non LGPL code, making a relicensing to LGPL easier Conflicts: libavfilter/vf_yadif.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/yadif: Revert "lavfi: convert input/ouput list compound literals to ↵Michael Niedermayer2013-12-011-21/+14
| | | | | | | | | | named objects" This reverts commit 568c70e79ee267426c15ef4603c69703f6a5884a. This reduces the amount of non LGPL code, making a relicensing to LGPL easier Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/Makefile: Don't compile lavfutils.c and lswsutils.c if they are not neededJames Almer2013-11-301-2/+0
| | | | | | | | | | They are only needed by removelogo. This fixes a link failure in shared builds when compiling with removelogo disabled but Lavf/SwS enabled Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-244-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add missing #includes for *INT64_MAX and *INT64_C Conflicts: ffmpeg.c ffmpeg_filter.c ffplay.c libavformat/assdec.c libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-234-0/+5
| |
* | lavfi/aevalsrc: initialize pointer to expression to NULLStefano Sabatini2013-11-211-0/+1
| | | | | | | | Fix crash in case of expression parsing failure.
* | avfilter/showspectrum: use 0 dummies for range in const.Clément Bœsch2013-11-201-3/+3
| | | | | | | | This is consistent with other options.
* | avfilter/showspectrum: reindent const options.Clément Bœsch2013-11-201-10/+10
| |
* | avfilter/showspectrum: add blackman window.Clément Bœsch2013-11-201-1/+7
| |
* | avfilter/showspectrum: add win_func option.Clément Bœsch2013-11-201-4/+23
| |
* | avfilter/vf_tinterlace: check clone return valueMichael Niedermayer2013-11-191-0/+2
| | | | | | | | | | | | Inspired by: 3a16ec19d2426457419cb8a7304f97982699efda Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3a16ec19d2426457419cb8a7304f97982699efda'Michael Niedermayer2013-11-191-0/+2
|\ \ | |/ | | | | | | | | | | * commit '3a16ec19d2426457419cb8a7304f97982699efda': vf_interlace: check one av_frame_clone allocation Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_interlace: check one av_frame_clone allocationVittorio Giovara2013-11-191-0/+2
| |
* | avfilter/vf_mp: fix missing FF_API_XVMC checkVallimar2013-11-181-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5b9c3b4505206143d85398c1410949319fa1180f'Michael Niedermayer2013-11-162-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5b9c3b4505206143d85398c1410949319fa1180f': Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). Conflicts: doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c libavcodec/alacenc.c libavcodec/libopenjpegenc.c libavcodec/libvpxenc.c libavcodec/pcm.c libavcodec/xbmenc.c libavcodec/xwdenc.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | af_aresample: Fix timestamp of first padded PCM audio packetAlex Sukhanov2013-11-151-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ffmpeg generated video file which had two audio packets with the same timestamp: last original audio packet and first padded audio packet. Timestamp of first added audio packet by 'apad' fitler had the same value as last original audio packet. The problem was in 'aresample' fitler, which used next pts instead of current one. As long as 'apad' and 'aresample' filters have separate mechanisms of timestamp calculation, they got the same values. Command line: ffmpeg -i <input_filename> -shortest -apad 512 -af asetnsamples=n=512 -b:a 1058400 -ac 1 -ar 44100 -async 0 -acodec pcm_s16le -sn -f matroska -y <output_file> Fix: Call swr_next_pts() function before swr_convert() Tested: FATE tests passed. Fix has been tested in our Transcoder regression framework on ~10k test videos. It's about ~500k transcodes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: add elbg filterStefano Sabatini2013-11-134-2/+217
| |
* | avfilter/fade: use FADE_OUT macro.Clément Bœsch2013-11-101-1/+1
| |
* | avfilter/fade: remove a bunch of useless parenthesis.Clément Bœsch2013-11-101-8/+8
| |
* | avfilter/fade: use inlink->frame_count.Clément Bœsch2013-11-101-7/+4
| |
* | avfilter/fade: add color option.Clément Bœsch2013-11-101-2/+62
| | | | | | | | Fixes Ticket #1822.
* | avfilter/graphparser: zero filter_ctx in case of deallocation in create_filter()Michael Niedermayer2013-11-071-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'cffecc0e7ebd642afaa1fb9f56fab1fcc283293c'Michael Niedermayer2013-11-071-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'cffecc0e7ebd642afaa1fb9f56fab1fcc283293c': avfilter/graphparser: Directly free filter memory if initialization fails Conflicts: libavfilter/graphparser.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfilter/graphparser: Directly free filter memory if initialization failsDiego Biurrun2013-11-061-0/+1
| |
* | avfilter/unsharp: added optimized opencl kernelsLenny Wang2013-11-073-46/+293
| | | | | | | | | | Reviewed-by: Wei Gao <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/af_aecho: free input frame after it is being usedPaul B Mahol2013-11-071-1/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/af_aresample: Calculate output buffer size more precisely.Michael Niedermayer2013-11-061-2/+9
| | | | | | | | | | | | Fixes accumulation of data in case of significant silence injections Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/opencl: compile kernels separatelyLenny Wang2013-11-055-24/+51
| | | | | | | | | | Reviewed-by: Wei Gao <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-051-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: avfilter/buffer: Suppress deprecation warning for avfilter_unref_buffer Conflicts: libavfilter/buffer.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfilter/buffer: Suppress deprecation warning for avfilter_unref_bufferDiego Biurrun2013-11-041-0/+3
| | | | | | | | The function is used in a block of code that is deprecated anyway.
| * filtfmts-test: Fix use of deprecated APIDiego Biurrun2013-11-041-4/+4
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * vf_fieldorder: remove superfluous get_video_bufferVittorio Giovara2013-11-041-9/+0
| |
| * vf_scale: make the dar variable return the DAR.Rudolf Polzer2013-11-022-2/+3
| | | | | | | | | | | | | | | | | | Before, it just returned width/height. Correct is width/height*sar. That way it is consistent with DAR as in probe output and setdar. Signed-off-by: Rudolf Polzer <divverent@xonotic.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavfi/ladspa: cast return value of av_x_if_null to char*, fix warningsStefano Sabatini2013-11-051-3/+5
| |
* | avfilter/vf_scale: add ov/hsubMichael Niedermayer2013-11-042-1/+8
| | | | | | | | | | | | Suggested-by: divVerent Reviewed-by: Stefano Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_aspect: remove dupe constants setupPaul B Mahol2013-11-031-9/+0
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'cigaes/master'Michael Niedermayer2013-11-037-18/+43
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cigaes/master: lavfi/af_pan: support unknown layouts on input. lavfi/af_pan: support unknown layouts on output. lswr: fix assert failure on unknown layouts. lavfi: parsing helper for unknown channel layouts. lavfi/avfiltergraph: do not reduce incompatible lists. lavfi/avfiltergraph: suggest a solution when format selection fails. lavd/lavfi: support unknown channel layouts. lavf/wavenc: check for a single stream. lavd/alsa: add stream validation lavd/alsa: fix timestamp calculation Merged-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud