Lines Matching refs:curr_row
63 const uint32_t* const curr_row, in IsSmooth() argument
67 return (IsNear(curr_row[ix], curr_row[ix - 1], limit) && in IsSmooth()
68 IsNear(curr_row[ix], curr_row[ix + 1], limit) && in IsSmooth()
69 IsNear(curr_row[ix], prev_row[ix], limit) && in IsSmooth()
70 IsNear(curr_row[ix], next_row[ix], limit)); in IsSmooth()
80 uint32_t* curr_row = prev_row + xsize; in NearLossless() local
81 uint32_t* next_row = curr_row + xsize; in NearLossless()
82 memcpy(curr_row, argb_src, xsize * sizeof(argb_src[0])); in NearLossless()
93 if (IsSmooth(prev_row, curr_row, next_row, x, limit)) { in NearLossless()
94 argb_dst[x] = curr_row[x]; in NearLossless()
96 argb_dst[x] = ClosestDiscretizedArgb(curr_row[x], limit_bits); in NearLossless()
103 prev_row = curr_row; in NearLossless()
104 curr_row = next_row; in NearLossless()