changeset 29936:f43f03c00402

Document the differences between the two asm fragments in initMMX2HScaler().
author ramiro
date Mon, 07 Dec 2009 03:52:55 +0000
parents 4eb0a863bb38
children d654021c9652
files libswscale/swscale.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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