summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* Add missing includes for code relying on external librariesMartin Storsjö2012-08-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add more missing includes after removing the implicit common.hMartin Storsjö2012-08-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add some more missing includes after removing the implicit common.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: yadif: fix asm with sunccMans Rullgard2012-08-13
| | | | | | | | | | | | | | | | Under some circumstances, suncc will use a single register for the address of all memory operands, inserting lea instructions loading the correct address prior to each memory operand being used in the code. In the yadif code, the branch in the asm block bypasses such an lea instruction, causing an incorrect address to be used in the following load. This patch replaces the tmpX arrays with a single array and uses a register operand to hold its address. Although this prevents using offsets from the stack pointer to access these locations, the code still builds as 32-bit PIC even with old compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxygen: Fix function parameter names to match the codeDiego Biurrun2012-08-09
|
* x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.hMans Rullgard2012-08-09
| | | | | | | This puts x86-specific things in the x86/ subdirectory where they belong. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: properly signal out-of-memory error in ff_filter_samplesReinhard Tartler2012-08-05
| | | | Found with a clang-scan report on http://fate.libav.org/csa/
* cosmetics: Fix a few switched periods and linebreaksDerek Buitenhuis2012-08-04
| | | | | | Based on a patch by Piotr Bandurski. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86: build: replace mmx2 by mmxextDiego Biurrun2012-08-03
| | | | | | | Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
* x86: yadif: Mark mmxext optimizations as suchDiego Biurrun2012-07-31
| | | | | The yadif mmx optimizations contain the pmaxsw and pmaxub mmxext instructions, causing sigills on CPUs that do not support mmxext.
* af_asyncts: avoid overflow in out_size with large delta valuesJustin Ruggles2012-07-29
|
* af_asyncts: add first_pts optionJustin Ruggles2012-07-29
| | | | | | This allows for padding/trimming at the start of stream. By default, no assumption is made about the first frame's expected pts, so no padding or trimming is done.
* vf_hqdn3d: support 9 and 10bit colordepthLoren Merritt2012-07-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vf_hqdn3d: reduce intermediate precisionLoren Merritt2012-07-28
| | | | | | | 11% faster on penryn, 7% on sandybridge, 5% on bulldozer Negligible change to output. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vf_hqdn3d: simplify and optimizeLoren Merritt2012-07-28
| | | | | | 14% faster on penryn, 2% on sandybridge, 9% on bulldozer Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* factor identical ff_inplace_start_frame out of two filtersLoren Merritt2012-07-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vf_hqdn3d: cosmeticsLoren Merritt2012-07-28
| | | | | | Change code style to match the rest of libav. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavfi: bump minor to mark stabilizing the ABI.Anton Khirnov2012-07-28
|
* lavfi: better channel layout negotiationJustin Ruggles2012-07-27
| | | | | | | Allow substitution of channel pairs in the input for nearby channel pairs in the output in order to get a closer match. Also weigh LFE channel mismatch differently to favor matching the same layout without LFE over one less channel with LFE.
* vf_yadif: unset cur_buf on the input link.Anton Khirnov2012-07-26
| | | | | | | The buffer is stored internally, so this prevents it from being unreffed automatically. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_overlay: ensure the overlay frame does not get leaked.Anton Khirnov2012-07-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_overlay: prevent premature freeing of cur_bufMichael Niedermayer2012-07-26
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avfilter: Fix printf format string conversion specifierDiego Biurrun2012-07-25
| | | | libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]
* lavfi: place x86 inline assembly under HAVE_INLINE_ASM.Ronald S. Bultje2012-07-22
| | | | | This allows compiling this code using compilers that do not understand gcc-style inline assembly.
* buffersrc: check ff_get_audio_buffer() for errors.Anton Khirnov2012-07-22
|
* lavfi: check all ff_get_video_buffer() calls for errors.Anton Khirnov2012-07-22
|
* lavfi: check all avfilter_ref_buffer() calls for errors.Anton Khirnov2012-07-22
|
* vf_select: avoid an unnecessary avfilter_ref_buffer().Anton Khirnov2012-07-22
|
* buffersrc: avoid creating unnecessary buffer referenceAnton Khirnov2012-07-22
|
* lavfi: use avfilter_unref_bufferp() where appropriate.Anton Khirnov2012-07-22
|
* vf_fps: add more error checks.Anton Khirnov2012-07-22
|
* vf_fps: fix a memleak on malloc failure.Anton Khirnov2012-07-22
|
* lavfi: check all ff_start_frame/draw_slice/end_frame calls for errorsAnton Khirnov2012-07-22
|
* lavfi: add error handling to end_frame().Anton Khirnov2012-07-22
|
* lavfi: add error handling to draw_slice().Anton Khirnov2012-07-22
|
* lavfi: add error handling to start_frame().Anton Khirnov2012-07-22
|
* yadif: use emms_c() instead of inline assembly for emms invocations.Ronald S. Bultje2012-07-21
|
* lavfi: use const for AVFilterPad declarations in all filters.Ronald S. Bultje2012-07-21
|
* lavfi: unref AVFilterLink.out_buf in ff_end_frame().Anton Khirnov2012-07-20
| | | | | This reduces code duplication and prevents stale pointers from remaining on the link.
* lavfi: unref AVFilterLink.cur_buf in ff_end_frame().Anton Khirnov2012-07-20
| | | | | This reduces code duplication and prevents stale pointers from remaining on the link.
* vsrc_testsrc: avoid an unnecessary avfilter_ref_buffer().Anton Khirnov2012-07-20
|
* vf_slicify: clear AVFilterLink.cur_buf in start_frame().Anton Khirnov2012-07-20
| | | | | The buffer is passed on to the next filter, so we shouldn't keep any pointers to it.
* vf_settb: simplify start_frame().Anton Khirnov2012-07-20
| | | | | Avoid pointless filter ref/unref. Just use the reference passed to start_frame().
* vf_fieldorder: don't give up its own reference to the output buffer.Anton Khirnov2012-07-20
|
* vf_pad: don't give up its own reference to the output buffer.Anton Khirnov2012-07-20
|
* vf_overlay: don't access a buffer reference that's been given away.Anton Khirnov2012-07-20
|
* vf_drawtext: don't give up its own reference to the input buffer.Anton Khirnov2012-07-20
| | | | | | Directly forwarding the input buffer to the next filter means that drawtext no longer owns any references to it and thus shouldn't refer to it in any way.
* vf_gradfun: don't store two pointers to one AVFilterBufferRef.Anton Khirnov2012-07-20
|
* vf_delogo: don't store two pointers to one AVFilterBufferRef.Anton Khirnov2012-07-20
|