[FFmpeg-devel] [PATCH] Add x86-optimized versions of lshift_tab().

Justin Ruggles justin.ruggles
Sat Feb 12 03:00:25 CET 2011


New function name AC3DSPContext.ac3_lshift_int16().
---
Athlon64:
   C: 12165
 MMX:  1811
SSE2:  2272

Atom:
   C: 37098
 MMX:  7394
SSE2:  4355

This patch requires the ac3_or_abs_int16() patch before it in order
to apply cleanly. If this one is ok'ed first I'll send a new patch.

 libavcodec/ac3dsp.c         |   11 ++++++++++
 libavcodec/ac3dsp.h         |   11 ++++++++++
 libavcodec/ac3enc_fixed.c   |   19 +-----------------
 libavcodec/x86/ac3dsp.asm   |   44 +++++++++++++++++++++++++++++++++++++++++++
 libavcodec/x86/ac3dsp_mmx.c |    5 ++++
 5 files changed, 72 insertions(+), 18 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-x86-optimized-versions-of-lshift_tab.patch
Type: text/x-patch
Size: 5647 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110211/297ebedb/attachment.bin>



More information about the ffmpeg-devel mailing list