[FFmpeg-devel] [PATCH 3/3] ac3enc: add SIMD-optimized shifting functions for use with the fixed-point AC3 encoder

Justin Ruggles justin.ruggles
Tue Mar 8 19:18:57 CET 2011


---
Benchmarks

ac3_lshift_int16():

Athlon64 x86-64:
   C: 12167
 MMX:  1782
SSE2:  2252

Atom 330 x86-64:
   C: 37077
 MMX:  6830
SSE2:  4299

ac3_shift_int32():

Athlon64 x86-64:
   C: 6269
 MMX: 2595
SSE2: 2890

Atom 330 x86-64:
   C: 11421
 MMX:  9088
SSE2:  5520

 libavcodec/ac3dsp.c         |   26 +++++++++++++++
 libavcodec/ac3dsp.h         |   22 +++++++++++++
 libavcodec/ac3enc_fixed.c   |   44 ++------------------------
 libavcodec/x86/ac3dsp.asm   |   74 +++++++++++++++++++++++++++++++++++++++++++
 libavcodec/x86/ac3dsp_mmx.c |   13 +++++++
 5 files changed, 138 insertions(+), 41 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ac3enc-add-SIMD-optimized-shifting-functions-for-use.patch
Type: text/x-patch
Size: 8528 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110308/bc96b214/attachment.bin>



More information about the ffmpeg-devel mailing list