if(abs(src[0] - src[7]) > 2*QP) return false;
if(abs(src[0] - src[7]) > 2*QP) return 0;
static inline bool isHorizMinMaxOk(uint8_t src[], int stride, int QP){#ifdef MMX_FIXMEFIXME	int isOk;	asm volatile(//		"int $3 \n\t"		"movq (%1, %2), %%mm0				\n\t"		"movq (%1, %2, 8), %%mm1			\n\t"		"movq %%mm0, %%mm2				\n\t"		"psubusb %%mm1, %%mm0				\n\t"		"psubusb %%mm2, %%mm1				\n\t"		"por %%mm1, %%mm0				\n\t" // ABS Diff		"movq pQPb, %%mm7				\n\t" // QP,..., QP		"paddusb %%mm7, %%mm7				\n\t" // 2QP ... 2QP		"psubusb %%mm7, %%mm0				\n\t" // Diff <= 2QP -> 0		"pcmpeqd b00, %%mm0				\n\t"		"psrlq $16, %%mm0				\n\t"		"pcmpeqd bFF, %%mm0				\n\t"//		"movd %%mm0, (%1, %2, 4)\n\t"		"movd %%mm0, %0					\n\t"		: "=r" (isOk)		: "r" (src), "r" (stride)		);	return isOk;#else	if(abs(src[0] - src[7]) > 2*QP) return false;	return true;#endif}