[FFmpeg-devel] [PATCH] dsp optimized float 2 int conversion for wma decoder
Benjamin Larsson
banan
Mon Sep 3 23:05:00 CEST 2007
Old code:
3067536 dezicycles in float to int16, 127 runs, 1 skips
3086121 dezicycles in float to int16, 254 runs, 2 skips
3062931 dezicycles in float to int16, 509 runs, 3 skips
3022620 dezicycles in float to int16, 1019 runs, 5 skips
2997724 dezicycles in float to int16, 2041 runs, 7 skips
New code:
2651584 dezicycles in simd to int16, 127 runs, 1 skips
2668336 dezicycles in simd to int16, 254 runs, 2 skips
2672938 dezicycles in simd to int16, 509 runs, 3 skips
2677962 dezicycles in simd to int16, 1020 runs, 4 skips
2672280 dezicycles in simd to int16, 2041 runs, 7 skips
Benchmarked from wma_decode_frame start to end.
Didn't test/benchmark in float mode, will do that if patch is ok.
MvH
Benjamin Larsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simd_float_2_int.diff
Type: text/x-patch
Size: 3516 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070903/9eb72e70/attachment.bin>
More information about the ffmpeg-devel
mailing list