35 ptrdiff_t line_size,
int h)
55 ptrdiff_t line_size,
int h)
65 "movq 8%0, %%mm0 \n\t" 66 "movq 8%1, %%mm1 \n\t" 68 "movq %%mm2, 8%0 \n\t" 79 ptrdiff_t line_size,
int h)
82 "lea (%3, %3), %%"REG_a
" \n\t" 85 "movq (%1 ), %%mm0 \n\t" 86 "movq (%1, %3), %%mm1 \n\t" 87 "movq %%mm0, (%2) \n\t" 88 "movq %%mm1, (%2, %3) \n\t" 89 "add %%"REG_a
", %1 \n\t" 90 "add %%"REG_a
", %2 \n\t" 91 "movq (%1 ), %%mm0 \n\t" 92 "movq (%1, %3), %%mm1 \n\t" 93 "movq %%mm0, (%2) \n\t" 94 "movq %%mm1, (%2, %3) \n\t" 95 "add %%"REG_a
", %1 \n\t" 96 "add %%"REG_a
", %2 \n\t" 99 :
"+g"(h),
"+r"(pixels),
"+r"(
block)
106 ptrdiff_t line_size,
int h)
109 "lea (%3, %3), %%"REG_a
" \n\t" 112 "movq (%1 ), %%mm0 \n\t" 113 "movq 8(%1 ), %%mm4 \n\t" 114 "movq (%1, %3), %%mm1 \n\t" 115 "movq 8(%1, %3), %%mm5 \n\t" 116 "movq %%mm0, (%2) \n\t" 117 "movq %%mm4, 8(%2) \n\t" 118 "movq %%mm1, (%2, %3) \n\t" 119 "movq %%mm5, 8(%2, %3) \n\t" 120 "add %%"REG_a
", %1 \n\t" 121 "add %%"REG_a
", %2 \n\t" 122 "movq (%1 ), %%mm0 \n\t" 123 "movq 8(%1 ), %%mm4 \n\t" 124 "movq (%1, %3), %%mm1 \n\t" 125 "movq 8(%1, %3), %%mm5 \n\t" 126 "movq %%mm0, (%2) \n\t" 127 "movq %%mm4, 8(%2) \n\t" 128 "movq %%mm1, (%2, %3) \n\t" 129 "movq %%mm5, 8(%2, %3) \n\t" 130 "add %%"REG_a
", %1 \n\t" 131 "add %%"REG_a
", %2 \n\t" 134 :
"+g"(h),
"+r"(pixels),
"+r"(
block)
void ff_put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
#define PAVGB_MMX(rega, regb, regr, regfe)
void ff_avg_pixels8_mmx(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
void ff_avg_pixels16_mmx(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
void ff_put_pixels16_mmx(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)