/external/libvpx/libvpx/vpx_dsp/ |
H A D | intrapred.c | 19 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 27 dst[r * stride] = AVG2(left[r], left[r + 1]); 56 : AVG2(left[(c >> 1) + r], left[(c >> 1) + r + 1]); 68 dst[c] = AVG2(above[c], above[c + 1]); 87 : AVG2(above[(r >> 1) + c], above[(r >> 1) + c + 1]); 131 dst[c] = AVG2(above[c - 1], above[c]); 175 dst[0] = AVG2(above[-1], left[0]); 177 dst[r * stride] = AVG2(left[r - 1], left[r]); 331 DST(0, 0) = AVG2(I, J); 332 DST(2, 0) = DST(0, 1) = AVG2( [all...] |
/external/opencv3/3rdparty/libwebp/dsp/ |
H A D | dec.c | 253 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 335 DST(0, 0) = DST(1, 2) = AVG2(X, A); 336 DST(1, 0) = DST(2, 2) = AVG2(A, B); 337 DST(2, 0) = DST(3, 2) = AVG2(B, C); 338 DST(3, 0) = AVG2(C, D); 357 DST(0, 0) = AVG2(A, B); 358 DST(1, 0) = DST(0, 2) = AVG2(B, C); 359 DST(2, 0) = DST(1, 2) = AVG2(C, D); 360 DST(3, 0) = DST(2, 2) = AVG2(D, E); 375 DST(0, 0) = AVG2( 410 #undef AVG2 macro [all...] |
H A D | enc.c | 346 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 426 DST(0, 0) = DST(1, 2) = AVG2(X, A); 427 DST(1, 0) = DST(2, 2) = AVG2(A, B); 428 DST(2, 0) = DST(3, 2) = AVG2(B, C); 429 DST(3, 0) = AVG2(C, D); 448 DST(0, 0) = AVG2(A, B); 449 DST(1, 0) = DST(0, 2) = AVG2(B, C); 450 DST(2, 0) = DST(1, 2) = AVG2(C, D); 451 DST(3, 0) = DST(2, 2) = AVG2(D, E); 466 DST(0, 0) = AVG2( 513 #undef AVG2 macro [all...] |
/external/webp/src/dsp/ |
H A D | dec.c | 242 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 324 DST(0, 0) = DST(1, 2) = AVG2(X, A); 325 DST(1, 0) = DST(2, 2) = AVG2(A, B); 326 DST(2, 0) = DST(3, 2) = AVG2(B, C); 327 DST(3, 0) = AVG2(C, D); 346 DST(0, 0) = AVG2(A, B); 347 DST(1, 0) = DST(0, 2) = AVG2(B, C); 348 DST(2, 0) = DST(1, 2) = AVG2(C, D); 349 DST(3, 0) = DST(2, 2) = AVG2(D, E); 364 DST(0, 0) = AVG2( 399 #undef AVG2 macro [all...] |
H A D | enc.c | 339 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 419 DST(0, 0) = DST(1, 2) = AVG2(X, A); 420 DST(1, 0) = DST(2, 2) = AVG2(A, B); 421 DST(2, 0) = DST(3, 2) = AVG2(B, C); 422 DST(3, 0) = AVG2(C, D); 441 DST(0, 0) = AVG2(A, B); 442 DST(1, 0) = DST(0, 2) = AVG2(B, C); 443 DST(2, 0) = DST(1, 2) = AVG2(C, D); 444 DST(3, 0) = DST(2, 2) = AVG2(D, E); 459 DST(0, 0) = AVG2( 506 #undef AVG2 macro [all...] |
H A D | enc_sse2.c | 791 #define AVG2(a, b) (((a) + (b) + 1) >> 1) macro 925 DST(0, 0) = AVG2(I, J); 926 DST(2, 0) = DST(0, 1) = AVG2(J, K); 927 DST(2, 1) = DST(0, 2) = AVG2(K, L); 945 DST(0, 0) = DST(2, 1) = AVG2(I, X); 946 DST(0, 1) = DST(2, 2) = AVG2(J, I); 947 DST(0, 2) = DST(2, 3) = AVG2(K, J); 948 DST(0, 3) = AVG2(L, K); 973 #undef AVG2 macro
|