static void DEF(avg, pixels16_xy2)(UINT8 *block, const UINT8 *pixels, int line_size, int h){ DEF(avg, pixels8_xy2)(block  , pixels  , line_size, h); DEF(avg, pixels8_xy2)(block+8, pixels+8, line_size, h);
static void DEF(avg, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h) { MOVQ_BFE(mm6); JUMPALIGN(); do { __asm __volatile( "movq  %1, %%mm0		\n\t" "movq  %2, %%mm1		\n\t" "movq  %0, %%mm3		\n\t" PAVGB(%%mm0, %%mm1, %%mm2, %%mm6) PAVGB(%%mm3, %%mm2, %%mm0, %%mm6) "movq  %%mm0, %0		\n\t" "movq  8%1, %%mm0		\n\t" "movq  8%2, %%mm1		\n\t" "movq  8%0, %%mm3		\n\t" PAVGB(%%mm0, %%mm1, %%mm2, %%mm6) PAVGB(%%mm3, %%mm2, %%mm0, %%mm6) "movq  %%mm0, 8%0		\n\t" :"+m"(*dst) :"m"(*src1), "m"(*src2) :"memory"); dst += dstStride; src1 += src1Stride; src2 += 16; } while (--h);
static void DEF(avg, pixels16_xy2)(UINT8 *block, const UINT8 *pixels, int line_size, int h){    DEF(avg, pixels8_xy2)(block  , pixels  , line_size, h);    DEF(avg, pixels8_xy2)(block+8, pixels+8, line_size, h);}