[Ffmpeg-devel] WMA decoder speedup

Michael Niedermayer michaelni
Thu Mar 22 23:58:58 CET 2007


Hi

On Thu, Mar 22, 2007 at 10:56:21PM +0100, Ian Braithwaite wrote:
> 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(-)

if regression tests pass and a few random wma files decode correctly
then this is ok


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070322/b7d3817f/attachment.pgp>



More information about the ffmpeg-devel mailing list