Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dme_cmp.c147 #define avg4(a, b, c, d) (((a) + (b) + (c) + (d) + 2) >> 2) macro
281 s += abs(pix1[0] - avg4(pix2[0], pix2[1], pix3[0], pix3[1])); in pix_abs16_xy2_c()
282 s += abs(pix1[1] - avg4(pix2[1], pix2[2], pix3[1], pix3[2])); in pix_abs16_xy2_c()
283 s += abs(pix1[2] - avg4(pix2[2], pix2[3], pix3[2], pix3[3])); in pix_abs16_xy2_c()
284 s += abs(pix1[3] - avg4(pix2[3], pix2[4], pix3[3], pix3[4])); in pix_abs16_xy2_c()
285 s += abs(pix1[4] - avg4(pix2[4], pix2[5], pix3[4], pix3[5])); in pix_abs16_xy2_c()
286 s += abs(pix1[5] - avg4(pix2[5], pix2[6], pix3[5], pix3[6])); in pix_abs16_xy2_c()
287 s += abs(pix1[6] - avg4(pix2[6], pix2[7], pix3[6], pix3[7])); in pix_abs16_xy2_c()
288 s += abs(pix1[7] - avg4(pix2[7], pix2[8], pix3[7], pix3[8])); in pix_abs16_xy2_c()
289 s += abs(pix1[8] - avg4(pix2[8], pix2[9], pix3[8], pix3[9])); in pix_abs16_xy2_c()
[all …]
/third_party/ffmpeg/libavcodec/alpha/
Dme_cmp_alpha.c33 static inline uint64_t avg4(uint64_t l1, uint64_t l2, uint64_t l3, uint64_t l4) in avg4() function
289 avg4( p2_l, ( p2_l >> 8) | ((uint64_t) p2_r << 56), in pix_abs16x16_xy2_mvi()
292 avg4( p2_r, ( p2_r >> 8) | ((uint64_t) p2_x), in pix_abs16x16_xy2_mvi()
Dhpeldsp_alpha.c40 static inline uint64_t avg4(uint64_t l1, uint64_t l2, uint64_t l3, uint64_t l4)
146 #define AVG4 avg4
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Ddec_sse2.c972 const __m128i avg4 = _mm_subs_epu8(avg3, lsb2); in VL4_SSE2() local
973 const uint32_t extra_out = _mm_cvtsi128_si32(_mm_srli_si128(avg4, 4)); in VL4_SSE2()
975 WebPUint32ToMem(dst + 1 * BPS, _mm_cvtsi128_si32( avg4 )); in VL4_SSE2()
977 WebPUint32ToMem(dst + 3 * BPS, _mm_cvtsi128_si32(_mm_srli_si128(avg4, 1))); in VL4_SSE2()
Denc_sse2.c809 const __m128i avg4 = _mm_subs_epu8(avg3, lsb2); in VL4_SSE2() local
810 const uint32_t extra_out = _mm_cvtsi128_si32(_mm_srli_si128(avg4, 4)); in VL4_SSE2()
812 WebPUint32ToMem(dst + 1 * BPS, _mm_cvtsi128_si32( avg4 )); in VL4_SSE2()
814 WebPUint32ToMem(dst + 3 * BPS, _mm_cvtsi128_si32(_mm_srli_si128(avg4, 1))); in VL4_SSE2()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Ddec_sse2.c972 const __m128i avg4 = _mm_subs_epu8(avg3, lsb2); in VL4_SSE2() local
973 const uint32_t extra_out = _mm_cvtsi128_si32(_mm_srli_si128(avg4, 4)); in VL4_SSE2()
975 WebPUint32ToMem(dst + 1 * BPS, _mm_cvtsi128_si32( avg4 )); in VL4_SSE2()
977 WebPUint32ToMem(dst + 3 * BPS, _mm_cvtsi128_si32(_mm_srli_si128(avg4, 1))); in VL4_SSE2()
Denc_sse2.c809 const __m128i avg4 = _mm_subs_epu8(avg3, lsb2); in VL4_SSE2() local
810 const uint32_t extra_out = _mm_cvtsi128_si32(_mm_srli_si128(avg4, 4)); in VL4_SSE2()
812 WebPUint32ToMem(dst + 1 * BPS, _mm_cvtsi128_si32( avg4 )); in VL4_SSE2()
814 WebPUint32ToMem(dst + 3 * BPS, _mm_cvtsi128_si32(_mm_srli_si128(avg4, 1))); in VL4_SSE2()