Lines Matching refs:src_pixel
645 const uint32_t src_pixel = src->argb[j * src->argb_stride + i];
648 if (dst_alpha != 0xff && src_pixel != dst_pixel) {
669 const uint32_t src_pixel = src->argb[j * src->argb_stride + i];
673 !PixelsAreSimilar(src_pixel, dst_pixel, max_allowed_diff_lossy)) {
736 const uint32_t src_pixel = psrc[x + y * src->argb_stride];
737 const int alpha = src_pixel >> 24;
739 PixelsAreSimilar(src_pixel, pdst[x + y * dst->argb_stride],
742 avg_r += (src_pixel >> 16) & 0xff;
743 avg_g += (src_pixel >> 8) & 0xff;
744 avg_b += (src_pixel >> 0) & 0xff;