Lines Matching refs:est
364 int est[3]; in FilterGradient24() local
378 est[c] = (int)client->tightPrevRow[x*3+c] + (int)pix[c] - in FilterGradient24()
380 if (est[c] > 0xFF) { in FilterGradient24()
381 est[c] = 0xFF; in FilterGradient24()
382 } else if (est[c] < 0x00) { in FilterGradient24()
383 est[c] = 0x00; in FilterGradient24()
385 pix[c] = (uint8_t)est[c] + client->buffer[(y*client->rectWidth+x)*3+c]; in FilterGradient24()
407 int est[3]; in FilterGradientBPP() local
436 est[c] = (int)thatRow[x*3+c] + (int)pix[c] - (int)thatRow[(x-1)*3+c]; in FilterGradientBPP()
437 if (est[c] > (int)max[c]) { in FilterGradientBPP()
438 est[c] = (int)max[c]; in FilterGradientBPP()
439 } else if (est[c] < 0) { in FilterGradientBPP()
440 est[c] = 0; in FilterGradientBPP()
442 pix[c] = (uint16_t)(((src[y*client->rectWidth+x] >> shift[c]) + est[c]) & max[c]); in FilterGradientBPP()