summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* lavfi: convert input/ouput list compound literals to named objectsMans Rullgard2012-10-10
| | | | | | | A number of compilers, for example those from TI and IBM, choke on these initialisers. The current style is also quite ugly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avfilter: correct memcpy size avfilter_copy_buf_props()Janne Grunau2012-10-09
| | | | | Does not make a difference in this case since sizeof(uint8_t*) == sizeof(uint8_t**). Fixes CID703814.
* af_resample: unref out_buf when avresample_convert returns 0Janne Grunau2012-10-09
| | | | Fixes CID732273.
* af_amix: prevent memory leak on error pathJanne Grunau2012-10-09
| | | | Fixes CID732272.
* af_channelmap: free old extended_data on reallocationJanne Grunau2012-10-09
| | | | | Prevents writes to freed memory and the leak of the old extended data. Fixes CID732303.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* af_resample: avoid conversion of identical sample formats for 1 channelJustin Ruggles2012-10-07
| | | | | When there is only 1 channel, the planar and interleaved formats of the same data type should be treated as identical.
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* vf_pad/scale: use double precision for aspect ratios.Anton Khirnov2012-10-06
| | | | | | Fixes Bug 203. CC:libav-stable@libav.org
* lavr: change the type of the data buffers to uint8_t**.Anton Khirnov2012-10-05
| | | | | | This is more consistent with what the rest of Libav does. This breaks API.
* vf_overlay: properly sync inputs.Anton Khirnov2012-10-04
| | | | | Right now it incorrectly assumes that the frames are sent in the proper order, which worked with old ffmpeg and avconv versions by accident.
* vf_overlay: get rid of pointless messing with timebase.Anton Khirnov2012-10-04
| | | | | Output frames correspond 1:1 to input frames on the main input. So use the main input timebase for output.
* Use avcodec_free_frame() to free AVFrames.Anton Khirnov2012-09-24
|
* avfiltergraph: silence an uninitialized variable warningAnton Khirnov2012-09-17
| | | | | | | | | | The warning is: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized] libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here Initialize it to an invalid value and add an assert that it's properly set later.
* buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()Anton Khirnov2012-09-17
|
* lavfi: replace empty input/output lists with null pointersMans Rullgard2012-09-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* yadif: cosmeticsLuca Barbato2012-09-09
|
* af_asyncts: check return value from lavr when flushing.Anton Khirnov2012-09-07
| | | | | Fixes an infinite loop on flush when avresample_get_delay() still reports some samples but avresample_convert() doesn't return any data.
* avopt: Explicitly store rational option defaults in .dblMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Explicitly store float/double option defaults in .dblMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Rename missed cases of FF_OPT_TYPE_* to AV_OPT_TYPE_*Martin Storsjö2012-08-31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Split inline and external assembly #ifdefsDiego Biurrun2012-08-31
|
* avfilter: x86: Use more precise compile template namesDiego Biurrun2012-08-30
|
* vf_hqdn3d: Remove a duplicate inline declarationMartin Storsjö2012-08-27
| | | | | | | Compilation seems to fail on GCC 3.4 due to this duplicate declaration. Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_hqdn3d: Don't declare the loop variable within the for loopMartin Storsjö2012-08-27
| | | | | | | | This C99 feature is generally not used in the libav codebase, since it breaks building with some fringe compilers (GCC 2.95, MSVC). Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_hqdn3d: x86 asmLoren Merritt2012-08-26
| | | | | 13% faster on penryn, 16% on sandybridge, 15% on bulldozer Not simd; a compiler should have generated this, but gcc didn't.
* vf_hqdn3d: support 16bit colordepthLoren Merritt2012-08-26
|
* AVOptions: store defaults for INT64 options in int64 union member.Anton Khirnov2012-08-24
| | | | | Double does not have enough precision to represent all int64 numbers exactly.
* 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
|