summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* vf_crop: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* vf_boxblur: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* vf_blackframe: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* vf_aspect: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* vf_(no)format: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* af_aformat: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* buffersrc: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* af_resample: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* lavfi: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* avfiltergraph: set deprecated filter_count.Anton Khirnov2013-04-04
|
* avfiltergraph: check for sws opts being non-NULL before using them.Anton Khirnov2013-04-03
| | | | | | Avoid snprintfing a NULL pointer. CC: libav-stable@libav.org
* lavfi/gradfun: remove rounding to match C and SSE code.Clément Bœsch2013-03-28
| | | | | | There is no noticable benefit for such precision. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi/gradfun: fix dithering in MMX code.Clément Bœsch2013-03-28
| | | | | | Current dithering only uses the first 4 instead of the whole 8 random values. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi/gradfun: fix rounding in MMX code.Clément Bœsch2013-03-28
| | | | | | | | | | | | | | | Current code divides before increasing precision. Also reduce upper bound for strength from 255 to 64. This will prevent an overflow in the SSSE3 and MMX filter_line code: delta is expressed as an u16 being shifted by 2 to the left. If it overflows, having a strength not above 64 will make sure that m is set to 0 (making the m*m*delta >> 14 expression void). A value above 64 should not make any sense unless gradfun is used as a blur filter. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi/gradfun: do not increment DC pointer for odd values.Clément Bœsch2013-03-28
| | | | | | | First DC is only used once otherwise. This also makes the code consistent with ASM versions. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* af_asyncts: fix compensation and PTS monotonicityJindřich Makovička2013-03-22
| | | | | | | | | | | | | | | | | | | | | | | | This patch improves af_asyncts behavior on streams with bogus PTS, which are either non-monotonic, or contain PTS jitter, and trigger the non-monotonicity error. With this patch, af_asyncts is able to correct these streams and avoid the error. Firstly, it fixes resample compensation calculation by supplying proper units to avresample_set_compensation (sample count per second instead of sample count per some arbitrary frame size). Also, the calculation of the compensation itself is fixed - delta is proportional to an adjustment of the compensation, not the compensation itself. Ideally, the compensation should converge to a value that keeps delta at zero. To be able to deal with sources with PTS jitter even without resampling, small PTS errors are adjusted, so the output frames do not overlap. Finally, one more monotonicity check is added. The FATE reference changes because now there is 8 less samples of silence because of the pts jitter. Signed-off-by: Jindřich Makovička <makovick@gmail.com>
* buffersrc: fix a typo.Anton Khirnov2013-03-19
| | | | Vertical shift is log2_chroma_h, not log2_chroma_w.
* lavc, lavfi: fix counting number of planes in AVBufferRef wrappersAnton Khirnov2013-03-19
| | | | | | Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes.
* lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappersAnton Khirnov2013-03-17
| | | | | It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug.
* af_join: do not leak input frames.Anton Khirnov2013-03-16
|
* asrc_anullsrc: return EOF, not -1Anton Khirnov2013-03-16
|
* asrc_anullsrc: do not set samplerate and channel layout explicitlyAnton Khirnov2013-03-16
| | | | They are auto-negotiated.
* vf_showinfo: remove its useless init functionAnton Khirnov2013-03-16
| | | | | Filter private data is memset to 0 so there is no point in explicitly initing anything to 0.
* avfiltergraph: use sizeof(var) instead of sizeof(type)Anton Khirnov2013-03-16
|
* avfiltergraph: replace AVFilterGraph.filter_count with nb_filtersAnton Khirnov2013-03-16
| | | | This is more consistent with the naming in the rest of Libav.
* lavfi: use designated initializers in avfilter_classAnton Khirnov2013-03-16
|
* hqdn3d: Fix out of array read in LOWPASSLoren Merritt2013-03-13
| | | | | CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_hqdn3d: fix uninitialized variable useAnton Khirnov2013-03-11
| | | | CC:libav-stable@libav.org
* vf_gradfun: fix uninitialized variable useAnton Khirnov2013-03-11
| | | | CC:libav-stable@libav.org
* vf_pad: fix a & instead of && typoXi Wang2013-03-10
| | | | | | | Avoid buffer overflow in buffer_needs_copy() Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace remaining includes of audioconvert.h with channel_layout.hAnton Khirnov2013-03-08
|
* Add the bumps and APIchanges entries for reference counted buffers changes.Anton Khirnov2013-03-08
|
* lavfi: switch to AVFrame.Anton Khirnov2013-03-08
| | | | | Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it and use AVFrame instead.
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: connect libavresample options to af_resample via AVFilterGraphJustin Ruggles2013-02-23
|
* vf_yadif: fix out-of line readsAnton Khirnov2013-02-15
| | | | Some changes in the border pixels, visually indistinguishable.
* vf_yadif: factorize initializing the filtering callbacksAnton Khirnov2013-02-15
| | | | Do it all in config_props().
* vf_yadif: silence a warning.Anton Khirnov2013-02-06
| | | | | | | clang says: libavfilter/vf_yadif.c:192:28: warning: incompatible pointer types assigning to 'void (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int)' from 'void (uint16_t *, uint16_t *, uint16_t *, uint16_t *, int, int, int, int, int)'
* avfilter: x86: consistent filenames for filter optimizationsDiego Biurrun2013-02-04
|
* vf_hqdn3d: x86: Add proper arch optimization initializationDiego Biurrun2013-02-01
|
* vf_delogo: fix copying the input frame.Anton Khirnov2013-01-29
| | | | CC:libav-stable@libav.org
* vf_delogo: fix an uninitialized read.Anton Khirnov2013-01-29
| | | | CC:libav-stable@libav.org
* avfilter: allow setpts filter to use wallclock time for calculationsVladimir Pantelic2013-01-25
| | | | | Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_fps: add final flushed frames to the dropped frame countJustin Ruggles2013-01-15
|
* yadif: x86: fix build for compilers without aligned stackDaniel Kang2013-01-14
| | | | | | | Manually load registers to avoid using 8 registers on x86_32 with compilers that do not align the stack (e.g. MSVC). Signed-off-by: Diego Biurrun <diego@biurrun.de>
* yadif: Port inline assembly to yasmDaniel Kang2013-01-09
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Drop unnecessary 'l' length modifier when printfing double values.Diego Biurrun2012-12-31
| | | | | %f denotes a double argument and 'l' does nothing in this case according to the C spec.
* cosmetics: Prettyprint codec/format/filter registration filesDiego Biurrun2012-12-28
|
* avfilter: Refactor unconditional filter registrationDiego Biurrun2012-12-28
|
* avfilter: Compile FIFO filters unconditionallyDiego Biurrun2012-12-23
| | | | Building libavfilter without that functionality makes little sense.