~ubuntu-branches/debian/experimental/pygame/experimental

« back to all changes in this revision

Viewing changes to src/scale_mmx64.c

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng, Vincent Cheng, Jakub Wilk
  • Date: 2014-02-19 01:41:42 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20140219014142-ab2ar7sw7yoisv7x
Tags: 1.9.2~pre~r3348-1
[ Vincent Cheng ]
* Set Debian Python Modules Team <python-modules-team@l.a.d.o> as new
  maintainer, and move Ed Boraas into Uploaders with his consent.
  - Update Vcs-* fields accordingly.
* Replace dependency ttf-freefont -> fonts-freefont-ttf. (Closes: #738244)
* Replace build-dep on python3.2 (>= 3.2.3-7) with build-conflicts instead.
* Remove dependency on ${python:Provides}.
* Remove Replaces+Conflicts with obsolete pygame packages.
* Update Standards version to 3.9.5.
* Update my email address.

[ Jakub Wilk ]
* Run tests only if DEB_BUILD_OPTIONS=nocheck is not set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
  pygame - Python Game Library
3
3
  Copyright (C) 2000-2001  Pete Shinners
4
 
  Copyright (C) 2007  Rene Dudfield, Richard Goedeken 
 
4
  Copyright (C) 2007  Rene Dudfield, Richard Goedeken
5
5
 
6
6
  This library is free software; you can redistribute it and/or
7
7
  modify it under the terms of the GNU Library General Public
291
291
        " jne              1b;                       "
292
292
        " emms;                                      "
293
293
        : "+r"(srcpix), "+r"(dstpix)    /* outputs */
294
 
        : "m"(templine),"m"(srcheight), "m"(width),     "m"(yspace),  
 
294
        : "m"(templine),"m"(srcheight), "m"(width),     "m"(yspace),
295
295
          "m"(yrecip),  "m"(srcdiff64), "m"(dstdiff64), "m"(One64)  /* input */
296
296
        : "%ecx","%edx","%rax"          /* clobbered */
297
297
        );
371
371
        " jne              1b;                       "
372
372
        " emms;                                      "
373
373
        : "+r"(srcpix), "+r"(dstpix)    /* outputs */
374
 
        : "m"(templine),"m"(srcheight), "m"(width),     "m"(yspace),  
 
374
        : "m"(templine),"m"(srcheight), "m"(width),     "m"(yspace),
375
375
          "m"(yrecip),  "m"(srcdiff64), "m"(dstdiff64), "m"(One64)  /* input */
376
376
        : "%ecx","%edx","%rax"          /* clobbered */
377
377
        );
419
419
        Uint8 *srcrow0 = srcpix + y * srcpitch;
420
420
        Uint8 *dstrow = dstpix + y * dstpitch;
421
421
        int *xm0 = xmult0;
422
 
                int *xm1 = xmult1;
 
422
        int *xm1 = xmult1;
423
423
        int *x0 = xidx0;
424
424
        asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ "
425
425
             " movl             %5,      %%ecx;           "
494
494
        Uint8 *srcrow0 = srcpix + y * srcpitch;
495
495
        Uint8 *dstrow = dstpix + y * dstpitch;
496
496
        int *xm0 = xmult0;
497
 
                int *xm1 = xmult1;
 
497
        int *xm1 = xmult1;
498
498
        int *x0 = xidx0;
499
499
        asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ "
500
500
             " movl             %5,      %%ecx;           "