if(((src[0] - src[1] + dcOffset) & 0xFFFF) < dcThreshold) numEq++; if(((src[1] - src[2] + dcOffset) & 0xFFFF) < dcThreshold) numEq++; if(((src[2] - src[3] + dcOffset) & 0xFFFF) < dcThreshold) numEq++; if(((src[3] - src[4] + dcOffset) & 0xFFFF) < dcThreshold) numEq++; if(((src[4] - src[5] + dcOffset) & 0xFFFF) < dcThreshold) numEq++; if(((src[5] - src[6] + dcOffset) & 0xFFFF) < dcThreshold) numEq++; if(((src[6] - src[7] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;
if(((unsigned)(src[0] - src[1] + dcOffset)) < dcThreshold) numEq++; if(((unsigned)(src[1] - src[2] + dcOffset)) < dcThreshold) numEq++; if(((unsigned)(src[2] - src[3] + dcOffset)) < dcThreshold) numEq++; if(((unsigned)(src[3] - src[4] + dcOffset)) < dcThreshold) numEq++; if(((unsigned)(src[4] - src[5] + dcOffset)) < dcThreshold) numEq++; if(((unsigned)(src[5] - src[6] + dcOffset)) < dcThreshold) numEq++; if(((unsigned)(src[6] - src[7] + dcOffset)) < dcThreshold) numEq++;
static inline int isHorizDC(uint8_t src[], int stride){	int numEq= 0;	int y;	for(y=0; y<BLOCK_SIZE; y++)	{		if(((src[0] - src[1] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		if(((src[1] - src[2] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		if(((src[2] - src[3] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		if(((src[3] - src[4] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		if(((src[4] - src[5] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		if(((src[5] - src[6] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		if(((src[6] - src[7] + dcOffset) & 0xFFFF) < dcThreshold) numEq++;		src+= stride;	}	return numEq > hFlatnessThreshold;}