/third_party/ffmpeg/libavcodec/alpha/ |
D | hpeldsp_alpha.c | 68 STORE(AVG2(pix1, pix2), block); \ 81 STORE(AVG2(pix, next_pix), block); \ 145 #define AVG2 avg2 macro 152 #define STORE(l, b) stq(AVG2(l, ldq(b)), b); 156 #undef AVG2 160 #define AVG2 avg2_no_rnd macro 167 #define STORE(l, b) stq(AVG2(l, ldq(b)), b);
|
/third_party/flutter/skia/third_party/externals/libwebp/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
|
/third_party/skia/third_party/externals/libwebp/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
|