OSDN Git Service

dcadsp: add int8x8_fmul_int32 to dsp context
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Fri, 11 May 2012 09:17:36 +0000 (11:17 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 7 Feb 2014 21:51:59 +0000 (22:51 +0100)
commit2bd44cb705340c4f7bd7e459a1efed5074bf45fc
tree6b628e195347f7ac49f71e2882cd57a1a5c1fed4
parente3fec3f095ab5ea08ee662942d98526aaf5e3635
dcadsp: add int8x8_fmul_int32 to dsp context

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

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/arm/dca.h
libavcodec/dcadec.c
libavcodec/dcadsp.c
libavcodec/dcadsp.h