/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec.c | 252 #define AVG3(a, b, c) ((uint8_t)(((a) + 2 * (b) + (c) + 2) >> 2)) macro 259 AVG3(top[-1], top[0], top[1]), in VE4_C() 260 AVG3(top[ 0], top[1], top[2]), in VE4_C() 261 AVG3(top[ 1], top[2], top[3]), in VE4_C() 262 AVG3(top[ 2], top[3], top[4]) in VE4_C() 277 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(A, B, C)); in HE4_C() 278 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(B, C, D)); in HE4_C() 279 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(C, D, E)); in HE4_C() 280 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(D, E, E)); in HE4_C() 302 DST(0, 3) = AVG3( in RD4_C() 413 #undef AVG3 global() macro [all...] |
H A D | enc.c | 348 #define AVG3(a, b, c) ((uint8_t)(((a) + 2 * (b) + (c) + 2) >> 2)) macro 353 AVG3(top[-1], top[0], top[1]), in VE4() 354 AVG3(top[ 0], top[1], top[2]), in VE4() 355 AVG3(top[ 1], top[2], top[3]), in VE4() 356 AVG3(top[ 2], top[3], top[4]) in VE4() 370 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(X, I, J)); in HE4() 371 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(I, J, K)); in HE4() 372 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(J, K, L)); in HE4() 373 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(K, L, L)); in HE4() 393 DST(0, 3) = AVG3( in RD4() 515 #undef AVG3 global() macro [all...] |
H A D | enc_msa.c | 259 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 281 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(X, I, J)); in HE4() 282 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(I, J, K)); in HE4() 283 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(J, K, L)); in HE4() 284 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(K, L, L)); in HE4() 349 DST(0, 3) = AVG3(K, J, I); in VR4() 350 DST(0, 2) = AVG3(J, I, X); in VR4() 351 DST(0, 1) = DST(1, 3) = AVG3(I, X, A); in VR4() 352 DST(1, 1) = DST(2, 3) = AVG3(X, A, B); in VR4() 353 DST(2, 1) = DST(3, 3) = AVG3( in VR4() 431 #undef AVG3 global() macro [all...] |
H A D | enc_sse2.c | 704 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 739 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(X, I, J)); in HE4_SSE2() 740 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(I, J, K)); in HE4_SSE2() 741 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(J, K, L)); in HE4_SSE2() 742 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(K, L, L)); in HE4_SSE2() 791 DST(0, 2) = AVG3(J, I, X); in VR4_SSE2() 792 DST(0, 3) = AVG3(K, J, I); in VR4_SSE2() 846 DST(1, 0) = AVG3(I, J, K); in HU4_SSE2() 847 DST(3, 0) = DST(1, 1) = AVG3(J, K, L); in HU4_SSE2() 848 DST(3, 1) = DST(1, 2) = AVG3( in HU4_SSE2() 890 #undef AVG3 global() macro [all...] |
H A D | dec_sse2.c | 892 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro 955 DST(0, 2) = AVG3(J, I, X); in VR4_SSE2() 956 DST(0, 3) = AVG3(K, J, I); in VR4_SSE2() 1008 #undef AVG3 macro
|