Port of af_volume from FFmpeg, plus improvements and x86 optimization.
Justin Ruggles (8):
af_volume: convert input/ouput list compound literals to named
objects
af_volume: add an option to use a certain precision in the volume
scaling
af_volume: support planar sample formats
af_volume: limit maximum scale based on the sample format.
af_volume: optimize float scaling using
AVFloatDSPContext.vector_fmul_scalar()
x86: af_volume: add SSE4-optimized s16 volume scaling
float_dsp: add vector_dmul_scalar() to multiply a vector of doubles
x86: af_volume: add SSSE3/SSE4/AVX-optimized s32 volume scaling
Stefano Sabatini (1):
lavfi: add volume filter
Changelog | 1 +
doc/filters.texi | 75 ++++++++
libavfilter/Makefile | 1 +
libavfilter/af_volume.c | 359 ++++++++++++++++++++++++++++++++++++++
libavfilter/af_volume.h | 52 ++++++
libavfilter/allfilters.c | 1 +
libavfilter/version.h | 2 +-
libavfilter/x86/Makefile | 2 +
libavfilter/x86/af_volume.asm | 131 ++++++++++++++
libavfilter/x86/af_volume_init.c | 58 ++++++
libavutil/float_dsp.c | 9 +
libavutil/float_dsp.h | 15 ++
libavutil/x86/float_dsp.asm | 40 +++++
libavutil/x86/float_dsp_init.c | 7 +
14 files changed, 752 insertions(+), 1 deletions(-)
create mode 100644 libavfilter/af_volume.c
create mode 100644 libavfilter/af_volume.h
create mode 100644 libavfilter/x86/af_volume.asm
create mode 100644 libavfilter/x86/af_volume_init.c
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel