dcadsp: add int8x8_fmul_int32 to dsp context

Multimedia / Libav - Christophe Gisquet [gmail.com] - 7 February 2014 15:51 UTC

It is currently declared as a macro who is set to inlinable functions, among which a Neon and a default C implementations.

Add a DSP parameter to each inline function, unused except by the default C implementation which calls a function from the DSP context.

On an Arrandale CPU, gain for an inlined SSE2 function vs. a call:- Win32: 29 to 26 cycles- Win64: 25 to 23 cycles

2bd44cb dcadsp: add int8x8_fmul_int32 to dsp context
libavcodec/arm/dca.h | 3 ++-
libavcodec/dcadec.c | 10 ++++------
libavcodec/dcadsp.c | 9 +++++++++
libavcodec/dcadsp.h | 1 +
4 files changed, 16 insertions(+), 7 deletions(-)

Upstream: git.libav.org


  • Share