Searched refs:AVG3 (Results 1 – 2 of 2) sorted by relevance
/external/webp/src/dec/ |
D | dsp.c | 255 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 261 AVG3(top[-1], top[0], top[1]), in VE4() 262 AVG3(top[ 0], top[1], top[2]), in VE4() 263 AVG3(top[ 1], top[2], top[3]), in VE4() 264 AVG3(top[ 2], top[3], top[4]) in VE4() 278 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(A, B, C); in HE4() 279 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(B, C, D); in HE4() 280 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(C, D, E); in HE4() 281 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(D, E, E); in HE4() 302 OUT(0, 3) = AVG3(J, K, L); in RD4() [all …]
|
/external/webp/src/enc/ |
D | dsp.c | 348 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 353 AVG3(top[-1], top[0], top[1]), in VE4() 354 AVG3(top[ 0], top[1], top[2]), in VE4() 355 AVG3(top[ 1], top[2], top[3]), in VE4() 356 AVG3(top[ 2], top[3], top[4]) in VE4() 370 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(X, I, J); in HE4() 371 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(I, J, K); in HE4() 372 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(J, K, L); in HE4() 373 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(K, L, L); in HE4() 393 OUT(0, 3) = AVG3(J, K, L); in RD4() [all …]
|