ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asm

Multimedia / Libav - Justin Ruggles [gmail.com] - 30 September 2016 17:46 UTC

Adds a wrapper function for downmixing which detects channel count changes and updates the selected downmix function accordingly.

Simplification and porting to current x86inc infrastructure by Diego Biurrun.

b57e38f ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asm
libavcodec/ac3dec.c | 8 +-
libavcodec/ac3dsp.c | 112 ++++++++++++++--------
libavcodec/ac3dsp.h | 9 +-
libavcodec/x86/Makefile | 3 +-
libavcodec/x86/ac3dsp_downmix.asm | 187 +++++++++++++++++++++++++++++++++++++
libavcodec/x86/ac3dsp_init.c | 174 ++++++++--------------------------
6 files changed, 316 insertions(+), 177 deletions(-)

Upstream: git.libav.org


  • Share