/external/libvpx/libvpx/vpx_dsp/ |
intrapred.c | 19 #define AVG2(a, b) (((a) + (b) + 1) >> 1) 26 for (r = 0; r < bs - 1; ++r) dst[r * stride] = AVG2(left[r], left[r + 1]); 51 dst[c] = AVG2(above[c], above[c + 1]); 86 for (c = 0; c < bs; c++) dst[c] = AVG2(above[c - 1], above[c]); 137 dst[0] = AVG2(above[-1], left[0]); 138 for (r = 1; r < bs; r++) dst[r * stride] = AVG2(left[r - 1], left[r]); 290 DST(0, 0) = AVG2(I, J); 291 DST(2, 0) = DST(0, 1) = AVG2(J, K); 292 DST(2, 1) = DST(0, 2) = AVG2(K, L); 309 DST(0, 0) = AVG2(A, B) [all...] |
/external/webp/src/dsp/ |
dec.c | 253 #define AVG2(a, b) (((a) + (b) + 1) >> 1) 339 DST(0, 0) = DST(1, 2) = AVG2(X, A); 340 DST(1, 0) = DST(2, 2) = AVG2(A, B); 341 DST(2, 0) = DST(3, 2) = AVG2(B, C); 342 DST(3, 0) = AVG2(C, D); 361 DST(0, 0) = AVG2(A, B); 362 DST(1, 0) = DST(0, 2) = AVG2(B, C); 363 DST(2, 0) = DST(1, 2) = AVG2(C, D); 364 DST(3, 0) = DST(2, 2) = AVG2(D, E); 379 DST(0, 0) = AVG2(I, J) [all...] |
enc.c | 349 #define AVG2(a, b) (((a) + (b) + 1) >> 1) 429 DST(0, 0) = DST(1, 2) = AVG2(X, A); 430 DST(1, 0) = DST(2, 2) = AVG2(A, B); 431 DST(2, 0) = DST(3, 2) = AVG2(B, C); 432 DST(3, 0) = AVG2(C, D); 451 DST(0, 0) = AVG2(A, B); 452 DST(1, 0) = DST(0, 2) = AVG2(B, C); 453 DST(2, 0) = DST(1, 2) = AVG2(C, D); 454 DST(3, 0) = DST(2, 2) = AVG2(D, E); 469 DST(0, 0) = AVG2(I, J) [all...] |
enc_msa.c | 260 #define AVG2(a, b) (((a) + (b) + 1) >> 1) 345 DST(0, 0) = DST(1, 2) = AVG2(X, A); 346 DST(1, 0) = DST(2, 2) = AVG2(A, B); 347 DST(2, 0) = DST(3, 2) = AVG2(B, C); 348 DST(3, 0) = AVG2(C, D); 366 DST(0, 0) = AVG2(A, B); 367 DST(1, 0) = DST(0, 2) = AVG2(B, C); 368 DST(2, 0) = DST(1, 2) = AVG2(C, D); 369 DST(3, 0) = DST(2, 2) = AVG2(D, E); 383 DST(0, 0) = AVG2(I, J) [all...] |
enc_sse2.c | 705 #define AVG2(a, b) (((a) + (b) + 1) >> 1) 761 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); local 762 const __m128i abcdefg = _mm_avg_epu8(avg2, BCDEFGH0); 783 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); local 784 const __m128i efgh = _mm_avg_epu8(avg2, XABCD); 802 const __m128i avg2 = _mm_avg_epu8(CDEFGH__, BCDEFGH_); local 803 const __m128i avg3 = _mm_avg_epu8(avg1, avg2); 804 const __m128i lsb1 = _mm_and_si128(_mm_xor_si128(avg1, avg2), one); 830 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); local [all...] |
/external/libhevc/encoder/ |
hme_common_defs.h | 57 #define AVG2(x, y) (((x) + (y) + 1) >> 1)
|