Home
last modified time | relevance | path

Searched refs:__m128i (Results 1 – 25 of 261) sorted by relevance

1234567891011

/external/clang/lib/Headers/
Dxopintrin.h36 static __inline__ __m128i __DEFAULT_FN_ATTRS
37 _mm_maccs_epi16(__m128i __A, __m128i __B, __m128i __C) in _mm_maccs_epi16()
39 return (__m128i)__builtin_ia32_vpmacssww((__v8hi)__A, (__v8hi)__B, (__v8hi)__C); in _mm_maccs_epi16()
42 static __inline__ __m128i __DEFAULT_FN_ATTRS
43 _mm_macc_epi16(__m128i __A, __m128i __B, __m128i __C) in _mm_macc_epi16()
45 return (__m128i)__builtin_ia32_vpmacsww((__v8hi)__A, (__v8hi)__B, (__v8hi)__C); in _mm_macc_epi16()
48 static __inline__ __m128i __DEFAULT_FN_ATTRS
49 _mm_maccsd_epi16(__m128i __A, __m128i __B, __m128i __C) in _mm_maccsd_epi16()
51 return (__m128i)__builtin_ia32_vpmacsswd((__v8hi)__A, (__v8hi)__B, (__v4si)__C); in _mm_maccsd_epi16()
54 static __inline__ __m128i __DEFAULT_FN_ATTRS
[all …]
Dsmmintrin.h101 static __inline__ __m128i __DEFAULT_FN_ATTRS
102 _mm_blendv_epi8 (__m128i __V1, __m128i __V2, __m128i __M) in _mm_blendv_epi8()
104 return (__m128i) __builtin_ia32_pblendvb128 ((__v16qi)__V1, (__v16qi)__V2, in _mm_blendv_epi8()
109 (__m128i)__builtin_shufflevector((__v8hi)(__m128i)(V1), \
110 (__v8hi)(__m128i)(V2), \
121 static __inline__ __m128i __DEFAULT_FN_ATTRS
122 _mm_mullo_epi32 (__m128i __V1, __m128i __V2) in _mm_mullo_epi32()
124 return (__m128i) ((__v4su)__V1 * (__v4su)__V2); in _mm_mullo_epi32()
127 static __inline__ __m128i __DEFAULT_FN_ATTRS
128 _mm_mul_epi32 (__m128i __V1, __m128i __V2) in _mm_mul_epi32()
[all …]
Demmintrin.h30 typedef long long __m128i __attribute__((__vector_size__(16))); typedef
399 _mm_cvtepi32_pd(__m128i __a) in _mm_cvtepi32_pd()
405 static __inline__ __m128i __DEFAULT_FN_ATTRS
438 static __inline__ __m128i __DEFAULT_FN_ATTRS
441 return (__m128i)__builtin_ia32_cvttpd2dq((__v2df)__a); in _mm_cvttpd_epi32()
508 static __inline__ __m128i __DEFAULT_FN_ATTRS
515 return (__m128i){__u, 0L}; in _mm_loadu_si64()
652 static __inline__ __m128i __DEFAULT_FN_ATTRS
653 _mm_add_epi8(__m128i __a, __m128i __b) in _mm_add_epi8()
655 return (__m128i)((__v16qu)__a + (__v16qu)__b); in _mm_add_epi8()
[all …]
/external/clang/test/CodeGen/
Dxop-builtins.c11 __m128i test_mm_maccs_epi16(__m128i a, __m128i b, __m128i c) { in test_mm_maccs_epi16()
17 __m128i test_mm_macc_epi16(__m128i a, __m128i b, __m128i c) { in test_mm_macc_epi16()
23 __m128i test_mm_maccsd_epi16(__m128i a, __m128i b, __m128i c) { in test_mm_maccsd_epi16()
29 __m128i test_mm_maccd_epi16(__m128i a, __m128i b, __m128i c) { in test_mm_maccd_epi16()
35 __m128i test_mm_maccs_epi32(__m128i a, __m128i b, __m128i c) { in test_mm_maccs_epi32()
41 __m128i test_mm_macc_epi32(__m128i a, __m128i b, __m128i c) { in test_mm_macc_epi32()
47 __m128i test_mm_maccslo_epi32(__m128i a, __m128i b, __m128i c) { in test_mm_maccslo_epi32()
53 __m128i test_mm_macclo_epi32(__m128i a, __m128i b, __m128i c) { in test_mm_macclo_epi32()
59 __m128i test_mm_maccshi_epi32(__m128i a, __m128i b, __m128i c) { in test_mm_maccshi_epi32()
65 __m128i test_mm_macchi_epi32(__m128i a, __m128i b, __m128i c) { in test_mm_macchi_epi32()
[all …]
Dsse41-builtins.c11 __m128i test_mm_blend_epi16(__m128i V1, __m128i V2) { in test_mm_blend_epi16()
29 __m128i test_mm_blendv_epi8(__m128i V1, __m128i V2, __m128i V3) { in test_mm_blendv_epi8()
71 __m128i test_mm_cmpeq_epi64(__m128i A, __m128i B) { in test_mm_cmpeq_epi64()
78 __m128i test_mm_cvtepi8_epi16(__m128i a) { in test_mm_cvtepi8_epi16()
85 __m128i test_mm_cvtepi8_epi32(__m128i a) { in test_mm_cvtepi8_epi32()
92 __m128i test_mm_cvtepi8_epi64(__m128i a) { in test_mm_cvtepi8_epi64()
99 __m128i test_mm_cvtepi16_epi32(__m128i a) { in test_mm_cvtepi16_epi32()
106 __m128i test_mm_cvtepi16_epi64(__m128i a) { in test_mm_cvtepi16_epi64()
113 __m128i test_mm_cvtepi32_epi64(__m128i a) { in test_mm_cvtepi32_epi64()
120 __m128i test_mm_cvtepu8_epi16(__m128i a) { in test_mm_cvtepu8_epi16()
[all …]
Dsse2-builtins.c11 __m128i test_mm_add_epi8(__m128i A, __m128i B) { in test_mm_add_epi8()
17 __m128i test_mm_add_epi16(__m128i A, __m128i B) { in test_mm_add_epi16()
23 __m128i test_mm_add_epi32(__m128i A, __m128i B) { in test_mm_add_epi32()
29 __m128i test_mm_add_epi64(__m128i A, __m128i B) { in test_mm_add_epi64()
50 __m128i test_mm_adds_epi8(__m128i A, __m128i B) { in test_mm_adds_epi8()
56 __m128i test_mm_adds_epi16(__m128i A, __m128i B) { in test_mm_adds_epi16()
62 __m128i test_mm_adds_epu8(__m128i A, __m128i B) { in test_mm_adds_epu8()
68 __m128i test_mm_adds_epu16(__m128i A, __m128i B) { in test_mm_adds_epu16()
80 __m128i test_mm_and_si128(__m128i A, __m128i B) { in test_mm_and_si128()
93 __m128i test_mm_andnot_si128(__m128i A, __m128i B) { in test_mm_andnot_si128()
[all …]
Dssse3-builtins.c10 __m128i test_mm_abs_epi8(__m128i a) { in test_mm_abs_epi8()
16 __m128i test_mm_abs_epi16(__m128i a) { in test_mm_abs_epi16()
22 __m128i test_mm_abs_epi32(__m128i a) { in test_mm_abs_epi32()
28 __m128i test_mm_alignr_epi8(__m128i a, __m128i b) { in test_mm_alignr_epi8()
34 __m128i test2_mm_alignr_epi8(__m128i a, __m128i b) { in test2_mm_alignr_epi8()
40 __m128i test_mm_hadd_epi16(__m128i a, __m128i b) { in test_mm_hadd_epi16()
46 __m128i test_mm_hadd_epi32(__m128i a, __m128i b) { in test_mm_hadd_epi32()
52 __m128i test_mm_hadds_epi16(__m128i a, __m128i b) { in test_mm_hadds_epi16()
58 __m128i test_mm_hsub_epi16(__m128i a, __m128i b) { in test_mm_hsub_epi16()
64 __m128i test_mm_hsub_epi32(__m128i a, __m128i b) { in test_mm_hsub_epi32()
[all …]
Davx512vlbw-builtins.c22 __mmask16 test_mm_cmpeq_epi8_mask(__m128i __a, __m128i __b) { in test_mm_cmpeq_epi8_mask()
28 __mmask16 test_mm_mask_cmpeq_epi8_mask(__mmask16 __u, __m128i __a, __m128i __b) { in test_mm_mask_cmpeq_epi8_mask()
48 __mmask8 test_mm_cmpeq_epi16_mask(__m128i __a, __m128i __b) { in test_mm_cmpeq_epi16_mask()
54 __mmask8 test_mm_mask_cmpeq_epi16_mask(__mmask8 __u, __m128i __a, __m128i __b) { in test_mm_mask_cmpeq_epi16_mask()
74 __mmask16 test_mm_cmpgt_epi8_mask(__m128i __a, __m128i __b) { in test_mm_cmpgt_epi8_mask()
80 __mmask16 test_mm_mask_cmpgt_epi8_mask(__mmask16 __u, __m128i __a, __m128i __b) { in test_mm_mask_cmpgt_epi8_mask()
100 __mmask8 test_mm_cmpgt_epi16_mask(__m128i __a, __m128i __b) { in test_mm_cmpgt_epi16_mask()
106 __mmask8 test_mm_mask_cmpgt_epi16_mask(__mmask8 __u, __m128i __a, __m128i __b) { in test_mm_mask_cmpgt_epi16_mask()
113 __mmask16 test_mm_cmpeq_epu8_mask(__m128i __a, __m128i __b) { in test_mm_cmpeq_epu8_mask()
119 __mmask16 test_mm_mask_cmpeq_epu8_mask(__mmask16 __u, __m128i __a, __m128i __b) { in test_mm_mask_cmpeq_epu8_mask()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dfwd_txfm_sse2.h21 static INLINE __m128i k_madd_epi32(__m128i a, __m128i b) { in k_madd_epi32()
22 __m128i buf0, buf1; in k_madd_epi32()
30 static INLINE __m128i k_packs_epi64(__m128i a, __m128i b) { in k_packs_epi64()
31 __m128i buf0 = _mm_shuffle_epi32(a, _MM_SHUFFLE(0, 0, 2, 0)); in k_packs_epi64()
32 __m128i buf1 = _mm_shuffle_epi32(b, _MM_SHUFFLE(0, 0, 2, 0)); in k_packs_epi64()
36 static INLINE int check_epi16_overflow_x2(const __m128i *preg0, in check_epi16_overflow_x2()
37 const __m128i *preg1) { in check_epi16_overflow_x2()
38 const __m128i max_overflow = _mm_set1_epi16(0x7fff); in check_epi16_overflow_x2()
39 const __m128i min_overflow = _mm_set1_epi16(0x8000); in check_epi16_overflow_x2()
40 __m128i cmp0 = _mm_or_si128(_mm_cmpeq_epi16(*preg0, max_overflow), in check_epi16_overflow_x2()
[all …]
Dfwd_txfm_impl_sse2.h46 const __m128i k__cospi_A = in FDCT4x4_2D()
49 const __m128i k__cospi_B = in FDCT4x4_2D()
52 const __m128i k__cospi_C = in FDCT4x4_2D()
55 const __m128i k__cospi_D = in FDCT4x4_2D()
58 const __m128i k__cospi_E = in FDCT4x4_2D()
61 const __m128i k__cospi_F = in FDCT4x4_2D()
64 const __m128i k__cospi_G = in FDCT4x4_2D()
67 const __m128i k__cospi_H = in FDCT4x4_2D()
71 const __m128i k__DCT_CONST_ROUNDING = _mm_set1_epi32(DCT_CONST_ROUNDING); in FDCT4x4_2D()
73 const __m128i k__DCT_CONST_ROUNDING2 = in FDCT4x4_2D()
[all …]
Dvpx_subpixel_8t_intrin_ssse3.c54 __m128i firstFilters, secondFilters, shuffle1, shuffle2; in vpx_filter_block1d4_h8_intrin_ssse3()
55 __m128i srcRegFilt1, srcRegFilt2, srcRegFilt3, srcRegFilt4; in vpx_filter_block1d4_h8_intrin_ssse3()
56 __m128i addFilterReg64, filtersReg, srcReg, minReg; in vpx_filter_block1d4_h8_intrin_ssse3()
61 filtersReg = _mm_loadu_si128((const __m128i *)filter); in vpx_filter_block1d4_h8_intrin_ssse3()
78 shuffle1 = _mm_load_si128((__m128i const *)filt1_4_h8); in vpx_filter_block1d4_h8_intrin_ssse3()
79 shuffle2 = _mm_load_si128((__m128i const *)filt2_4_h8); in vpx_filter_block1d4_h8_intrin_ssse3()
82 srcReg = _mm_loadu_si128((const __m128i *)(src_ptr - 3)); in vpx_filter_block1d4_h8_intrin_ssse3()
122 __m128i firstFilters, secondFilters, thirdFilters, forthFilters, srcReg; in vpx_filter_block1d8_h8_intrin_ssse3()
123 __m128i filt1Reg, filt2Reg, filt3Reg, filt4Reg; in vpx_filter_block1d8_h8_intrin_ssse3()
124 __m128i srcRegFilt1, srcRegFilt2, srcRegFilt3, srcRegFilt4; in vpx_filter_block1d8_h8_intrin_ssse3()
[all …]
/external/webp/src/dsp/
Denc_sse2.c47 const __m128i k1 = _mm_set1_epi16(20091); in ITransform()
48 const __m128i k2 = _mm_set1_epi16(-30068); in ITransform()
49 __m128i T0, T1, T2, T3; in ITransform()
55 __m128i in0, in1, in2, in3; in ITransform()
57 in0 = _mm_loadl_epi64((const __m128i*)&in[0]); in ITransform()
58 in1 = _mm_loadl_epi64((const __m128i*)&in[4]); in ITransform()
59 in2 = _mm_loadl_epi64((const __m128i*)&in[8]); in ITransform()
60 in3 = _mm_loadl_epi64((const __m128i*)&in[12]); in ITransform()
66 const __m128i inB0 = _mm_loadl_epi64((const __m128i*)&in[16]); in ITransform()
67 const __m128i inB1 = _mm_loadl_epi64((const __m128i*)&in[20]); in ITransform()
[all …]
Dlossless_enc_sse2.c32 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb in SubtractGreenFromBlueAndRed()
33 const __m128i A = _mm_srli_epi16(in, 8); // 0 a 0 g in SubtractGreenFromBlueAndRed()
34 const __m128i B = _mm_shufflelo_epi16(A, _MM_SHUFFLE(2, 2, 0, 0)); in SubtractGreenFromBlueAndRed()
35 const __m128i C = _mm_shufflehi_epi16(B, _MM_SHUFFLE(2, 2, 0, 0)); // 0g0g in SubtractGreenFromBlueAndRed()
36 const __m128i out = _mm_sub_epi8(in, C); in SubtractGreenFromBlueAndRed()
37 _mm_storeu_si128((__m128i*)&argb_data[i], out); in SubtractGreenFromBlueAndRed()
50 const __m128i mults_rb = _mm_set_epi16( in TransformColor()
55 const __m128i mults_b2 = _mm_set_epi16( in TransformColor()
58 const __m128i mask_ag = _mm_set1_epi32(0xff00ff00); // alpha-green masks in TransformColor()
59 const __m128i mask_rb = _mm_set1_epi32(0x00ff00ff); // red-blue masks in TransformColor()
[all …]
Dlossless_sse2.c29 const __m128i zero = _mm_setzero_si128(); in ClampedAddSubtractFull()
30 const __m128i C0 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(c0), zero); in ClampedAddSubtractFull()
31 const __m128i C1 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(c1), zero); in ClampedAddSubtractFull()
32 const __m128i C2 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(c2), zero); in ClampedAddSubtractFull()
33 const __m128i V1 = _mm_add_epi16(C0, C1); in ClampedAddSubtractFull()
34 const __m128i V2 = _mm_sub_epi16(V1, C2); in ClampedAddSubtractFull()
35 const __m128i b = _mm_packus_epi16(V2, V2); in ClampedAddSubtractFull()
42 const __m128i zero = _mm_setzero_si128(); in ClampedAddSubtractHalf()
43 const __m128i C0 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(c0), zero); in ClampedAddSubtractHalf()
44 const __m128i C1 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(c1), zero); in ClampedAddSubtractHalf()
[all …]
Denc_sse41.c29 const __m128i max_coeff_thresh = _mm_set1_epi16(MAX_COEFF_THRESH); in CollectHistogram()
41 const __m128i out0 = _mm_loadu_si128((__m128i*)&out[0]); in CollectHistogram()
42 const __m128i out1 = _mm_loadu_si128((__m128i*)&out[8]); in CollectHistogram()
44 const __m128i abs0 = _mm_abs_epi16(out0); in CollectHistogram()
45 const __m128i abs1 = _mm_abs_epi16(out1); in CollectHistogram()
46 const __m128i v0 = _mm_srai_epi16(abs0, 3); in CollectHistogram()
47 const __m128i v1 = _mm_srai_epi16(abs1, 3); in CollectHistogram()
49 const __m128i bin0 = _mm_min_epi16(v0, max_coeff_thresh); in CollectHistogram()
50 const __m128i bin1 = _mm_min_epi16(v1, max_coeff_thresh); in CollectHistogram()
52 _mm_storeu_si128((__m128i*)&out[0], bin0); in CollectHistogram()
[all …]
Ddec_sse2.c48 const __m128i k1 = _mm_set1_epi16(20091); in Transform()
49 const __m128i k2 = _mm_set1_epi16(-30068); in Transform()
50 __m128i T0, T1, T2, T3; in Transform()
55 __m128i in0, in1, in2, in3; in Transform()
57 in0 = _mm_loadl_epi64((const __m128i*)&in[0]); in Transform()
58 in1 = _mm_loadl_epi64((const __m128i*)&in[4]); in Transform()
59 in2 = _mm_loadl_epi64((const __m128i*)&in[8]); in Transform()
60 in3 = _mm_loadl_epi64((const __m128i*)&in[12]); in Transform()
66 const __m128i inB0 = _mm_loadl_epi64((const __m128i*)&in[16]); in Transform()
67 const __m128i inB1 = _mm_loadl_epi64((const __m128i*)&in[20]); in Transform()
[all …]
Dyuv_sse2.c29 static void ConvertYUV444ToRGB(const __m128i* const Y0, in ConvertYUV444ToRGB()
30 const __m128i* const U0, in ConvertYUV444ToRGB()
31 const __m128i* const V0, in ConvertYUV444ToRGB()
32 __m128i* const R, in ConvertYUV444ToRGB()
33 __m128i* const G, in ConvertYUV444ToRGB()
34 __m128i* const B) { in ConvertYUV444ToRGB()
35 const __m128i k19077 = _mm_set1_epi16(19077); in ConvertYUV444ToRGB()
36 const __m128i k26149 = _mm_set1_epi16(26149); in ConvertYUV444ToRGB()
37 const __m128i k14234 = _mm_set1_epi16(14234); in ConvertYUV444ToRGB()
39 const __m128i k33050 = _mm_set1_epi16((short)33050); in ConvertYUV444ToRGB()
[all …]
Dalpha_processing_sse2.c28 const __m128i zero = _mm_setzero_si128(); in DispatchAlpha()
29 const __m128i rgb_mask = _mm_set1_epi32(0xffffff00u); // to preserve RGB in DispatchAlpha()
30 const __m128i all_0xff = _mm_set_epi32(0, 0, ~0u, ~0u); in DispatchAlpha()
31 __m128i all_alphas = all_0xff; in DispatchAlpha()
39 __m128i* out = (__m128i*)dst; in DispatchAlpha()
42 const __m128i a0 = _mm_loadl_epi64((const __m128i*)&alpha[i]); in DispatchAlpha()
43 const __m128i a1 = _mm_unpacklo_epi8(a0, zero); in DispatchAlpha()
44 const __m128i a2_lo = _mm_unpacklo_epi16(a1, zero); in DispatchAlpha()
45 const __m128i a2_hi = _mm_unpackhi_epi16(a1, zero); in DispatchAlpha()
47 const __m128i b0_lo = _mm_loadu_si128(out + 0); in DispatchAlpha()
[all …]
/external/libmpeg2/common/x86/
Dimpeg2_inter_pred_sse42_intr.c76 __m128i src_r0, src_r1, src_r2, src_r3; in impeg2_copy_mb_sse42()
84 src_r0 = _mm_loadu_si128((__m128i *) (src)); in impeg2_copy_mb_sse42()
85 src_r1 = _mm_loadu_si128((__m128i *) (src + src_wd)); in impeg2_copy_mb_sse42()
86 src_r2 = _mm_loadu_si128((__m128i *) (src + 2 * src_wd)); in impeg2_copy_mb_sse42()
87 src_r3 = _mm_loadu_si128((__m128i *) (src + 3 * src_wd)); in impeg2_copy_mb_sse42()
89 _mm_storeu_si128((__m128i *) dst, src_r0); in impeg2_copy_mb_sse42()
90 _mm_storeu_si128((__m128i *) (dst + dst_wd), src_r1); in impeg2_copy_mb_sse42()
91 _mm_storeu_si128((__m128i *) (dst + 2 * dst_wd), src_r2); in impeg2_copy_mb_sse42()
92 _mm_storeu_si128((__m128i *) (dst + 3 * dst_wd), src_r3); in impeg2_copy_mb_sse42()
97 src_r0 = _mm_loadu_si128((__m128i *) (src)); in impeg2_copy_mb_sse42()
[all …]
/external/skia/src/opts/
DSkColor_opts_SSE2.h19 static inline __m128i Multiply32_SSE2(const __m128i& a, const __m128i& b) { in Multiply32_SSE2()
21 __m128i r1 = _mm_mul_epu32(a, b); in Multiply32_SSE2()
23 __m128i r2 = _mm_mul_epu32(_mm_srli_si128(a, 4), _mm_srli_si128(b, 4)); in Multiply32_SSE2()
25 __m128i r = _mm_unpacklo_epi32(_mm_shuffle_epi32(r1, _MM_SHUFFLE(0,0,2,0)), in Multiply32_SSE2()
30 static inline __m128i SkAlpha255To256_SSE2(const __m128i& alpha) { in SkAlpha255To256_SSE2()
35 static inline __m128i SkAlphaMulAlpha_SSE2(const __m128i& a, in SkAlphaMulAlpha_SSE2()
36 const __m128i& b) { in SkAlphaMulAlpha_SSE2()
37 __m128i prod = _mm_mullo_epi16(a, b); in SkAlphaMulAlpha_SSE2()
46 static inline __m128i SkAlphaMulQ_SSE2(const __m128i& c, const __m128i& scale) { in SkAlphaMulQ_SSE2()
47 const __m128i mask = _mm_set1_epi32(0xFF00FF); in SkAlphaMulQ_SSE2()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_pwr8.h39 typedef VECTOR_ALIGN_16 vector unsigned char __m128i; typedef
42 __m128i m128i;
51 static inline __m128i
68 return (__m128i) vdst.m128si; in vec_set_epi32()
71 static inline __m128i
77 static inline __m128i
78 vec_unpacklo_epi32 (__m128i even, __m128i odd) in vec_unpacklo_epi32()
80 static const __m128i perm_mask = in vec_unpacklo_epi32()
90 static inline __m128i
91 vec_unpackhi_epi32 (__m128i even, __m128i odd) in vec_unpackhi_epi32()
[all …]
/external/gemmlowp/fixedpoint/
Dfixedpoint_sse.h27 struct FixedPointRawTypeTraits<__m128i> {
33 inline __m128i BitAnd(__m128i a, __m128i b) {
38 inline __m128i BitOr(__m128i a, __m128i b) {
43 inline __m128i BitXor(__m128i a, __m128i b) {
48 inline __m128i BitNot(__m128i a) {
53 inline __m128i Add(__m128i a, __m128i b) {
58 inline __m128i Mul(__m128i a, __m128i b) {
63 inline __m128i Sub(__m128i a, __m128i b) {
68 inline __m128i Neg(__m128i a) {
73 inline __m128i ShiftLeft(__m128i a, int offset) {
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_frame_scale_ssse3.c25 const __m128i mask = _mm_set1_epi16(0x00FF); in downsample_2_to_1_ssse3()
31 const __m128i a = _mm_loadu_si128((const __m128i *)(src + x * 2 + 0)); in downsample_2_to_1_ssse3()
32 const __m128i b = _mm_loadu_si128((const __m128i *)(src + x * 2 + 16)); in downsample_2_to_1_ssse3()
33 const __m128i a_and = _mm_and_si128(a, mask); in downsample_2_to_1_ssse3()
34 const __m128i b_and = _mm_and_si128(b, mask); in downsample_2_to_1_ssse3()
35 const __m128i c = _mm_packus_epi16(a_and, b_and); in downsample_2_to_1_ssse3()
36 _mm_storeu_si128((__m128i *)(dst + x), c); in downsample_2_to_1_ssse3()
44 static INLINE __m128i filter(const __m128i *const a, const __m128i *const b, in filter()
45 const __m128i *const c, const __m128i *const d, in filter()
46 const __m128i *const e, const __m128i *const f, in filter()
[all …]
Dvp9_dct_ssse3.c26 __m128i zero; in vp9_fdct8x8_quant_ssse3()
33 const __m128i k__dual_p16_p16 = dual_set_epi16(23170, 23170); in vp9_fdct8x8_quant_ssse3()
34 const __m128i k__cospi_p16_p16 = _mm_set1_epi16((int16_t)cospi_16_64); in vp9_fdct8x8_quant_ssse3()
35 const __m128i k__cospi_p16_m16 = pair_set_epi16(cospi_16_64, -cospi_16_64); in vp9_fdct8x8_quant_ssse3()
36 const __m128i k__cospi_p24_p08 = pair_set_epi16(cospi_24_64, cospi_8_64); in vp9_fdct8x8_quant_ssse3()
37 const __m128i k__cospi_m08_p24 = pair_set_epi16(-cospi_8_64, cospi_24_64); in vp9_fdct8x8_quant_ssse3()
38 const __m128i k__cospi_p28_p04 = pair_set_epi16(cospi_28_64, cospi_4_64); in vp9_fdct8x8_quant_ssse3()
39 const __m128i k__cospi_m04_p28 = pair_set_epi16(-cospi_4_64, cospi_28_64); in vp9_fdct8x8_quant_ssse3()
40 const __m128i k__cospi_p12_p20 = pair_set_epi16(cospi_12_64, cospi_20_64); in vp9_fdct8x8_quant_ssse3()
41 const __m128i k__cospi_m20_p12 = pair_set_epi16(-cospi_20_64, cospi_12_64); in vp9_fdct8x8_quant_ssse3()
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Ddenoising_sse2.c21 static INLINE unsigned int abs_sum_diff_16x1(__m128i acc_diff) { in abs_sum_diff_16x1()
22 const __m128i k_1 = _mm_set1_epi16(1); in abs_sum_diff_16x1()
23 const __m128i acc_diff_lo = in abs_sum_diff_16x1()
25 const __m128i acc_diff_hi = in abs_sum_diff_16x1()
27 const __m128i acc_diff_16 = _mm_add_epi16(acc_diff_lo, acc_diff_hi); in abs_sum_diff_16x1()
28 const __m128i hg_fe_dc_ba = _mm_madd_epi16(acc_diff_16, k_1); in abs_sum_diff_16x1()
29 const __m128i hgfe_dcba = in abs_sum_diff_16x1()
31 const __m128i hgfedcba = in abs_sum_diff_16x1()
51 __m128i acc_diff = _mm_setzero_si128(); in vp8_denoiser_filter_sse2()
52 const __m128i k_0 = _mm_setzero_si128(); in vp8_denoiser_filter_sse2()
[all …]

1234567891011