Lines Matching refs:AVG3
252 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2)
258 AVG3(top[-1], top[0], top[1]),
259 AVG3(top[ 0], top[1], top[2]),
260 AVG3(top[ 1], top[2], top[3]),
261 AVG3(top[ 2], top[3], top[4])
275 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(A, B, C);
276 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(B, C, D);
277 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(C, D, E);
278 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(D, E, E);
299 DST(0, 3) = AVG3(J, K, L);
300 DST(0, 2) = DST(1, 3) = AVG3(I, J, K);
301 DST(0, 1) = DST(1, 2) = DST(2, 3) = AVG3(X, I, J);
302 DST(0, 0) = DST(1, 1) = DST(2, 2) = DST(3, 3) = AVG3(A, X, I);
303 DST(1, 0) = DST(2, 1) = DST(3, 2) = AVG3(B, A, X);
304 DST(2, 0) = DST(3, 1) = AVG3(C, B, A);
305 DST(3, 0) = AVG3(D, C, B);
317 DST(0, 0) = AVG3(A, B, C);
318 DST(1, 0) = DST(0, 1) = AVG3(B, C, D);
319 DST(2, 0) = DST(1, 1) = DST(0, 2) = AVG3(C, D, E);
320 DST(3, 0) = DST(2, 1) = DST(1, 2) = DST(0, 3) = AVG3(D, E, F);
321 DST(3, 1) = DST(2, 2) = DST(1, 3) = AVG3(E, F, G);
322 DST(3, 2) = DST(2, 3) = AVG3(F, G, H);
323 DST(3, 3) = AVG3(G, H, H);
340 DST(0, 3) = AVG3(K, J, I);
341 DST(0, 2) = AVG3(J, I, X);
342 DST(0, 1) = DST(1, 3) = AVG3(I, X, A);
343 DST(1, 1) = DST(2, 3) = AVG3(X, A, B);
344 DST(2, 1) = DST(3, 3) = AVG3(A, B, C);
345 DST(3, 1) = AVG3(B, C, D);
362 DST(0, 1) = AVG3(A, B, C);
363 DST(1, 1) = DST(0, 3) = AVG3(B, C, D);
364 DST(2, 1) = DST(1, 3) = AVG3(C, D, E);
365 DST(3, 1) = DST(2, 3) = AVG3(D, E, F);
366 DST(3, 2) = AVG3(E, F, G);
367 DST(3, 3) = AVG3(F, G, H);
378 DST(1, 0) = AVG3(I, J, K);
379 DST(3, 0) = DST(1, 1) = AVG3(J, K, L);
380 DST(3, 1) = DST(1, 2) = AVG3(K, L, L);
400 DST(3, 0) = AVG3(A, B, C);
401 DST(2, 0) = AVG3(X, A, B);
402 DST(1, 0) = DST(3, 1) = AVG3(I, X, A);
403 DST(1, 1) = DST(3, 2) = AVG3(J, I, X);
404 DST(1, 2) = DST(3, 3) = AVG3(K, J, I);
405 DST(1, 3) = AVG3(L, K, J);
409 #undef AVG3