Lines Matching refs:avg4
147 #define avg4(a, b, c, d) (((a) + (b) + (c) + (d) + 2) >> 2) macro
281 s += abs(pix1[0] - avg4(pix2[0], pix2[1], pix3[0], pix3[1])); in pix_abs16_xy2_c()
282 s += abs(pix1[1] - avg4(pix2[1], pix2[2], pix3[1], pix3[2])); in pix_abs16_xy2_c()
283 s += abs(pix1[2] - avg4(pix2[2], pix2[3], pix3[2], pix3[3])); in pix_abs16_xy2_c()
284 s += abs(pix1[3] - avg4(pix2[3], pix2[4], pix3[3], pix3[4])); in pix_abs16_xy2_c()
285 s += abs(pix1[4] - avg4(pix2[4], pix2[5], pix3[4], pix3[5])); in pix_abs16_xy2_c()
286 s += abs(pix1[5] - avg4(pix2[5], pix2[6], pix3[5], pix3[6])); in pix_abs16_xy2_c()
287 s += abs(pix1[6] - avg4(pix2[6], pix2[7], pix3[6], pix3[7])); in pix_abs16_xy2_c()
288 s += abs(pix1[7] - avg4(pix2[7], pix2[8], pix3[7], pix3[8])); in pix_abs16_xy2_c()
289 s += abs(pix1[8] - avg4(pix2[8], pix2[9], pix3[8], pix3[9])); in pix_abs16_xy2_c()
290 s += abs(pix1[9] - avg4(pix2[9], pix2[10], pix3[9], pix3[10])); in pix_abs16_xy2_c()
291 s += abs(pix1[10] - avg4(pix2[10], pix2[11], pix3[10], pix3[11])); in pix_abs16_xy2_c()
292 s += abs(pix1[11] - avg4(pix2[11], pix2[12], pix3[11], pix3[12])); in pix_abs16_xy2_c()
293 s += abs(pix1[12] - avg4(pix2[12], pix2[13], pix3[12], pix3[13])); in pix_abs16_xy2_c()
294 s += abs(pix1[13] - avg4(pix2[13], pix2[14], pix3[13], pix3[14])); in pix_abs16_xy2_c()
295 s += abs(pix1[14] - avg4(pix2[14], pix2[15], pix3[14], pix3[15])); in pix_abs16_xy2_c()
296 s += abs(pix1[15] - avg4(pix2[15], pix2[16], pix3[15], pix3[16])); in pix_abs16_xy2_c()
404 s += abs(pix1[0] - avg4(pix2[0], pix2[1], pix3[0], pix3[1])); in pix_abs8_xy2_c()
405 s += abs(pix1[1] - avg4(pix2[1], pix2[2], pix3[1], pix3[2])); in pix_abs8_xy2_c()
406 s += abs(pix1[2] - avg4(pix2[2], pix2[3], pix3[2], pix3[3])); in pix_abs8_xy2_c()
407 s += abs(pix1[3] - avg4(pix2[3], pix2[4], pix3[3], pix3[4])); in pix_abs8_xy2_c()
408 s += abs(pix1[4] - avg4(pix2[4], pix2[5], pix3[4], pix3[5])); in pix_abs8_xy2_c()
409 s += abs(pix1[5] - avg4(pix2[5], pix2[6], pix3[5], pix3[6])); in pix_abs8_xy2_c()
410 s += abs(pix1[6] - avg4(pix2[6], pix2[7], pix3[6], pix3[7])); in pix_abs8_xy2_c()
411 s += abs(pix1[7] - avg4(pix2[7], pix2[8], pix3[7], pix3[8])); in pix_abs8_xy2_c()