1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-07 14:24:14 +01:00

asm optimization for 8bpp (no mmx)

This commit is contained in:
kojima
2000-01-21 21:04:20 +00:00
parent 34cd5125e3
commit 58ca0c2824
5 changed files with 279 additions and 115 deletions

View File

@@ -49,10 +49,13 @@ int main(int argc, char **argv)
img = RScaleImage(img, img->width*atof(argv[2]),
img->height*atof(argv[2]));
}
{int i;
for (i=0; i<10;i++)
if (!RConvertImage(ctx, img, &pix)) {
puts(RMessageForError(RErrorCode));
exit(1);
}
}
printf("%ix%i\n", img->width, img->height);