/external/libavc/common/x86/ |
D | ih264_weighted_pred_sse42.c | 422 y_0_8x16b = _mm_adds_epi16(round_8x16b, y_0_8x16b); in ih264_weighted_pred_luma_sse42() 423 y_2_8x16b = _mm_adds_epi16(round_8x16b, y_2_8x16b); in ih264_weighted_pred_luma_sse42() 428 y_0_8x16b = _mm_adds_epi16(ofst_8x16b, y_0_8x16b); in ih264_weighted_pred_luma_sse42() 429 y_2_8x16b = _mm_adds_epi16(ofst_8x16b, y_2_8x16b); in ih264_weighted_pred_luma_sse42() 468 y_0_8x16b = _mm_adds_epi16(round_8x16b, y_0_8x16b); in ih264_weighted_pred_luma_sse42() 469 y_1_8x16b = _mm_adds_epi16(round_8x16b, y_1_8x16b); in ih264_weighted_pred_luma_sse42() 470 y_2_8x16b = _mm_adds_epi16(round_8x16b, y_2_8x16b); in ih264_weighted_pred_luma_sse42() 471 y_3_8x16b = _mm_adds_epi16(round_8x16b, y_3_8x16b); in ih264_weighted_pred_luma_sse42() 478 y_0_8x16b = _mm_adds_epi16(ofst_8x16b, y_0_8x16b); in ih264_weighted_pred_luma_sse42() 479 y_1_8x16b = _mm_adds_epi16(ofst_8x16b, y_1_8x16b); in ih264_weighted_pred_luma_sse42() [all …]
|
/external/libhevc/common/x86/ |
D | ihevc_weighted_pred_ssse3_intr.c | 1324 lvl_shift1_8x16b = _mm_adds_epi16(lvl_shift1_8x16b, lvl_shift2_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1325 lvl_shift1_8x16b = _mm_adds_epi16(lvl_shift1_8x16b, const_temp_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1362 src_temp1_8x16b = _mm_adds_epi16(src_temp1_8x16b, src_temp2_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1363 src_temp3_8x16b = _mm_adds_epi16(src_temp3_8x16b, src_temp4_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1364 src_temp5_8x16b = _mm_adds_epi16(src_temp5_8x16b, src_temp6_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1365 src_temp7_8x16b = _mm_adds_epi16(src_temp7_8x16b, src_temp8_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1373 src_temp1_8x16b = _mm_adds_epi16(src_temp1_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1374 src_temp3_8x16b = _mm_adds_epi16(src_temp3_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1375 src_temp5_8x16b = _mm_adds_epi16(src_temp5_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_ssse3() 1376 src_temp7_8x16b = _mm_adds_epi16(src_temp7_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_ssse3() [all …]
|
D | ihevc_weighted_pred_sse42_intr.c | 1810 lvl_shift1_8x16b = _mm_adds_epi16(lvl_shift1_8x16b, lvl_shift2_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1811 lvl_shift1_8x16b = _mm_adds_epi16(lvl_shift1_8x16b, const_temp_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1848 src_temp1_8x16b = _mm_adds_epi16(src_temp1_8x16b, src_temp2_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1849 src_temp3_8x16b = _mm_adds_epi16(src_temp3_8x16b, src_temp4_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1850 src_temp5_8x16b = _mm_adds_epi16(src_temp5_8x16b, src_temp6_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1851 src_temp7_8x16b = _mm_adds_epi16(src_temp7_8x16b, src_temp8_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1859 src_temp1_8x16b = _mm_adds_epi16(src_temp1_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1860 src_temp3_8x16b = _mm_adds_epi16(src_temp3_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1861 src_temp5_8x16b = _mm_adds_epi16(src_temp5_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_sse42() 1862 src_temp7_8x16b = _mm_adds_epi16(src_temp7_8x16b, lvl_shift1_8x16b); in ihevc_weighted_pred_bi_default_sse42() [all …]
|
D | ihevc_inter_pred_filters_ssse3_intr.c | 360 … res_temp6_8x16b = _mm_adds_epi16(res_temp5_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 393 … res_temp16_8x16b = _mm_adds_epi16(res_temp15_8x16b, offset_8x16b); /* row = 1 */ in ihevc_inter_pred_luma_horz_ssse3() 449 … res_temp6_8x16b = _mm_adds_epi16(res_temp5_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 487 … res_temp16_8x16b = _mm_adds_epi16(res_temp15_8x16b, offset_8x16b); /* row = 1 */ in ihevc_inter_pred_luma_horz_ssse3() 551 … res_temp6_8x16b = _mm_adds_epi16(res_temp5_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 607 … res_temp6_8x16b = _mm_adds_epi16(res_temp5_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 645 … res_temp16_8x16b = _mm_adds_epi16(res_temp15_8x16b, offset_8x16b); /* row = 1 */ in ihevc_inter_pred_luma_horz_ssse3() 696 … res_temp6_8x16b = _mm_adds_epi16(res_temp5_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 3708 … res_temp14_8x16b = _mm_adds_epi16(res_temp13_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_chroma_horz_ssse3() 3778 … res_temp4_8x16b = _mm_adds_epi16(res_temp3_8x16b, offset_8x16b); /* row = 0 */ in ihevc_inter_pred_chroma_horz_ssse3() [all …]
|
/external/libvpx/libvpx/vp9/common/x86/ |
D | vp9_idct_intrin_sse2.c | 91 in[0] = _mm_adds_epi16(in[0], final_rounding); in vp9_iht8x8_64_add_sse2() 92 in[1] = _mm_adds_epi16(in[1], final_rounding); in vp9_iht8x8_64_add_sse2() 93 in[2] = _mm_adds_epi16(in[2], final_rounding); in vp9_iht8x8_64_add_sse2() 94 in[3] = _mm_adds_epi16(in[3], final_rounding); in vp9_iht8x8_64_add_sse2() 95 in[4] = _mm_adds_epi16(in[4], final_rounding); in vp9_iht8x8_64_add_sse2() 96 in[5] = _mm_adds_epi16(in[5], final_rounding); in vp9_iht8x8_64_add_sse2() 97 in[6] = _mm_adds_epi16(in[6], final_rounding); in vp9_iht8x8_64_add_sse2() 98 in[7] = _mm_adds_epi16(in[7], final_rounding); in vp9_iht8x8_64_add_sse2()
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | inv_txfm_sse2.h | 167 in[0] = _mm_adds_epi16(in[0], final_rounding); in write_buffer_8x16() 168 in[1] = _mm_adds_epi16(in[1], final_rounding); in write_buffer_8x16() 169 in[2] = _mm_adds_epi16(in[2], final_rounding); in write_buffer_8x16() 170 in[3] = _mm_adds_epi16(in[3], final_rounding); in write_buffer_8x16() 171 in[4] = _mm_adds_epi16(in[4], final_rounding); in write_buffer_8x16() 172 in[5] = _mm_adds_epi16(in[5], final_rounding); in write_buffer_8x16() 173 in[6] = _mm_adds_epi16(in[6], final_rounding); in write_buffer_8x16() 174 in[7] = _mm_adds_epi16(in[7], final_rounding); in write_buffer_8x16() 175 in[8] = _mm_adds_epi16(in[8], final_rounding); in write_buffer_8x16() 176 in[9] = _mm_adds_epi16(in[9], final_rounding); in write_buffer_8x16() [all …]
|
D | vpx_subpixel_8t_intrin_avx2.c | 217 srcRegFilt1_1 = _mm_adds_epi16(srcRegFilt1_1, srcRegFilt2); in vpx_filter_block1d16_h8_avx2() 231 _mm_adds_epi16(srcRegFilt1_1, _mm_min_epi16(srcRegFilt3, srcRegFilt2)); in vpx_filter_block1d16_h8_avx2() 239 _mm_adds_epi16(srcRegFilt1_1, _mm_max_epi16(srcRegFilt3, srcRegFilt2)); in vpx_filter_block1d16_h8_avx2() 252 srcRegFilt2_1 = _mm_adds_epi16(srcRegFilt2_1, srcRegFilt2); in vpx_filter_block1d16_h8_avx2() 266 _mm_adds_epi16(srcRegFilt2_1, _mm_min_epi16(srcRegFilt3, srcRegFilt2)); in vpx_filter_block1d16_h8_avx2() 268 _mm_adds_epi16(srcRegFilt2_1, _mm_max_epi16(srcRegFilt3, srcRegFilt2)); in vpx_filter_block1d16_h8_avx2() 271 _mm_adds_epi16(srcRegFilt1_1, _mm256_castsi256_si128(addFilterReg64)); in vpx_filter_block1d16_h8_avx2() 274 _mm_adds_epi16(srcRegFilt2_1, _mm256_castsi256_si128(addFilterReg64)); in vpx_filter_block1d16_h8_avx2() 479 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, srcRegFilt4); in vpx_filter_block1d16_v8_avx2() 480 srcRegFilt3 = _mm_adds_epi16(srcRegFilt3, srcRegFilt7); in vpx_filter_block1d16_v8_avx2() [all …]
|
D | vpx_subpixel_8t_intrin_ssse3.c | 99 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, srcRegFilt4); in vpx_filter_block1d4_h8_intrin_ssse3() 101 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, minReg); in vpx_filter_block1d4_h8_intrin_ssse3() 102 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, srcRegFilt3); in vpx_filter_block1d4_h8_intrin_ssse3() 103 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, addFilterReg64); in vpx_filter_block1d4_h8_intrin_ssse3() 174 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, srcRegFilt4); in vpx_filter_block1d8_h8_intrin_ssse3() 177 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, minReg); in vpx_filter_block1d8_h8_intrin_ssse3() 178 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, srcRegFilt2); in vpx_filter_block1d8_h8_intrin_ssse3() 179 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, addFilterReg64); in vpx_filter_block1d8_h8_intrin_ssse3() 251 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, srcRegFilt5); in vpx_filter_block1d8_v8_intrin_ssse3() 253 srcRegFilt1 = _mm_adds_epi16(srcRegFilt1, minReg); in vpx_filter_block1d8_v8_intrin_ssse3() [all …]
|
D | highbd_loopfilter_sse2.c | 160 filt = _mm_adds_epi16(filt, work_a); in vpx_highbd_lpf_horizontal_16_sse2() 161 filt = _mm_adds_epi16(filt, work_a); in vpx_highbd_lpf_horizontal_16_sse2() 162 filt = signed_char_clamp_bd_sse2(_mm_adds_epi16(filt, work_a), bd); in vpx_highbd_lpf_horizontal_16_sse2() 164 filter1 = signed_char_clamp_bd_sse2(_mm_adds_epi16(filt, t4), bd); in vpx_highbd_lpf_horizontal_16_sse2() 165 filter2 = signed_char_clamp_bd_sse2(_mm_adds_epi16(filt, t3), bd); in vpx_highbd_lpf_horizontal_16_sse2() 171 qs0 = _mm_adds_epi16( in vpx_highbd_lpf_horizontal_16_sse2() 173 ps0 = _mm_adds_epi16( in vpx_highbd_lpf_horizontal_16_sse2() 174 signed_char_clamp_bd_sse2(_mm_adds_epi16(ps0, filter2), bd), t80); in vpx_highbd_lpf_horizontal_16_sse2() 175 filt = _mm_adds_epi16(filter1, t1); in vpx_highbd_lpf_horizontal_16_sse2() 178 qs1 = _mm_adds_epi16(signed_char_clamp_bd_sse2(_mm_subs_epi16(qs1, filt), bd), in vpx_highbd_lpf_horizontal_16_sse2() [all …]
|
D | quantize_sse2.c | 73 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vpx_quantize_b_sse2() 75 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vpx_quantize_b_sse2() 150 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vpx_quantize_b_sse2() 151 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vpx_quantize_b_sse2()
|
D | inv_txfm_ssse3.c | 191 in0 = _mm_adds_epi16(in0, final_rounding); in vpx_idct8x8_64_add_ssse3() 192 in1 = _mm_adds_epi16(in1, final_rounding); in vpx_idct8x8_64_add_ssse3() 193 in2 = _mm_adds_epi16(in2, final_rounding); in vpx_idct8x8_64_add_ssse3() 194 in3 = _mm_adds_epi16(in3, final_rounding); in vpx_idct8x8_64_add_ssse3() 195 in4 = _mm_adds_epi16(in4, final_rounding); in vpx_idct8x8_64_add_ssse3() 196 in5 = _mm_adds_epi16(in5, final_rounding); in vpx_idct8x8_64_add_ssse3() 197 in6 = _mm_adds_epi16(in6, final_rounding); in vpx_idct8x8_64_add_ssse3() 198 in7 = _mm_adds_epi16(in7, final_rounding); in vpx_idct8x8_64_add_ssse3() 353 in0 = _mm_adds_epi16(in0, final_rounding); in vpx_idct8x8_12_add_ssse3() 354 in1 = _mm_adds_epi16(in1, final_rounding); in vpx_idct8x8_12_add_ssse3() [all …]
|
D | highbd_idct4x4_add_sse2.c | 103 d0 = clamp_high_sse2(_mm_adds_epi16(d0, inptr[0]), bd); in vpx_highbd_idct4x4_16_add_sse2() 104 d2 = clamp_high_sse2(_mm_adds_epi16(d2, inptr[1]), bd); in vpx_highbd_idct4x4_16_add_sse2()
|
D | highbd_idct8x8_add_sse2.c | 97 d[i] = clamp_high_sse2(_mm_adds_epi16(d[i], inptr[i]), bd); in vpx_highbd_idct8x8_64_add_sse2() 199 d[i] = clamp_high_sse2(_mm_adds_epi16(d[i], inptr[i]), bd); in vpx_highbd_idct8x8_12_add_sse2()
|
D | highbd_inv_txfm_sse2.h | 25 out = _mm_adds_epi16(*in, *dc); in add_dc_clamp()
|
D | inv_txfm_sse2.c | 290 in0 = _mm_adds_epi16(in0, final_rounding); in vpx_idct8x8_64_add_sse2() 291 in1 = _mm_adds_epi16(in1, final_rounding); in vpx_idct8x8_64_add_sse2() 292 in2 = _mm_adds_epi16(in2, final_rounding); in vpx_idct8x8_64_add_sse2() 293 in3 = _mm_adds_epi16(in3, final_rounding); in vpx_idct8x8_64_add_sse2() 294 in4 = _mm_adds_epi16(in4, final_rounding); in vpx_idct8x8_64_add_sse2() 295 in5 = _mm_adds_epi16(in5, final_rounding); in vpx_idct8x8_64_add_sse2() 296 in6 = _mm_adds_epi16(in6, final_rounding); in vpx_idct8x8_64_add_sse2() 297 in7 = _mm_adds_epi16(in7, final_rounding); in vpx_idct8x8_64_add_sse2() 706 in0 = _mm_adds_epi16(in0, final_rounding); in vpx_idct8x8_12_add_sse2() 707 in1 = _mm_adds_epi16(in1, final_rounding); in vpx_idct8x8_12_add_sse2() [all …]
|
D | fwd_txfm_impl_sse2.h | 23 #define ADD_EPI16 _mm_adds_epi16
|
D | loopfilter_avx2.c | 120 filt = _mm_adds_epi16(filter1, t1); in vpx_lpf_horizontal_16_avx2()
|
/external/fec/ |
D | viterbi39_sse2.c | 147 m0 = _mm_adds_epi16(vp->old_metrics->v[i],metric); in update_viterbi39_blk_sse2() 148 m3 = _mm_adds_epi16(vp->old_metrics->v[16+i],metric); in update_viterbi39_blk_sse2() 149 m1 = _mm_adds_epi16(vp->old_metrics->v[16+i],m_metric); in update_viterbi39_blk_sse2() 150 m2 = _mm_adds_epi16(vp->old_metrics->v[i],m_metric); in update_viterbi39_blk_sse2()
|
D | viterbi615_sse2.c | 150 m0 = _mm_adds_epi16(vp->old_metrics->v[i],metric); in update_viterbi615_blk_sse2() 151 m3 = _mm_adds_epi16(vp->old_metrics->v[1024+i],metric); in update_viterbi615_blk_sse2() 152 m1 = _mm_adds_epi16(vp->old_metrics->v[1024+i],m_metric); in update_viterbi615_blk_sse2() 153 m2 = _mm_adds_epi16(vp->old_metrics->v[i],m_metric); in update_viterbi615_blk_sse2()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_quantize_sse2.c | 67 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_quantize_fp_sse2() 69 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_quantize_fp_sse2() 138 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_quantize_fp_sse2() 139 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_quantize_fp_sse2()
|
D | vp9_dct_ssse3.c | 319 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_ssse3() 321 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_fdct8x8_quant_ssse3() 391 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_ssse3() 392 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_fdct8x8_quant_ssse3()
|
D | vp9_frame_scale_ssse3.c | 66 const __m128i terms = _mm_adds_epi16(abcd_terms, fehg_terms); in filter() 67 const __m128i round = _mm_adds_epi16(terms, const64_x16); in filter()
|
D | vp9_dct_intrin_sse2.c | 486 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_sse2() 488 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_fdct8x8_quant_sse2() 553 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_sse2() 554 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_fdct8x8_quant_sse2()
|
/external/webp/src/dsp/ |
D | dec_sse2.c | 207 const __m128i B = _mm_adds_epi16(A, CD); in TransformAC3() 208 const __m128i m0 = _mm_adds_epi16(B, d4); in TransformAC3() 209 const __m128i m1 = _mm_adds_epi16(B, c4); in TransformAC3() 224 dst0 = _mm_adds_epi16(dst0, _mm_srai_epi16(m0, 3)); in TransformAC3() 225 dst1 = _mm_adds_epi16(dst1, _mm_srai_epi16(m1, 3)); in TransformAC3() 226 dst2 = _mm_adds_epi16(dst2, _mm_srai_epi16(m2, 3)); in TransformAC3() 227 dst3 = _mm_adds_epi16(dst3, _mm_srai_epi16(m3, 3)); in TransformAC3()
|
/external/clang/test/CodeGen/ |
D | sse2-builtins.c | 59 return _mm_adds_epi16(A, B); in test_mm_adds_epi16()
|