Home
last modified time | relevance | path

Searched refs:AVG3 (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/vpx_dsp/
Dintrapred.c18 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
33 dst[r * stride] = AVG3(left[r], left[r + 1], left[r + 2]); in d207_predictor()
34 dst[(bs - 2) * stride] = AVG3(left[bs - 2], left[bs - 1], left[bs - 1]); in d207_predictor()
54 dst[c] = c & 1 ? AVG3(left[(c >> 1) + r], left[(c >> 1) + r + 1], in d207e_predictor()
69 dst[stride + c] = AVG3(above[c], above[c + 1], above[c + 2]); in d63_predictor()
85 dst[c] = r & 1 ? AVG3(above[(r >> 1) + c], above[(r >> 1) + c + 1], in d63e_predictor()
101 dst[x] = AVG3(above[x], above[x + 1], above[x + 2]); in d45_predictor()
118 dst[c] = AVG3(above[r + c], above[r + c + 1], in d45e_predictor()
135 dst[0] = AVG3(left[0], above[-1], above[0]); in d117_predictor()
137 dst[c] = AVG3(above[c - 2], above[c - 1], above[c]); in d117_predictor()
[all …]
/external/opencv3/3rdparty/libwebp/dsp/
Denc.c345 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
350 AVG3(top[-1], top[0], top[1]), in VE4()
351 AVG3(top[ 0], top[1], top[2]), in VE4()
352 AVG3(top[ 1], top[2], top[3]), in VE4()
353 AVG3(top[ 2], top[3], top[4]) in VE4()
367 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(X, I, J); in HE4()
368 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(I, J, K); in HE4()
369 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(J, K, L); in HE4()
370 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(K, L, L); in HE4()
390 DST(0, 3) = AVG3(J, K, L); in RD4()
[all …]
Ddec.c252 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
258 AVG3(top[-1], top[0], top[1]), in VE4()
259 AVG3(top[ 0], top[1], top[2]), in VE4()
260 AVG3(top[ 1], top[2], top[3]), in VE4()
261 AVG3(top[ 2], top[3], top[4]) in VE4()
275 *(uint32_t*)(dst + 0 * BPS) = 0x01010101U * AVG3(A, B, C); in HE4()
276 *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(B, C, D); in HE4()
277 *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(C, D, E); in HE4()
278 *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(D, E, E); in HE4()
299 DST(0, 3) = AVG3(J, K, L); in RD4()
[all …]
/external/webp/src/dsp/
Denc.c338 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
343 AVG3(top[-1], top[0], top[1]), in VE4()
344 AVG3(top[ 0], top[1], top[2]), in VE4()
345 AVG3(top[ 1], top[2], top[3]), in VE4()
346 AVG3(top[ 2], top[3], top[4]) in VE4()
360 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(X, I, J)); in HE4()
361 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(I, J, K)); in HE4()
362 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(J, K, L)); in HE4()
363 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(K, L, L)); in HE4()
383 DST(0, 3) = AVG3(J, K, L); in RD4()
[all …]
Ddec.c241 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
247 AVG3(top[-1], top[0], top[1]), in VE4()
248 AVG3(top[ 0], top[1], top[2]), in VE4()
249 AVG3(top[ 1], top[2], top[3]), in VE4()
250 AVG3(top[ 2], top[3], top[4]) in VE4()
264 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(A, B, C)); in HE4()
265 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(B, C, D)); in HE4()
266 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(C, D, E)); in HE4()
267 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(D, E, E)); in HE4()
288 DST(0, 3) = AVG3(J, K, L); in RD4()
[all …]
Denc_sse2.c790 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
823 WebPUint32ToMem(dst + 0 * BPS, 0x01010101U * AVG3(X, I, J)); in HE4()
824 WebPUint32ToMem(dst + 1 * BPS, 0x01010101U * AVG3(I, J, K)); in HE4()
825 WebPUint32ToMem(dst + 2 * BPS, 0x01010101U * AVG3(J, K, L)); in HE4()
826 WebPUint32ToMem(dst + 3 * BPS, 0x01010101U * AVG3(K, L, L)); in HE4()
874 DST(0, 2) = AVG3(J, I, X); in VR4()
875 DST(0, 3) = AVG3(K, J, I); in VR4()
928 DST(1, 0) = AVG3(I, J, K); in HU4()
929 DST(3, 0) = DST(1, 1) = AVG3(J, K, L); in HU4()
930 DST(3, 1) = DST(1, 2) = AVG3(K, L, L); in HU4()
[all …]
Ddec_sse2.c937 #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) macro
1000 DST(0, 2) = AVG3(J, I, X); in VR4()
1001 DST(0, 3) = AVG3(K, J, I); in VR4()
1053 #undef AVG3