10l in 1.12

Originally committed as revision 4965 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Loren Merritt 19 years ago
parent 7d20ebffdf
commit 4e295993ba
  1. 12
      libavcodec/i386/h264dsp_mmx.c

@ -782,8 +782,8 @@ static void OPNAME ## pixels4_l2_shift5_ ## MMX(uint8_t *dst, int16_t *src16, ui
"movq 24(%1), %%mm1 \n\t"\
"paddw %%mm6, %%mm0 \n\t"\
"paddw %%mm6, %%mm1 \n\t"\
"psrlw $5, %%mm0 \n\t"\
"psrlw $5, %%mm1 \n\t"\
"psraw $5, %%mm0 \n\t"\
"psraw $5, %%mm1 \n\t"\
"pmaxsw %%mm7, %%mm0 \n\t"\
"pmaxsw %%mm7, %%mm1 \n\t"\
"packuswb %%mm7, %%mm0 \n\t"\
@ -798,8 +798,8 @@ static void OPNAME ## pixels4_l2_shift5_ ## MMX(uint8_t *dst, int16_t *src16, ui
"movq 72(%1), %%mm1 \n\t"\
"paddw %%mm6, %%mm0 \n\t"\
"paddw %%mm6, %%mm1 \n\t"\
"psrlw $5, %%mm0 \n\t"\
"psrlw $5, %%mm1 \n\t"\
"psraw $5, %%mm0 \n\t"\
"psraw $5, %%mm1 \n\t"\
"pmaxsw %%mm7, %%mm0 \n\t"\
"pmaxsw %%mm7, %%mm1 \n\t"\
"packuswb %%mm7, %%mm0 \n\t"\
@ -825,8 +825,8 @@ static void OPNAME ## pixels8_l2_shift5_ ## MMX(uint8_t *dst, int16_t *src16, ui
"movq 8(%1), %%mm1 \n\t"\
"paddw %%mm6, %%mm0 \n\t"\
"paddw %%mm6, %%mm1 \n\t"\
"psrlw $5, %%mm0 \n\t"\
"psrlw $5, %%mm1 \n\t"\
"psraw $5, %%mm0 \n\t"\
"psraw $5, %%mm1 \n\t"\
"pmaxsw %%mm7, %%mm0 \n\t"\
"pmaxsw %%mm7, %%mm1 \n\t"\
"packuswb %%mm1, %%mm0 \n\t"\

Loading…
Cancel
Save