Home
last modified time | relevance | path

Searched refs:_mm_srli_epi16 (Results 1 – 25 of 77) sorted by relevance

1234

/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_loopfilter_sse2.c118 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); // abs(p1 - q1) / 2 in vpx_highbd_lpf_horizontal_16_sse2()
267 _mm_srli_epi16(_mm_add_epi16(pixelFilter_p, _mm_add_epi16(p7, p0)), 4); in vpx_highbd_lpf_horizontal_16_sse2()
269 _mm_srli_epi16(_mm_add_epi16(pixelFilter_p, _mm_add_epi16(q7, q0)), 4); in vpx_highbd_lpf_horizontal_16_sse2()
270 flat_p0 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
272 flat_q0 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
282 flat2_p1 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
284 flat2_q1 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
289 flat_p1 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
291 flat_q1 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
301 flat2_p2 = _mm_srli_epi16( in vpx_highbd_lpf_horizontal_16_sse2()
[all …]
Dloopfilter_avx2.c66 abs_p1q1 = _mm_srli_epi16(_mm_and_si128(abs_p1q1, fe), 1); in vpx_lpf_horizontal_16_avx2()
208 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
210 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
213 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
215 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
227 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
229 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
235 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
237 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
248 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_avx2()
[all …]
Dloopfilter_sse2.c43 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 9); \
275 abs_p1q1 = _mm_srli_epi16(_mm_and_si128(abs_p1q1, fe), 1); in vpx_lpf_horizontal_16_sse2()
406 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
408 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
411 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
413 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
425 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
427 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
433 res_p = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
435 res_q = _mm_srli_epi16( in vpx_lpf_horizontal_16_sse2()
[all …]
Dhighbd_intrapred_intrin_sse2.c185 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, two), 2); in vpx_highbd_dc_left_predictor_4x4_sse2()
196 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, two), 2); in vpx_highbd_dc_top_predictor_4x4_sse2()
239 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, four), 3); in vpx_highbd_dc_left_predictor_8x8_sse2()
250 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, four), 3); in vpx_highbd_dc_top_predictor_8x8_sse2()
291 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, eight), 4); in vpx_highbd_dc_left_predictor_16x16_sse2()
302 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, eight), 4); in vpx_highbd_dc_top_predictor_16x16_sse2()
/external/webp/src/dsp/
Dcommon_sse2.h120 (OUT##3) = _mm_packus_epi16(_mm_srli_epi16((IN##0), 8), \
121 _mm_srli_epi16((IN##1), 8)); \
122 (OUT##4) = _mm_packus_epi16(_mm_srli_epi16((IN##2), 8), \
123 _mm_srli_epi16((IN##3), 8)); \
124 (OUT##5) = _mm_packus_epi16(_mm_srli_epi16((IN##4), 8), \
125 _mm_srli_epi16((IN##5), 8)); \
Dlossless_sse2.c49 const __m128i A0 = _mm_srli_epi16(avg, 1); in ClampedAddSubtractHalf_SSE2()
110 return _mm_srli_epi16(sum, 1); in Average2_uint32_16_SSE2()
125 const __m128i avg2 = _mm_srli_epi16(sum, 1); in Average3_SSE2()
136 const __m128i avg3 = _mm_srli_epi16(sum, 1); in Average4_SSE2()
437 const __m128i A = _mm_srli_epi16(in, 8); // 0 a 0 g in GENERATE_PREDICTOR_ADD()
476 const __m128i J = _mm_srli_epi16(I, 8); // 0 r' 0 b'' in TransformColorInverse_SSE2()
570 const __m128i ga1 = _mm_srli_epi16(ga0, 4); // g0-|g1-|...|a6-|a7- in ConvertBGRAToRGBA4444_SSE2()
608 const __m128i g_lo1 = _mm_srli_epi16(ga0, 5); in ConvertBGRAToRGB565_SSE2()
614 const __m128i b1 = _mm_srli_epi16(b0, 3); in ConvertBGRAToRGB565_SSE2()
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_loopfilter_sse2.c89 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); in highbd_filter_mask_dual()
127 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); // divide by 2 in highbd_hev_filter_mask_x_sse2()
401 flat_pq[0] = _mm_srli_epi16(_mm_unpacklo_epi64(flat_p[0], flat_q[0]), 3); in highbd_lpf_internal_14_sse2()
402 flat_pq[1] = _mm_srli_epi16(_mm_unpacklo_epi64(flat_p[1], flat_q[1]), 3); in highbd_lpf_internal_14_sse2()
412 flat_pq[2] = _mm_srli_epi16(_mm_unpacklo_epi64(flat_p[2], flat_q[2]), 3); in highbd_lpf_internal_14_sse2()
425 _mm_srli_epi16(_mm_unpacklo_epi64(flat2_p[0], flat2_q[0]), 4); in highbd_lpf_internal_14_sse2()
427 _mm_srli_epi16(_mm_unpacklo_epi64(flat2_p[1], flat2_q[1]), 4); in highbd_lpf_internal_14_sse2()
438 _mm_srli_epi16(_mm_unpacklo_epi64(flat2_p[2], flat2_q[2]), 4); in highbd_lpf_internal_14_sse2()
449 _mm_srli_epi16(_mm_unpacklo_epi64(flat2_p[3], flat2_q[3]), 4); in highbd_lpf_internal_14_sse2()
460 _mm_srli_epi16(_mm_unpacklo_epi64(flat2_p[4], flat2_q[4]), 4); in highbd_lpf_internal_14_sse2()
[all …]
Dloopfilter_sse2.c274 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 9); in lpf_internal_4_sse2()
317 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 9); in lpf_internal_4_dual_sse2()
426 abs_p1q1 = _mm_srli_epi16(_mm_and_si128(abs_p1q1, fe), 1); in lpf_internal_14_dual_sse2()
499 res_p = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
504 res_q = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
511 res_p = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
513 res_q = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
526 res_p = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
532 res_q = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
542 res_p = _mm_srli_epi16( in lpf_internal_14_dual_sse2()
[all …]
Dhighbd_intrapred_sse2.c270 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, two), 2); in aom_highbd_dc_left_predictor_4x4_sse2()
281 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, two), 2); in aom_highbd_dc_top_predictor_4x4_sse2()
324 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, four), 3); in aom_highbd_dc_left_predictor_4x8_sse2()
335 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, two), 2); in aom_highbd_dc_top_predictor_4x8_sse2()
371 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, four), 3); in dc_top_predictor_8xh()
407 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, two), 2); in aom_highbd_dc_left_predictor_8x4_sse2()
418 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, four), 3); in aom_highbd_dc_left_predictor_8x8_sse2()
436 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, eight), 4); in aom_highbd_dc_left_predictor_8x16_sse2()
498 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, four), 3); in aom_highbd_dc_left_predictor_16x8_sse2()
509 const __m128i dc = _mm_srli_epi16(_mm_add_epi16(sum, eight), 4); in aom_highbd_dc_left_predictor_16x16_sse2()
[all …]
Dquantize_ssse3.c30 tmp = _mm_srli_epi16(tmp, 14); in calculate_qcoeff_64x64()
93 zbin = _mm_srli_epi16(zbin, 2); in aom_quantize_b_64x64_ssse3()
94 round = _mm_srli_epi16(round, 2); in aom_quantize_b_64x64_ssse3()
Dsynonyms.h93 const __m128i v_s_w = _mm_srli_epi16(v_val_w, bits - 1); in xx_roundn_epu16()
/external/skqp/src/core/
DSkBlitRow_D32.cpp39 __m128i src_ag = _mm_srli_epi16(src, 8); in SkPMLerp_SSE2()
41 __m128i dst_ag = _mm_srli_epi16(dst, 8); in SkPMLerp_SSE2()
51 diff_rb = _mm_srli_epi16(diff_rb, 8); in SkPMLerp_SSE2()
105 __m128i src_ag = _mm_srli_epi16(src, 8); in SkBlendARGB32_SSE2()
107 __m128i dst_ag = _mm_srli_epi16(dst, 8); in SkBlendARGB32_SSE2()
120 dst_rb = _mm_srli_epi16(dst_rb, 8); in SkBlendARGB32_SSE2()
/external/skia/src/core/
DSkBlitRow_D32.cpp38 __m128i src_ag = _mm_srli_epi16(src, 8); in SkPMLerp_SSE2()
40 __m128i dst_ag = _mm_srli_epi16(dst, 8); in SkPMLerp_SSE2()
50 diff_rb = _mm_srli_epi16(diff_rb, 8); in SkPMLerp_SSE2()
104 __m128i src_ag = _mm_srli_epi16(src, 8); in SkBlendARGB32_SSE2()
106 __m128i dst_ag = _mm_srli_epi16(dst, 8); in SkBlendARGB32_SSE2()
119 dst_rb = _mm_srli_epi16(dst_rb, 8); in SkBlendARGB32_SSE2()
/external/libhevc/common/x86/
Dihevc_deblk_ssse3_intr.c158 temp_coef1_8x16b = _mm_srli_epi16(temp_coef0_8x16b, 15); in ihevc_deblk_luma_vert_ssse3()
168 temp_coef0_8x16b = _mm_srli_epi16(temp_coef1_8x16b, 8); in ihevc_deblk_luma_vert_ssse3()
263 const2_8x16b = _mm_srli_epi16(const2_8x16b, 15); in ihevc_deblk_luma_vert_ssse3()
330 const2_8x16b = _mm_srli_epi16(const2_8x16b, 8); in ihevc_deblk_luma_vert_ssse3()
333 temp_pq_str1_16x8b = _mm_srli_epi16(temp_str3_16x8b, 8); in ihevc_deblk_luma_vert_ssse3()
334 temp_pq1_str1_16x8b = _mm_srli_epi16(temp_pq1_str1_16x8b, 8); in ihevc_deblk_luma_vert_ssse3()
425 const2_8x16b = _mm_srli_epi16(tmp1_const_8x16b, 15); in ihevc_deblk_luma_vert_ssse3()
464 const2_8x16b = _mm_srli_epi16(tmp1_const_8x16b, 15); in ihevc_deblk_luma_vert_ssse3()
618 temp_coef1_8x16b = _mm_srli_epi16(temp_coef0_8x16b, 15); in ihevc_deblk_luma_horz_ssse3()
628 temp_coef0_8x16b = _mm_srli_epi16(temp_coef1_8x16b, 8); in ihevc_deblk_luma_horz_ssse3()
[all …]
/external/libaom/libaom/av1/common/x86/
Dreconinter_sse4.c22 return _mm_abs_epi16(_mm_add_epi16(mask_base, _mm_srli_epi16(diff, 4))); in calc_mask()
130 _mm_srli_epi16(_mm_adds_epu16(diff, round_const), round); in av1_build_compound_diffwtd_mask_d16_sse4_1()
131 const __m128i diff_factor = _mm_srli_epi16(diff_round, DIFF_FACTOR_LOG2); in av1_build_compound_diffwtd_mask_d16_sse4_1()
/external/skqp/src/opts/
DSkBitmapProcState_opts.h93 return _mm_srli_epi16(_mm_add_epi16(_mm_mullo_epi16(row0, wy0), in interpolate_in_x_and_y()
109 : _mm_srli_epi16(_mm_mullo_epi16(px, _mm_set1_epi16(alpha)), 8); in S32_alpha_D32_filter_DX()
242 sum = _mm_srli_epi16(sum, 8); in S32_alpha_D32_filter_DX()
247 sum = _mm_srli_epi16(sum, 8); in S32_alpha_D32_filter_DX()
DSkBlitRow_opts.h25 rb = _mm_srli_epi16(rb, 8); in SkPMSrcOver_SSE2()
28 __m128i ag = _mm_srli_epi16(c, 8); in SkPMSrcOver_SSE2()
/external/libmpeg2/common/x86/
Dimpeg2_inter_pred_sse42_intr.c502 tmp0 = _mm_srli_epi16(tmp0, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
521 tmp1 = _mm_srli_epi16(tmp1, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
541 tmp0 = _mm_srli_epi16(tmp0, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
561 tmp1 = _mm_srli_epi16(tmp1, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
581 tmp0 = _mm_srli_epi16(tmp0, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
601 tmp1 = _mm_srli_epi16(tmp1, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
621 tmp0 = _mm_srli_epi16(tmp0, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
641 tmp1 = _mm_srli_epi16(tmp1, 2); in impeg2_mc_halfx_halfy_8x8_sse42()
/external/libgav1/libgav1/src/dsp/x86/
Dloop_filter_sse4.cc58 const __m128i b = _mm_srli_epi16(_mm_and_si128(abs_pmq, fe), 1); in CheckOuterThreshF4()
306 *oqp1 = _mm_srli_epi16(f6_lo, 3); in Filter6()
312 *oqp0 = _mm_srli_epi16(f6_lo, 3); in Filter6()
541 *oqp2 = _mm_srli_epi16(f8_lo, 3); in Filter8()
547 *oqp1 = _mm_srli_epi16(f8_lo, 3); in Filter8()
553 *oqp0 = _mm_srli_epi16(f8_lo, 3); in Filter8()
765 *oqp5 = _mm_srli_epi16(f14_lo, 4); in Filter14()
771 *oqp4 = _mm_srli_epi16(f14_lo, 4); in Filter14()
777 *oqp3 = _mm_srli_epi16(f14_lo, 4); in Filter14()
783 *oqp2 = _mm_srli_epi16(f14_lo, 4); in Filter14()
[all …]
Dweight_mask_sse4.cc47 const __m128i scaled_difference_0 = _mm_srli_epi16(difference_0, 4); in WeightMask16_SSE4()
53 const __m128i scaled_difference_1 = _mm_srli_epi16(difference_1, 4); in WeightMask16_SSE4()
491 const __m128i scaled_diff_0 = _mm_srli_epi16(diff_0, kScaledDiffShift); in WeightMask16_10bpp_SSE4()
506 const __m128i scaled_diff_1 = _mm_srli_epi16(diff_1, kScaledDiffShift); in WeightMask16_10bpp_SSE4()
/external/XNNPACK/src/x8-zip/
Dx3-sse2.c41 … const __m128i vyozo = _mm_or_si128(_mm_andnot_si128(vmask0x00FF00FF, vz), _mm_srli_epi16(vy, 8)); in xnn_x8_zip_x3_ukernel__sse2()
90 … const __m128i vyozo = _mm_or_si128(_mm_andnot_si128(vmask0x00FF00FF, vz), _mm_srli_epi16(vy, 8)); in xnn_x8_zip_x3_ukernel__sse2()
/external/XNNPACK/src/u8-rmax/
Dsse2.c40 vmax = _mm_max_epu8(vmax, _mm_srli_epi16(vmax, 8)); in xnn_u8_rmax_ukernel__sse2()
/external/skia/src/opts/
DSkBitmapProcState_opts.h225 px = _mm_srli_epi16(px, 8); in S32_alpha_D32_filter_DX()
229 px = _mm_srli_epi16(_mm_mullo_epi16(px, _mm_set1_epi16(s.fAlphaScale)), 8); in S32_alpha_D32_filter_DX()
377 sum = _mm_srli_epi16(sum, 8); in S32_alpha_D32_filter_DX()
382 sum = _mm_srli_epi16(sum, 8); in S32_alpha_D32_filter_DX()
DSkBlitRow_opts.h112 rb = _mm_srli_epi16(rb, 8); in SkPMSrcOver_SSE2()
114 __m128i ga = _mm_srli_epi16(dst, 8); in SkPMSrcOver_SSE2()
/external/libaom/libaom/aom_dsp/simd/
Dv64_intrinsics_x86.h208 _mm_unpacklo_epi64(_mm_srli_epi16(b, 8), _mm_srli_epi16(a, 8)), in v64_unziphi_8()
481 _mm_and_si128(_mm_set1_epi8(0xff >> (c)), _mm_srli_epi16(a, c))
485 #define v64_shr_n_u16(a, c) _mm_srli_epi16(a, c)

1234