X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fplanrpcx.c;h=ce44cb4d53d01e032fa82efa254c15399fcc3a67;hb=465a28bde642141b8221a5217373e5f7c844e6c6;hp=408b089aad56b58e11bc1a3839636dbff271b2dd;hpb=b85e69ad19bcc1ef45494d60b2ffd47fc2eeb4a3;p=16.git diff --git a/src/planrpcx.c b/src/planrpcx.c index 408b089a..ce44cb4d 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -86,7 +86,7 @@ baka = 1; } t1 = (*clockw-start) /18.2; for(i=0; i<100 ;i++) { - modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, 0, 0, p.width, p.height, &p); + modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, p.width-(p.width/4), p.height-(p.height/4), p.width/4, p.height/4, &p); } t2 = (*clockw-start) /18.2; getch(); @@ -152,9 +152,9 @@ getch(); fprintf(stderr,"%d\n", sizeof(p)); fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p.width), gvar.video.page[0].sh-(p.height)); free(bakapeee); - fprintf(stderr, "modexDrawBmpPBuf: %f\n", t1); - fprintf(stderr, "modexDrawPBuf: %f\n", t3); - fprintf(stderr, "speed difference %f\n", t3/t1); + fprintf(stderr, "modexDrawBmpPBufRegion: %f\n", t2); + fprintf(stderr, "modexDrawPBufRegion: %f\n", t4); + fprintf(stderr, "speed difference %f\n", t2/t4); //fprintf(stderr, "gvar.video.page[0].width: %u\n", gvar.video.page[0].width); //fprintf(stderr, "gvar.video.page[0].height: %u\n", gvar.video.page[0].height); }