Commit a8bcc7b4 authored by Ramiro Polla's avatar Ramiro Polla

Document the differences between the two asm fragments in initMMX2HScaler().

Originally committed as revision 29978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 445a9dee
...@@ -1697,6 +1697,12 @@ static int initMMX2HScaler(int dstW, int xInc, uint8_t *filterCode, int16_t *fil ...@@ -1697,6 +1697,12 @@ static int initMMX2HScaler(int dstW, int xInc, uint8_t *filterCode, int16_t *fil
int xpos, i; int xpos, i;
// create an optimized horizontal scaling routine // 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 //code fragment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment