[FFmpeg-devel] [PATCH 01/11] dcadsp: add int8x8_fmul_int32 to dsp context

Michael Niedermayer michaelni at gmx.at
Sat Feb 8 01:03:46 CET 2014


On Fri, Feb 07, 2014 at 10:36:49PM +0100, Christophe Gisquet wrote:
> Here's a cleaner version.
> 
> -- 
> Christophe

>  arm/dca.h |    3 ++-
>  dcadec.c  |   10 ++++------
>  dcadsp.c  |    9 +++++++++
>  dcadsp.h  |    1 +
>  4 files changed, 16 insertions(+), 7 deletions(-)
> 3e07bb9217ca64316af963cf70c8d4ade790a8fc  0001-dcadsp-add-int8x8_fmul_int32-to-DSP-context.patch
> From 45e728ad4eeceac8f5fbfefb0386361906467d81 Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Fri, 11 May 2012 11:17:36 +0200
> Subject: [PATCH 01/10] 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
> ---
>  libavcodec/arm/dca.h |  3 ++-
>  libavcodec/dcadec.c  | 10 ++++------
>  libavcodec/dcadsp.c  |  9 +++++++++
>  libavcodec/dcadsp.h  |  1 +
>  4 files changed, 16 insertions(+), 7 deletions(-)

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140208/bd02b9b8/attachment.asc>


More information about the ffmpeg-devel mailing list