Searched refs:AVG3 (Results 1 – 2 of 2) sorted by relevance
/external/webp/src/dsp/ |
D | enc.c | 362 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 367 AVG3(top[-1], top[0], top[1]), in VE4() 368 AVG3(top[ 0], top[1], top[2]), in VE4() 369 AVG3(top[ 1], top[2], top[3]), in VE4() 370 AVG3(top[ 2], top[3], top[4]) in VE4() 384 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(X, I, J); in HE4() 385 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(I, J, K); in HE4() 386 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(J, K, L); in HE4() 387 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(K, L, L); in HE4() 407 DST(0, 3) = AVG3(J, K, L); in RD4() [all …]
|
D | dec.c | 250 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 256 AVG3(top[-1], top[0], top[1]), in VE4() 257 AVG3(top[ 0], top[1], top[2]), in VE4() 258 AVG3(top[ 1], top[2], top[3]), in VE4() 259 AVG3(top[ 2], top[3], top[4]) in VE4() 273 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(A, B, C); in HE4() 274 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(B, C, D); in HE4() 275 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(C, D, E); in HE4() 276 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(D, E, E); in HE4() 297 DST(0, 3) = AVG3(J, K, L); in RD4() [all …]
|