[Ffmpeg-devel] WMA decoder speedup

Ian Braithwaite ian
Thu Mar 22 22:56:21 CET 2007


Hi,


I've been looking at the WMA decoder, and came across:

/* XXX: optimize all that by build the window and
   multipying/adding at the same time */

/* XXX: suppress this */
   memset(...

so I gave it a shot.


On my test clip, I measure a speedup of about 13%, which is way
more than I was expecting!

 wma.c    |    2 -
 wma.h    |    1
 wmadec.c |  113 +++++++++++++++++++++++++++++++--------------------------------
 wmaenc.c |    4 +-
 4 files changed, 60 insertions(+), 60 deletions(-)


Regards,
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window.patch
Type: text/x-patch
Size: 6959 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070322/1ac8d775/attachment.bin>



More information about the ffmpeg-devel mailing list