Home | History | Annotate | Download | only in dsp

Lines Matching refs:AVG3

345 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2)
350 AVG3(top[-1], top[0], top[1]),
351 AVG3(top[ 0], top[1], top[2]),
352 AVG3(top[ 1], top[2], top[3]),
353 AVG3(top[ 2], top[3], top[4])
367 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(X, I, J);
368 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(I, J, K);
369 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(J, K, L);
370 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(K, L, L);
390 DST(0, 3) = AVG3(J, K, L);
391 DST(0, 2) = DST(1, 3) = AVG3(I, J, K);
392 DST(0, 1) = DST(1, 2) = DST(2, 3) = AVG3(X, I, J);
393 DST(0, 0) = DST(1, 1) = DST(2, 2) = DST(3, 3) = AVG3(A, X, I);
394 DST(1, 0) = DST(2, 1) = DST(3, 2) = AVG3(B, A, X);
395 DST(2, 0) = DST(3, 1) = AVG3(C, B, A);
396 DST(3, 0) = AVG3(D, C, B);
408 DST(0, 0) = AVG3(A, B, C);
409 DST(1, 0) = DST(0, 1) = AVG3(B, C, D);
410 DST(2, 0) = DST(1, 1) = DST(0, 2) = AVG3(C, D, E);
411 DST(3, 0) = DST(2, 1) = DST(1, 2) = DST(0, 3) = AVG3(D, E, F);
412 DST(3, 1) = DST(2, 2) = DST(1, 3) = AVG3(E, F, G);
413 DST(3, 2) = DST(2, 3) = AVG3(F, G, H);
414 DST(3, 3) = AVG3(G, H, H);
431 DST(0, 3) = AVG3(K, J, I);
432 DST(0, 2) = AVG3(J, I, X);
433 DST(0, 1) = DST(1, 3) = AVG3(I, X, A);
434 DST(1, 1) = DST(2, 3) = AVG3(X, A, B);
435 DST(2, 1) = DST(3, 3) = AVG3(A, B, C);
436 DST(3, 1) = AVG3(B, C, D);
453 DST(0, 1) = AVG3(A, B, C);
454 DST(1, 1) = DST(0, 3) = AVG3(B, C, D);
455 DST(2, 1) = DST(1, 3) = AVG3(C, D, E);
456 DST(3, 1) = DST(2, 3) = AVG3(D, E, F);
457 DST(3, 2) = AVG3(E, F, G);
458 DST(3, 3) = AVG3(F, G, H);
469 DST(1, 0) = AVG3(I, J, K);
470 DST(3, 0) = DST(1, 1) = AVG3(J, K, L);
471 DST(3, 1) = DST(1, 2) = AVG3(K, L, L);
491 DST(3, 0) = AVG3(A, B, C);
492 DST(2, 0) = AVG3(X, A, B);
493 DST(1, 0) = DST(3, 1) = AVG3(I, X, A);
494 DST(1, 1) = DST(3, 2) = AVG3(J, I, X);
495 DST(1, 2) = DST(3, 3) = AVG3(K, J, I);
496 DST(1, 3) = AVG3(L, K, J);
512 #undef AVG3