[FFmpeg-devel] [PATCH] yadif: restore speed of the C filtering code
Michael Niedermayer
michaelni at gmx.at
Wed Mar 13 22:13:13 CET 2013
On Sun, Mar 10, 2013 at 03:08:50PM +0100, James Darnley wrote:
> Always use the special filter for the first and last 3 columns (only).
>
> Changes made in 64ed397 slowed the filter to just under 3/4 of what it
> was. This commit restores the speed while maintaining identical output.
>
> For reference, on my Athlon64:
> 1733222 decicycles in old
> 2358563 decicycles in new
> 1727558 decicycles in this
> ---
> libavfilter/vf_yadif.c | 70 ++++++++++++++++++--------------------
> libavfilter/x86/vf_yadif_init.c | 12 ++-----
> libavfilter/yadif.h | 4 +--
> 3 files changed, 37 insertions(+), 49 deletions(-)
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130313/61671076/attachment.asc>
More information about the ffmpeg-devel
mailing list