[FFmpeg-devel] [PATCH] iirfilter: Use local variables for state in loop for FILTER_O2().
Justin Ruggles
justin.ruggles
Sun Jan 30 19:14:58 CET 2011
4% faster 2nd order ff_iir_filter_flt().
---
libavcodec/iirfilter.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
I tried most of yesterday and this morning trying to make an asm
version of the float biquad filter, but nothing I came up with was
faster than what gcc did with the C version. I did, however manage
to speed up the C version by about 4% by adding local variables
inside the inner loop for the 2 states.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iirfilter-Use-local-variables-for-state-in-loop-for-.patch
Type: text/x-patch
Size: 1662 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110130/82435805/attachment.bin>
More information about the ffmpeg-devel
mailing list