mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
removed emms() and reordered stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@876 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
83e99d4ae9
commit
9997a5b15d
@ -491,12 +491,12 @@ static uint32_t draw_slice(uint8_t *image[], int stride[],
|
|||||||
uint8_t *src = yuvbuf;
|
uint8_t *src = yuvbuf;
|
||||||
uint32_t sw, sh;
|
uint32_t sw, sh;
|
||||||
|
|
||||||
#ifdef HAVE_MMX
|
yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);
|
||||||
emms();
|
//#ifdef HAVE_MMX
|
||||||
#endif
|
// emms();
|
||||||
|
//#endif
|
||||||
sw = (uint32_t) (w * scaling);
|
sw = (uint32_t) (w * scaling);
|
||||||
sh = (uint32_t) (h * scaling);
|
sh = (uint32_t) (h * scaling);
|
||||||
yuv2rgb(yuvbuf, image[0], image[1], image[2], w, h, orig_w * BYTESPERPIXEL, stride[0], stride[1]);
|
|
||||||
if (scalebuf != NULL) {
|
if (scalebuf != NULL) {
|
||||||
gl_scalebox(w, h, yuvbuf, sw, sh, scalebuf);
|
gl_scalebox(w, h, yuvbuf, sw, sh, scalebuf);
|
||||||
src = scalebuf;
|
src = scalebuf;
|
||||||
|
Loading…
Reference in New Issue
Block a user