/external/libvpx/libvpx/vpx_dsp/ |
D | intrapred.c | 19 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 26 for (r = 0; r < bs - 1; ++r) dst[r * stride] = AVG2(left[r], left[r + 1]); in d207_predictor() 51 dst[c] = AVG2(above[c], above[c + 1]); in d63_predictor() 86 for (c = 0; c < bs; c++) dst[c] = AVG2(above[c - 1], above[c]); in d117_predictor() 137 dst[0] = AVG2(above[-1], left[0]); in d153_predictor() 138 for (r = 1; r < bs; r++) dst[r * stride] = AVG2(left[r - 1], left[r]); in d153_predictor() 290 DST(0, 0) = AVG2(I, J); in vpx_d207_predictor_4x4_c() 291 DST(2, 0) = DST(0, 1) = AVG2(J, K); in vpx_d207_predictor_4x4_c() 292 DST(2, 1) = DST(0, 2) = AVG2(K, L); in vpx_d207_predictor_4x4_c() 309 DST(0, 0) = AVG2(A, B); in vpx_d63_predictor_4x4_c() [all …]
|
/external/webp/src/dsp/ |
D | enc.c | 349 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 429 DST(0, 0) = DST(1, 2) = AVG2(X, A); in VR4() 430 DST(1, 0) = DST(2, 2) = AVG2(A, B); in VR4() 431 DST(2, 0) = DST(3, 2) = AVG2(B, C); in VR4() 432 DST(3, 0) = AVG2(C, D); in VR4() 451 DST(0, 0) = AVG2(A, B); in VL4() 452 DST(1, 0) = DST(0, 2) = AVG2(B, C); in VL4() 453 DST(2, 0) = DST(1, 2) = AVG2(C, D); in VL4() 454 DST(3, 0) = DST(2, 2) = AVG2(D, E); in VL4() 469 DST(0, 0) = AVG2(I, J); in HU4() [all …]
|
D | dec.c | 253 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 339 DST(0, 0) = DST(1, 2) = AVG2(X, A); in VR4_C() 340 DST(1, 0) = DST(2, 2) = AVG2(A, B); in VR4_C() 341 DST(2, 0) = DST(3, 2) = AVG2(B, C); in VR4_C() 342 DST(3, 0) = AVG2(C, D); in VR4_C() 361 DST(0, 0) = AVG2(A, B); in VL4_C() 362 DST(1, 0) = DST(0, 2) = AVG2(B, C); in VL4_C() 363 DST(2, 0) = DST(1, 2) = AVG2(C, D); in VL4_C() 364 DST(3, 0) = DST(2, 2) = AVG2(D, E); in VL4_C() 379 DST(0, 0) = AVG2(I, J); in HU4_C() [all …]
|
D | enc_msa.c | 260 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 345 DST(0, 0) = DST(1, 2) = AVG2(X, A); in VR4() 346 DST(1, 0) = DST(2, 2) = AVG2(A, B); in VR4() 347 DST(2, 0) = DST(3, 2) = AVG2(B, C); in VR4() 348 DST(3, 0) = AVG2(C, D); in VR4() 366 DST(0, 0) = AVG2(A, B); in VL4() 367 DST(1, 0) = DST(0, 2) = AVG2(B, C); in VL4() 368 DST(2, 0) = DST(1, 2) = AVG2(C, D); in VL4() 369 DST(3, 0) = DST(2, 2) = AVG2(D, E); in VL4() 383 DST(0, 0) = AVG2(I, J); in HU4() [all …]
|
D | enc_sse2.c | 705 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 843 DST(0, 0) = AVG2(I, J); in HU4_SSE2() 844 DST(2, 0) = DST(0, 1) = AVG2(J, K); in HU4_SSE2() 845 DST(2, 1) = DST(0, 2) = AVG2(K, L); in HU4_SSE2() 863 DST(0, 0) = DST(2, 1) = AVG2(I, X); in HD4_SSE2() 864 DST(0, 1) = DST(2, 2) = AVG2(J, I); in HD4_SSE2() 865 DST(0, 2) = DST(2, 3) = AVG2(K, J); in HD4_SSE2() 866 DST(0, 3) = AVG2(L, K); in HD4_SSE2() 891 #undef AVG2
|
/external/libhevc/encoder/ |
D | hme_common_defs.h | 57 #define AVG2(x, y) (((x) + (y) + 1) >> 1) macro
|