pike.git / src / modules / Image / layers.c

version» Context lines:

pike.git/src/modules/Image/layers.c:1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.34 1999/08/11 22:13:30 hubbe Exp $ + **! $Id: layers.c,v 1.35 1999/08/12 00:08:55 per Exp $   **! class Layer   **! see also: layers   **!      **!   **!   **! <add_appendix name="layers" title="Image.Layer modes"><execute>   **! import Image;   **!   **! void write_image(string desc,
pike.git/src/modules/Image/layers.c:196:   **! }   **!   **! </execute>   **! </add_appendix>   */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.34 1999/08/11 22:13:30 hubbe Exp $"); + RCSID("$Id: layers.c,v 1.35 1999/08/12 00:08:55 per Exp $");      #include "image_machine.h"      #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "array.h"
pike.git/src/modules/Image/layers.c:1463: Inside #if defined(TRY_USE_MMX)
   paddusb_m2r(*sourcel, mm0);    sourcel+=8;    paddusb_m2r(*sourcel, mm1);    sourcel+=8;    movq_r2m(mm0,*dest);    dest+=8;    movq_r2m(mm1,*dest);    dest+=8;    num-=16;    } +  if (num > 8) +  { +  movq_m2r(*source, mm0); +  source+=8; +  paddusb_m2r(*sourcel, mm0); +  sourcel+=8; +  movq_r2m(mm0,*dest); +  dest+=8; +  num-=8; +  }    emms();    while (num-->0)    {    *dest=L_TRUNC(L_OPER(*source,*sourcel));    source++;    sourcel++;    dest++;    }    }    else