Commit 22a6d0ba authored by glantau's avatar glantau

suppressed no longer needed emms()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 057b8f05
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#include "../dsputil.h" #include "../dsputil.h"
int mm_flags; /* multimedia extension flags */
int pix_abs16x16_mmx(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_mmx(UINT8 *blk1, UINT8 *blk2, int lx, int h);
int pix_abs16x16_sse(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_sse(UINT8 *blk1, UINT8 *blk2, int lx, int h);
int pix_abs16x16_x2_mmx(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_x2_mmx(UINT8 *blk1, UINT8 *blk2, int lx, int h);
...@@ -89,7 +91,6 @@ static void get_pixels_mmx(DCTELEM *block, const UINT8 *pixels, int line_size) ...@@ -89,7 +91,6 @@ static void get_pixels_mmx(DCTELEM *block, const UINT8 *pixels, int line_size)
pix += line_size*2; pix += line_size*2;
p += 16; p += 16;
} }
emms();
} }
static void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size) static void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size)
...@@ -126,7 +127,6 @@ static void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line ...@@ -126,7 +127,6 @@ static void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line
pix += line_size*4; pix += line_size*4;
p += 32; p += 32;
} }
emms();
} }
static void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size) static void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size)
...@@ -167,7 +167,6 @@ static void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line ...@@ -167,7 +167,6 @@ static void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line
pix += line_size*2; pix += line_size*2;
p += 16; p += 16;
} }
emms();
} }
static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -205,7 +204,6 @@ static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int ...@@ -205,7 +204,6 @@ static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int
pix = pix + line_size; pix = pix + line_size;
p = p + line_size; p = p + line_size;
} }
emms();
} }
static void put_pixels_x2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_pixels_x2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -241,7 +239,6 @@ static void put_pixels_x2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, ...@@ -241,7 +239,6 @@ static void put_pixels_x2_mmx(UINT8 *block, const UINT8 *pixels, int line_size,
:"memory"); :"memory");
pix += line_size; p += line_size; pix += line_size; p += line_size;
} while (--h); } while (--h);
emms();
} }
static void put_pixels_y2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_pixels_y2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -279,7 +276,6 @@ static void put_pixels_y2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, ...@@ -279,7 +276,6 @@ static void put_pixels_y2_mmx(UINT8 *block, const UINT8 *pixels, int line_size,
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while (--h); } while (--h);
emms();
} }
static void put_pixels_xy2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_pixels_xy2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -329,7 +325,6 @@ static void put_pixels_xy2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, ...@@ -329,7 +325,6 @@ static void put_pixels_xy2_mmx(UINT8 *block, const UINT8 *pixels, int line_size,
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while(--h); } while(--h);
emms();
} }
static void put_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -361,7 +356,6 @@ static void put_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int ...@@ -361,7 +356,6 @@ static void put_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while (--h); } while (--h);
emms();
} }
static void put_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -394,7 +388,6 @@ static void put_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int li ...@@ -394,7 +388,6 @@ static void put_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int li
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while(--h); } while(--h);
emms();
} }
static void put_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void put_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -444,7 +437,6 @@ static void put_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int ...@@ -444,7 +437,6 @@ static void put_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while(--h); } while(--h);
emms();
} }
static void avg_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -482,7 +474,6 @@ static void avg_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int ...@@ -482,7 +474,6 @@ static void avg_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int
p += line_size; p += line_size;
} }
while (--h); while (--h);
emms();
} }
static void avg_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -529,7 +520,6 @@ static void avg_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_si ...@@ -529,7 +520,6 @@ static void avg_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_si
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while (--h); } while (--h);
emms();
} }
static void avg_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -576,7 +566,6 @@ static void avg_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_si ...@@ -576,7 +566,6 @@ static void avg_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_si
pix += line_size; pix += line_size;
p += line_size ; p += line_size ;
} while(--h); } while(--h);
emms();
} }
static void avg_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -637,7 +626,6 @@ static void avg_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_s ...@@ -637,7 +626,6 @@ static void avg_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_s
pix += line_size; pix += line_size;
p += line_size ; p += line_size ;
} while(--h); } while(--h);
emms();
} }
static void avg_no_rnd_pixels_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_no_rnd_pixels_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -669,7 +657,6 @@ static void avg_no_rnd_pixels_mmx( UINT8 *block, const UINT8 *pixels, int line_ ...@@ -669,7 +657,6 @@ static void avg_no_rnd_pixels_mmx( UINT8 *block, const UINT8 *pixels, int line_
pix += line_size; pix += line_size;
p += line_size ; p += line_size ;
} while (--h); } while (--h);
emms();
} }
static void avg_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -710,7 +697,6 @@ static void avg_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int ...@@ -710,7 +697,6 @@ static void avg_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while (--h); } while (--h);
emms();
} }
static void avg_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -751,7 +737,6 @@ static void avg_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int ...@@ -751,7 +737,6 @@ static void avg_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int
pix += line_size; pix += line_size;
p += line_size ; p += line_size ;
} while(--h); } while(--h);
emms();
} }
static void avg_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void avg_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -809,7 +794,6 @@ static void avg_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int ...@@ -809,7 +794,6 @@ static void avg_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int
pix += line_size; pix += line_size;
p += line_size; p += line_size;
} while(--h); } while(--h);
emms();
} }
static void sub_pixels_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) static void sub_pixels_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h)
...@@ -837,7 +821,6 @@ static void sub_pixels_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, ...@@ -837,7 +821,6 @@ static void sub_pixels_mmx( DCTELEM *block, const UINT8 *pixels, int line_size,
pix += line_size; pix += line_size;
p += 8; p += 8;
} while (--h); } while (--h);
emms();
} }
static void sub_pixels_x2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) static void sub_pixels_x2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h)
...@@ -878,7 +861,6 @@ static void sub_pixels_x2_mmx( DCTELEM *block, const UINT8 *pixels, int line_si ...@@ -878,7 +861,6 @@ static void sub_pixels_x2_mmx( DCTELEM *block, const UINT8 *pixels, int line_si
pix += line_size; pix += line_size;
p += 8; p += 8;
} while (--h); } while (--h);
emms();
} }
static void sub_pixels_y2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) static void sub_pixels_y2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h)
...@@ -919,7 +901,6 @@ static void sub_pixels_y2_mmx( DCTELEM *block, const UINT8 *pixels, int line_si ...@@ -919,7 +901,6 @@ static void sub_pixels_y2_mmx( DCTELEM *block, const UINT8 *pixels, int line_si
pix += line_size; pix += line_size;
p += 8; p += 8;
} while (--h); } while (--h);
emms();
} }
static void sub_pixels_xy2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) static void sub_pixels_xy2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h)
...@@ -973,7 +954,6 @@ static void sub_pixels_xy2_mmx( DCTELEM *block, const UINT8 *pixels, int line ...@@ -973,7 +954,6 @@ static void sub_pixels_xy2_mmx( DCTELEM *block, const UINT8 *pixels, int line
pix += line_size; pix += line_size;
p += 8 ; p += 8 ;
} while(--h); } while(--h);
emms();
} }
void dsputil_init_mmx(void) void dsputil_init_mmx(void)
......
...@@ -62,7 +62,6 @@ static void DEF(put_pixels_x2)(UINT8 *block, const UINT8 *pixels, int line_size, ...@@ -62,7 +62,6 @@ static void DEF(put_pixels_x2)(UINT8 *block, const UINT8 *pixels, int line_size,
:"memory"); :"memory");
pix += line_size; p += line_size; pix += line_size; p += line_size;
} }
emms();
} }
static void DEF(put_pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void DEF(put_pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -102,7 +101,6 @@ static void DEF(put_pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size, ...@@ -102,7 +101,6 @@ static void DEF(put_pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size,
"m"(*(pix+line_size)) "m"(*(pix+line_size))
:"memory"); :"memory");
} }
emms();
} }
static void DEF(avg_pixels)(UINT8 *block, const UINT8 *pixels, int line_size, int h) static void DEF(avg_pixels)(UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -148,7 +146,6 @@ static void DEF(avg_pixels)(UINT8 *block, const UINT8 *pixels, int line_size, in ...@@ -148,7 +146,6 @@ static void DEF(avg_pixels)(UINT8 *block, const UINT8 *pixels, int line_size, in
:"memory"); :"memory");
pix += line_size; p += line_size; pix += line_size; p += line_size;
} }
emms();
} }
static void DEF(avg_pixels_x2)( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void DEF(avg_pixels_x2)( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -192,7 +189,6 @@ static void DEF(avg_pixels_x2)( UINT8 *block, const UINT8 *pixels, int line_siz ...@@ -192,7 +189,6 @@ static void DEF(avg_pixels_x2)( UINT8 *block, const UINT8 *pixels, int line_siz
:"m"(*pix) :"m"(*pix)
:"memory"); :"memory");
} }
emms();
} }
static void DEF(avg_pixels_y2)( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void DEF(avg_pixels_y2)( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -236,7 +232,6 @@ static void DEF(avg_pixels_y2)( UINT8 *block, const UINT8 *pixels, int line_si ...@@ -236,7 +232,6 @@ static void DEF(avg_pixels_y2)( UINT8 *block, const UINT8 *pixels, int line_si
:"m"(*pix), "m"(*(pix+line_size)) :"m"(*pix), "m"(*(pix+line_size))
:"memory"); :"memory");
} }
emms();
} }
static void DEF(avg_pixels_xy2)( UINT8 *block, const UINT8 *pixels, int line_size, int h) static void DEF(avg_pixels_xy2)( UINT8 *block, const UINT8 *pixels, int line_size, int h)
...@@ -287,7 +282,6 @@ static void DEF(avg_pixels_xy2)( UINT8 *block, const UINT8 *pixels, int line_si ...@@ -287,7 +282,6 @@ static void DEF(avg_pixels_xy2)( UINT8 *block, const UINT8 *pixels, int line_si
pix += line_size; pix += line_size;
p += line_size ; p += line_size ;
} while(--h); } while(--h);
emms();
} }
static void DEF(sub_pixels_x2)( DCTELEM *block, const UINT8 *pixels, int line_size, int h) static void DEF(sub_pixels_x2)( DCTELEM *block, const UINT8 *pixels, int line_size, int h)
...@@ -317,7 +311,6 @@ static void DEF(sub_pixels_x2)( DCTELEM *block, const UINT8 *pixels, int line_s ...@@ -317,7 +311,6 @@ static void DEF(sub_pixels_x2)( DCTELEM *block, const UINT8 *pixels, int line_s
pix += line_size; pix += line_size;
p += 8; p += 8;
} while (--h); } while (--h);
emms();
} }
static void DEF(sub_pixels_y2)( DCTELEM *block, const UINT8 *pixels, int line_size, int h) static void DEF(sub_pixels_y2)( DCTELEM *block, const UINT8 *pixels, int line_size, int h)
...@@ -347,6 +340,5 @@ static void DEF(sub_pixels_y2)( DCTELEM *block, const UINT8 *pixels, int line_s ...@@ -347,6 +340,5 @@ static void DEF(sub_pixels_y2)( DCTELEM *block, const UINT8 *pixels, int line_s
pix += line_size; pix += line_size;
p += 8; p += 8;
} while (--h); } while (--h);
emms();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment