comparison libvo/vo_svga.c @ 874:213702abb0b2

emms() SIGILL on non-MMX systems fixed
author arpi_esp
date Fri, 25 May 2001 15:42:55 +0000
parents 83919c1b9924
children c1cd62f01b2f
comparison
equal deleted inserted replaced
873:02faad9d43b5 874:213702abb0b2
489 static uint32_t draw_slice(uint8_t *image[], int stride[], 489 static uint32_t draw_slice(uint8_t *image[], int stride[],
490 int w, int h, int x, int y) { 490 int w, int h, int x, int y) {
491 uint8_t *src = yuvbuf; 491 uint8_t *src = yuvbuf;
492 uint32_t sw, sh; 492 uint32_t sw, sh;
493 493
494 #ifdef HAVE_MMX
494 emms(); 495 emms();
496 #endif
495 sw = (uint32_t) (w * scaling); 497 sw = (uint32_t) (w * scaling);
496 sh = (uint32_t) (h * scaling); 498 sh = (uint32_t) (h * scaling);
497 yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]); 499 yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);
498 if (scalebuf != NULL) { 500 if (scalebuf != NULL) {
499 gl_scalebox(w, h, yuvbuf, sw, sh, scalebuf); 501 gl_scalebox(w, h, yuvbuf, sw, sh, scalebuf);