Home
last modified time | relevance | path

Searched refs:_mm_adds_epi16 (Results 1 – 25 of 31) sorted by relevance

12

/external/libavc/common/x86/
Dih264_weighted_pred_sse42.c422 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/
Dihevc_weighted_pred_ssse3_intr.c1324 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 …]
Dihevc_weighted_pred_sse42_intr.c1810 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 …]
Dihevc_inter_pred_filters_ssse3_intr.c360 … 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/
Dvp9_idct_intrin_sse2.c91 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/
Dinv_txfm_sse2.h167 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 …]
Dvpx_subpixel_8t_intrin_avx2.c217 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 …]
Dvpx_subpixel_8t_intrin_ssse3.c99 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 …]
Dhighbd_loopfilter_sse2.c160 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 …]
Dquantize_sse2.c73 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()
Dinv_txfm_ssse3.c191 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 …]
Dhighbd_idct4x4_add_sse2.c103 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()
Dhighbd_idct8x8_add_sse2.c97 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()
Dhighbd_inv_txfm_sse2.h25 out = _mm_adds_epi16(*in, *dc); in add_dc_clamp()
Dinv_txfm_sse2.c290 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 …]
Dfwd_txfm_impl_sse2.h23 #define ADD_EPI16 _mm_adds_epi16
Dloopfilter_avx2.c120 filt = _mm_adds_epi16(filter1, t1); in vpx_lpf_horizontal_16_avx2()
/external/fec/
Dviterbi39_sse2.c147 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()
Dviterbi615_sse2.c150 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/
Dvp9_quantize_sse2.c67 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()
Dvp9_dct_ssse3.c319 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()
Dvp9_frame_scale_ssse3.c66 const __m128i terms = _mm_adds_epi16(abcd_terms, fehg_terms); in filter()
67 const __m128i round = _mm_adds_epi16(terms, const64_x16); in filter()
Dvp9_dct_intrin_sse2.c486 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/
Ddec_sse2.c207 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/
Dsse2-builtins.c59 return _mm_adds_epi16(A, B); in test_mm_adds_epi16()

12