# HG changeset patch # User ramiro # Date 1260157975 0 # Node ID f43f03c00402823140e29e99183162c8f8f97a7e # Parent 4eb0a863bb38c87125e6d50f0b4d673719165be2 Document the differences between the two asm fragments in initMMX2HScaler(). diff -r 4eb0a863bb38 -r f43f03c00402 libswscale/swscale.c --- a/libswscale/swscale.c Sun Dec 06 22:01:25 2009 +0000 +++ b/libswscale/swscale.c Mon Dec 07 03:52:55 2009 +0000 @@ -1697,6 +1697,12 @@ int xpos, i; // create an optimized horizontal scaling routine + /* This scaler is made of runtime-generated MMX2 code using specially + * tuned pshufw instructions. For every four output pixels, if four + * input pixels are enough for the fast bilinear scaling, then a chunk + * of fragmentB is used. If five input pixels are needed, then a chunk + * of fragmentA is used. + */ //code fragment