Home
last modified time | relevance | path

Searched refs:_mm_adds_epu16 (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/modules/desktop_capture/
Ddiffer_block_sse2.cc37 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
41 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
45 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
49 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
54 sad = _mm_adds_epu16(sad, acc); in BlockDifference_SSE2_W16()
77 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
81 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
85 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
89 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
93 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_avg_intrin_sse2.c100 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
102 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
104 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
106 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
108 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
110 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
112 s0 = _mm_adds_epu16(s0, s1); in vp9_avg_8x8_sse2()
114 s0 = _mm_adds_epu16(s0, _mm_srli_si128(s0, 8)); in vp9_avg_8x8_sse2()
115 s0 = _mm_adds_epu16(s0, _mm_srli_epi64(s0, 32)); in vp9_avg_8x8_sse2()
116 s0 = _mm_adds_epu16(s0, _mm_srli_epi64(s0, 16)); in vp9_avg_8x8_sse2()
[all …]
/external/webp/src/dsp/
Dalpha_processing_sse2.c165 const __m128i argb4 = _mm_adds_epu16(argb2, argb3); \
242 const __m128i argb4 = _mm_adds_epu16(argb2, argb3); in MultARGBRow()
243 const __m128i argb5 = _mm_adds_epu16(argb4, kRound); in MultARGBRow()
269 const __m128i v4 = _mm_adds_epu16(v2, v3); in MultRow()
270 const __m128i v5 = _mm_adds_epu16(v4, kRound); in MultRow()
Dyuv_sse2.c56 const __m128i B1 = _mm_adds_epu16(B0, Y1); in ConvertYUV444ToRGB()
/external/opencv3/modules/imgproc/src/
Dpyramids.cpp317 __m128i v_2r1 = _mm_adds_epu16(v_r1, v_r1), v_4r1 = _mm_adds_epu16(v_2r1, v_2r1); in operator ()()
318 … __m128i v_dst00 = _mm_adds_epu16(_mm_adds_epu16(v_r0, v_r2), _mm_adds_epu16(v_2r1, v_4r1)); in operator ()()
319 __m128i v_dst10 = _mm_slli_epi16(_mm_adds_epu16(v_r1, v_r2), 2); in operator ()()
328 v_2r1 = _mm_adds_epu16(v_r1, v_r1), v_4r1 = _mm_adds_epu16(v_2r1, v_2r1); in operator ()()
329 … __m128i v_dst01 = _mm_adds_epu16(_mm_adds_epu16(v_r0, v_r2), _mm_adds_epu16(v_2r1, v_4r1)); in operator ()()
330 __m128i v_dst11 = _mm_slli_epi16(_mm_adds_epu16(v_r1, v_r2), 2); in operator ()()
332 …_mm_storeu_si128((__m128i *)(dst0 + x), _mm_packus_epi16(_mm_srli_epi16(_mm_adds_epu16(v_dst00, v_… in operator ()()
333 … _mm_srli_epi16(_mm_adds_epu16(v_dst01, v_delta), 6))); in operator ()()
334 …_mm_storeu_si128((__m128i *)(dst1 + x), _mm_packus_epi16(_mm_srli_epi16(_mm_adds_epu16(v_dst10, v_… in operator ()()
335 … _mm_srli_epi16(_mm_adds_epu16(v_dst11, v_delta), 6))); in operator ()()
[all …]
Ddemosaicing.cpp941 #define _mm_absdiff_epu16(a,b) _mm_adds_epu16(_mm_subs_epu16(a, b), _mm_subs_epu16(b, a)) in Bayer2RGB_VNG_8u()
980 b0 = _mm_adds_epu16(_mm_slli_epi16(_mm_absdiff_epu16(s2,s8),1), in Bayer2RGB_VNG_8u()
981 _mm_adds_epu16(_mm_absdiff_epu16(s1, s7), in Bayer2RGB_VNG_8u()
983 b1 = _mm_adds_epu16(_mm_slli_epi16(_mm_absdiff_epu16(s4,s6),1), in Bayer2RGB_VNG_8u()
984 _mm_adds_epu16(_mm_absdiff_epu16(s1, s3), in Bayer2RGB_VNG_8u()
994 b4 = _mm_adds_epu16(b2,_mm_adds_epu16(_mm_absdiff_epu16(s2, s4), in Bayer2RGB_VNG_8u()
996 b5 = _mm_adds_epu16(b3,_mm_adds_epu16(_mm_absdiff_epu16(s2, s6), in Bayer2RGB_VNG_8u()
998 b6 = _mm_adds_epu16(_mm_adds_epu16(s2, s4), _mm_adds_epu16(s6, s8)); in Bayer2RGB_VNG_8u()
Dmorph.cpp541 { return _mm_adds_epu16(_mm_subs_epu16(a,b), b); } in operator ()()
Dsmooth.cpp2257 b = _mm_adds_epu16(b, t); in operator ()()
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_loopfilter_sse2.c123 abs_p0q0 =_mm_adds_epu16(abs_p0q0, abs_p0q0); // abs(p0 - q0) * 2 in highbd_mb_lpf_horizontal_edge_w_sse2_8()
125 mask = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), blimit); in highbd_mb_lpf_horizontal_edge_w_sse2_8()
127 mask = _mm_and_si128(mask, _mm_adds_epu16(limit, one)); in highbd_mb_lpf_horizontal_edge_w_sse2_8()
603 abs_p0q0 =_mm_adds_epu16(abs_p0q0, abs_p0q0); in vpx_highbd_lpf_horizontal_8_sse2()
605 mask = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), blimit); in vpx_highbd_lpf_horizontal_8_sse2()
609 mask = _mm_and_si128(mask, _mm_adds_epu16(limit, one)); in vpx_highbd_lpf_horizontal_8_sse2()
863 abs_p0q0 =_mm_adds_epu16(abs_p0q0, abs_p0q0); in vpx_highbd_lpf_horizontal_4_sse2()
865 mask = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), blimit); in vpx_highbd_lpf_horizontal_4_sse2()
869 mask = _mm_and_si128(mask, _mm_adds_epu16(limit, one)); in vpx_highbd_lpf_horizontal_4_sse2()
/external/opencv3/modules/hal/include/opencv2/hal/
Dintrin_sse.hpp325 return v_uint8x16(_mm_packus_epi16(_mm_srli_epi16(_mm_adds_epu16(a.val, delta), n), in v_rshr_pack()
326 _mm_srli_epi16(_mm_adds_epu16(b.val, delta), n))); in v_rshr_pack()
333 __m128i a1 = _mm_srli_epi16(_mm_adds_epu16(a.val, delta), n); in v_rshr_pack_store()
578 OPENCV_HAL_IMPL_SSE_BIN_OP(+, v_uint16x8, _mm_adds_epu16)
745 return v_uint16x8(_mm_adds_epu16(_mm_subs_epu16(a.val, b.val), b.val)); in v_max()
/external/clang/test/CodeGen/
Dsse2-builtins.c66 return _mm_adds_epu16(A, B); in test_mm_adds_epu16()
/external/clang/lib/Headers/
Demmintrin.h678 _mm_adds_epu16(__m128i __a, __m128i __b) in _mm_adds_epu16() function
/external/opencv3/modules/core/src/
Darithm.cpp503 FUNCTOR_CLOSURE_2arg(VAdd, ushort, return _mm_adds_epu16(a, b));
539 FUNCTOR_CLOSURE_2arg(VMax, ushort, return _mm_adds_epu16(_mm_subs_epu16(a, b), b));