summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* avfilter/avf_showspectrum: use FF_ARRAY_ELEMS()Paul B Mahol2015-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* x86/vf_stereo3d: make ff_anaglyph_sse4 work on x86_32James Almer2015-12-28
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/vf_stereo3d: optimize register usageJames Almer2015-12-28
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/avf_showspectrum: make colors for log scale more user friendlyPaul B Mahol2015-12-28
| | | | | | | | | Previosly output was almost useless because background noise, due to windowing function picked and which is not actually present in audio, had too much brightness. Now output of sine wave matches more with SoX. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: use ff_generate_window_funcPaul B Mahol2015-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: move window function generation into separate filePaul B Mahol2015-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_showspectrum: add rscroll sliding modePaul B Mahol2015-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_silenceremove: make size of window user configurablePaul B Mahol2015-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_silenceremove: lower number of operations in for loopPaul B Mahol2015-12-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_silenceremove: add peak detectorPaul B Mahol2015-12-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/avf_showspectrum: replace rint by lrintGanesh Ajjanagadde2015-12-26
| | | | | | avoids float to int cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_hue: replace rint by lrintGanesh Ajjanagadde2015-12-26
| | | | | | | avoids float to int cast. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_compand: replace pow(10,x) by ff_exp10(x)Ganesh Ajjanagadde2015-12-25
| | | | Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_volume: replace pow(10,x) by ff_exp10(x)Ganesh Ajjanagadde2015-12-25
| | | | Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/f_ebur128: replace pow(10,x) by ff_exp10(x)Ganesh Ajjanagadde2015-12-25
| | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)Ganesh Ajjanagadde2015-12-25
| | | | Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/af_anequalizer: make cliping filter type actually usefulPaul B Mahol2015-12-25
| | | | | | Previously result was ignored. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_anequalizer: use pow instead of exp10Paul B Mahol2015-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add high-order parametric multiband equalizer filterPaul B Mahol2015-12-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: make virtual speaker positioning supports all channel ↵Paul B Mahol2015-12-24
| | | | | | layouts Signed-off-by: Paul B Mahol <onemda@gmail.com>
* x86/vf_blend: add sse2 versions of blend_difference and blend_negationJames Almer2015-12-24
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/vf_blend: make all functions work on x86_32James Almer2015-12-24
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/vf_blend: simplify using macrosJames Almer2015-12-24
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/vf_maskedmerge: make ff_maskedmerge8_sse2 work on x86_32James Almer2015-12-24
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/x86/vf_maskedmerge: Clear upper part of widthMichael Niedermayer2015-12-23
| | | | | | | Fixes crash Fixes: Ticket5055 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_biquads: display clipping warnings once per filtered framePaul B Mahol2015-12-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/af_aemphasis: remove unnecessary complex number usageGanesh Ajjanagadde2015-12-23
| | | | | | | | | | | | | complex is not available on all platforms. Furthermore, it is trivial to rewrite complex number expressions to real arithmetic, and in fact sometimes advantageous for performance reasons: by wrapping as a complex, one forces a particular Cartesian representation that is not necessarily optimal for the purpose. Configure dependencies also removed, and aemphasis is now available across all platforms. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi: make request_frame() non-recursive.Nicolas George2015-12-22
| | | | | | | Instead of calling the input filter request_frame() method, ff_request_frame() now marks the link and returns immediately. buffersink is changed to activate the marked filters until a frame is obtained.
* lavfi: replace link.closed by link.status.Nicolas George2015-12-22
| | | | | | The status field can carry any error code instead of just EOF. Also only update it through a wrapper function and provide a timestamp. Update the few filters that used it directly.
* lavfi: deprecate avfilter_link_set_closed().Nicolas George2015-12-22
| | | | | | | Applications are not supposed to mess with links, they should close the sinks. Furthermore, this function does not distinguish what end of the link caused the close and does not have a timestamp.
* lavfi: add link.current_pts field.Nicolas George2015-12-22
|
* lavfi: rename link.current_pts to current_pts_us.Nicolas George2015-12-22
| | | | | | | This field is used for fast comparison between link ages, it is in AV_TIME_BASE units, in other words microseconds, µs =~ us. Renaming it allows a second field in link time base units.
* lavfi/vf_mpdecimate: remove request_frame().Nicolas George2015-12-22
| | | | It is no longer needed since looping is not necessary.
* lavfi/vf_histogram: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | lrint is at least as fast, uses a superior rounding mode, and avoids an implicit cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/af_dynaudnorm: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | lrint is at least as fast, uses a superior rounding mode, and avoids an implicit cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_crop: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | lrint is at least as fast, avoids an implicit cast, and uses a superior rounding mode. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_drawtext: replace round by llrintGanesh Ajjanagadde2015-12-21
| | | | | | llrint is at least as fast, and avoids an implicit cast. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_colorlevels: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | lrint avoids an implicit cast, and is not slower on non-broken libm's. Thus this represents a Pareto improvement. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_colorchannelmixer: replace round by lrintGanesh Ajjanagadde2015-12-21
| | | | | | | | | | | | | lrint is faster here on -ftree-vectorize with GCC. This is likely simply an artifact of GCC's rather terrible auto-vectorizer, since as per the instruction set manuals cvtsd2si and cvttsd2si (or their vector equivalents) have identical cycle timings. Anyway, regardless of above, lrint is superior to round accuracy wise. Safety guaranteed as long int has at least 32 bits. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/drawtext: fix shadow[xy] descriptionsClément Bœsch2015-12-21
|
* lavfi/drawtext: hide first font load warning when fontconfig is presentClément Bœsch2015-12-21
|
* lavfi/drawtext: fix crash when no text, file or timecode providedClément Bœsch2015-12-21
|
* avfilter/af_ladspa: fix av_assert0()Paul B Mahol2015-12-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/scale: add nb_slices debug optionClément Bœsch2015-12-21
|
* avfilter/avf_showfreqs: make it possible to split channelsPaul B Mahol2015-12-20
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dynaudnorm: use av_malloc_array()Paul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_stereo3d: add interleave columns input supportPaul B Mahol2015-12-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/vsrc_mandelbrot: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | lrint is at least as fast, and is more accurate. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_cropdetect: replace round by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | lrint is at least as fast, and more accurate. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi/vf_idet: replace round and cast by lrintGanesh Ajjanagadde2015-12-19
| | | | | | | | lrint is faster and conveys the intent better here. It is safe as long int has at least 32 bits. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>