/external/libvpx/libvpx/vpx_dsp/x86/ |
D | inv_txfm_sse2.h | 139 d0 = _mm_add_epi16(in_x, d0); in recon_and_store() 148 out[0] = _mm_add_epi16(in[0], final_rounding); in round_shift_8x8() 149 out[1] = _mm_add_epi16(in[1], final_rounding); in round_shift_8x8() 150 out[2] = _mm_add_epi16(in[2], final_rounding); in round_shift_8x8() 151 out[3] = _mm_add_epi16(in[3], final_rounding); in round_shift_8x8() 152 out[4] = _mm_add_epi16(in[4], final_rounding); in round_shift_8x8() 153 out[5] = _mm_add_epi16(in[5], final_rounding); in round_shift_8x8() 154 out[6] = _mm_add_epi16(in[6], final_rounding); in round_shift_8x8() 155 out[7] = _mm_add_epi16(in[7], final_rounding); in round_shift_8x8() 198 d[0] = _mm_add_epi16(d[0], in[0]); in recon_and_store4x4_sse2() [all …]
|
D | fwd_txfm_sse2.c | 29 tmp = _mm_add_epi16(in0, in1); in vpx_fdct4x4_1_sse2() 54 u0 = _mm_add_epi16(in0, in1); in vpx_fdct8x8_1_sse2() 55 u1 = _mm_add_epi16(in2, in3); in vpx_fdct8x8_1_sse2() 62 sum = _mm_add_epi16(u0, u1); in vpx_fdct8x8_1_sse2() 64 in0 = _mm_add_epi16(in0, in1); in vpx_fdct8x8_1_sse2() 65 in2 = _mm_add_epi16(in2, in3); in vpx_fdct8x8_1_sse2() 66 sum = _mm_add_epi16(sum, in0); in vpx_fdct8x8_1_sse2() 69 sum = _mm_add_epi16(sum, in2); in vpx_fdct8x8_1_sse2() 100 u0 = _mm_add_epi16(in0, in1); in vpx_fdct16x16_1_sse2() 101 u1 = _mm_add_epi16(in2, in3); in vpx_fdct16x16_1_sse2() [all …]
|
D | highbd_loopfilter_sse2.c | 254 pixelFilter_p = _mm_add_epi16(_mm_add_epi16(p6, p5), _mm_add_epi16(p4, p3)); in vpx_highbd_lpf_horizontal_16_sse2() 255 pixelFilter_q = _mm_add_epi16(_mm_add_epi16(q6, q5), _mm_add_epi16(q4, q3)); in vpx_highbd_lpf_horizontal_16_sse2() 257 pixetFilter_p2p1p0 = _mm_add_epi16(p0, _mm_add_epi16(p2, p1)); in vpx_highbd_lpf_horizontal_16_sse2() 258 pixelFilter_p = _mm_add_epi16(pixelFilter_p, pixetFilter_p2p1p0); in vpx_highbd_lpf_horizontal_16_sse2() 260 pixetFilter_q2q1q0 = _mm_add_epi16(q0, _mm_add_epi16(q2, q1)); in vpx_highbd_lpf_horizontal_16_sse2() 261 pixelFilter_q = _mm_add_epi16(pixelFilter_q, pixetFilter_q2q1q0); in vpx_highbd_lpf_horizontal_16_sse2() 263 _mm_add_epi16(eight, _mm_add_epi16(pixelFilter_p, pixelFilter_q)); in vpx_highbd_lpf_horizontal_16_sse2() 264 pixetFilter_p2p1p0 = _mm_add_epi16( in vpx_highbd_lpf_horizontal_16_sse2() 265 four, _mm_add_epi16(pixetFilter_p2p1p0, pixetFilter_q2q1q0)); 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() [all …]
|
D | loopfilter_sse2.c | 392 pixelFilter_p = _mm_add_epi16(_mm_add_epi16(p6_16, p5_16), in vpx_lpf_horizontal_16_sse2() 393 _mm_add_epi16(p4_16, p3_16)); in vpx_lpf_horizontal_16_sse2() 394 pixelFilter_q = _mm_add_epi16(_mm_add_epi16(q6_16, q5_16), in vpx_lpf_horizontal_16_sse2() 395 _mm_add_epi16(q4_16, q3_16)); in vpx_lpf_horizontal_16_sse2() 397 pixetFilter_p2p1p0 = _mm_add_epi16(p0_16, _mm_add_epi16(p2_16, p1_16)); in vpx_lpf_horizontal_16_sse2() 398 pixelFilter_p = _mm_add_epi16(pixelFilter_p, pixetFilter_p2p1p0); in vpx_lpf_horizontal_16_sse2() 400 pixetFilter_q2q1q0 = _mm_add_epi16(q0_16, _mm_add_epi16(q2_16, q1_16)); in vpx_lpf_horizontal_16_sse2() 401 pixelFilter_q = _mm_add_epi16(pixelFilter_q, pixetFilter_q2q1q0); in vpx_lpf_horizontal_16_sse2() 403 _mm_add_epi16(eight, _mm_add_epi16(pixelFilter_p, pixelFilter_q)); in vpx_lpf_horizontal_16_sse2() 404 pixetFilter_p2p1p0 = _mm_add_epi16( in vpx_lpf_horizontal_16_sse2() [all …]
|
D | loopfilter_avx2.c | 194 pixelFilter_p = _mm_add_epi16(_mm_add_epi16(p6_16, p5_16), in vpx_lpf_horizontal_16_avx2() 195 _mm_add_epi16(p4_16, p3_16)); in vpx_lpf_horizontal_16_avx2() 196 pixelFilter_q = _mm_add_epi16(_mm_add_epi16(q6_16, q5_16), in vpx_lpf_horizontal_16_avx2() 197 _mm_add_epi16(q4_16, q3_16)); in vpx_lpf_horizontal_16_avx2() 199 pixetFilter_p2p1p0 = _mm_add_epi16(p0_16, _mm_add_epi16(p2_16, p1_16)); in vpx_lpf_horizontal_16_avx2() 200 pixelFilter_p = _mm_add_epi16(pixelFilter_p, pixetFilter_p2p1p0); in vpx_lpf_horizontal_16_avx2() 202 pixetFilter_q2q1q0 = _mm_add_epi16(q0_16, _mm_add_epi16(q2_16, q1_16)); in vpx_lpf_horizontal_16_avx2() 203 pixelFilter_q = _mm_add_epi16(pixelFilter_q, pixetFilter_q2q1q0); in vpx_lpf_horizontal_16_avx2() 205 _mm_add_epi16(eight, _mm_add_epi16(pixelFilter_p, pixelFilter_q)); in vpx_lpf_horizontal_16_avx2() 206 pixetFilter_p2p1p0 = _mm_add_epi16( in vpx_lpf_horizontal_16_avx2() [all …]
|
D | inv_txfm_ssse3.c | 79 out[0] = _mm_add_epi16(step1[0], step1[7]); in idct32_34_8x32_quarter_1() 80 out[1] = _mm_add_epi16(step1[1], step1[6]); in idct32_34_8x32_quarter_1() 81 out[2] = _mm_add_epi16(step1[2], step1[5]); in idct32_34_8x32_quarter_1() 82 out[3] = _mm_add_epi16(step1[3], step1[4]); in idct32_34_8x32_quarter_1() 202 step2[4] = _mm_add_epi16(step1[4], step1[5]); in idct32_135_8x32_quarter_1() 205 step2[7] = _mm_add_epi16(step1[7], step1[6]); in idct32_135_8x32_quarter_1() 208 step1[0] = _mm_add_epi16(step2[0], step2[3]); in idct32_135_8x32_quarter_1() 209 step1[1] = _mm_add_epi16(step2[0], step2[2]); in idct32_135_8x32_quarter_1() 217 out[0] = _mm_add_epi16(step1[0], step1[7]); in idct32_135_8x32_quarter_1() 218 out[1] = _mm_add_epi16(step1[1], step1[6]); in idct32_135_8x32_quarter_1() [all …]
|
D | inv_txfm_ssse3.h | 53 step2[4] = _mm_add_epi16(step1[4], step1[5]); // step2 4&7 in idct8x8_12_add_kernel_ssse3() 60 tmp[0] = _mm_add_epi16(step2[0], step2[2]); // step1 0&1 in idct8x8_12_add_kernel_ssse3() 66 tmp[0] = _mm_add_epi16(step1[3], step2[4]); // output 3&0 in idct8x8_12_add_kernel_ssse3() 67 tmp[1] = _mm_add_epi16(step1[2], step1[5]); // output 2&1 in idct8x8_12_add_kernel_ssse3() 85 step2[4] = _mm_add_epi16(step1[4], step1[5]); in idct8x8_12_add_kernel_ssse3() 88 step2[7] = _mm_add_epi16(step1[7], step1[6]); in idct8x8_12_add_kernel_ssse3() 91 step1[0] = _mm_add_epi16(step2[0], step2[3]); in idct8x8_12_add_kernel_ssse3() 92 step1[1] = _mm_add_epi16(step2[0], step2[2]); in idct8x8_12_add_kernel_ssse3() 98 io[0] = _mm_add_epi16(step1[0], step2[7]); in idct8x8_12_add_kernel_ssse3() 99 io[1] = _mm_add_epi16(step1[1], step1[6]); in idct8x8_12_add_kernel_ssse3() [all …]
|
D | avg_intrin_sse2.c | 183 s0 = _mm_add_epi16(s0, _mm_srli_si128(s0, 4)); in vpx_highbd_avg_4x4_sse2() 184 s0 = _mm_add_epi16(s0, _mm_srli_si128(s0, 2)); in vpx_highbd_avg_4x4_sse2() 201 __m128i b0 = _mm_add_epi16(a0, a1); in hadamard_col8_sse2() 203 __m128i b2 = _mm_add_epi16(a2, a3); in hadamard_col8_sse2() 205 __m128i b4 = _mm_add_epi16(a4, a5); in hadamard_col8_sse2() 207 __m128i b6 = _mm_add_epi16(a6, a7); in hadamard_col8_sse2() 210 a0 = _mm_add_epi16(b0, b2); in hadamard_col8_sse2() 211 a1 = _mm_add_epi16(b1, b3); in hadamard_col8_sse2() 214 a4 = _mm_add_epi16(b4, b6); in hadamard_col8_sse2() 215 a5 = _mm_add_epi16(b5, b7); in hadamard_col8_sse2() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_loopfilter_sse2.c | 371 __m128i sum_p = _mm_add_epi16(pq[5], _mm_add_epi16(pq[4], pq[3])); in highbd_lpf_internal_14_sse2() 372 __m128i sum_lp = _mm_add_epi16(pq[0], _mm_add_epi16(pq[2], pq[1])); in highbd_lpf_internal_14_sse2() 373 sum_p = _mm_add_epi16(sum_p, sum_lp); in highbd_lpf_internal_14_sse2() 378 sum_p_0 = _mm_add_epi16(eight, _mm_add_epi16(sum_p, sum_q)); in highbd_lpf_internal_14_sse2() 379 sum_lp = _mm_add_epi16(four, _mm_add_epi16(sum_lp, sum_lq)); in highbd_lpf_internal_14_sse2() 381 flat_p[0] = _mm_add_epi16(sum_lp, _mm_add_epi16(pq[3], pq[0])); in highbd_lpf_internal_14_sse2() 382 flat_q[0] = _mm_add_epi16(sum_lp, _mm_add_epi16(q[3], q[0])); in highbd_lpf_internal_14_sse2() 384 sum_p6 = _mm_add_epi16(pq[6], pq[6]); in highbd_lpf_internal_14_sse2() 385 sum_p3 = _mm_add_epi16(pq[3], pq[3]); in highbd_lpf_internal_14_sse2() 390 work0_0 = _mm_add_epi16(_mm_add_epi16(pq[6], pq[0]), pq[1]); in highbd_lpf_internal_14_sse2() [all …]
|
D | loopfilter_sse2.c | 487 pixelFilter_p = _mm_add_epi16(p5_16, _mm_add_epi16(p4_16, p3_16)); in lpf_internal_14_dual_sse2() 488 pixelFilter_q = _mm_add_epi16(q5_16, _mm_add_epi16(q4_16, q3_16)); in lpf_internal_14_dual_sse2() 490 pixetFilter_p2p1p0 = _mm_add_epi16(p0_16, _mm_add_epi16(p2_16, p1_16)); in lpf_internal_14_dual_sse2() 491 pixelFilter_p = _mm_add_epi16(pixelFilter_p, pixetFilter_p2p1p0); in lpf_internal_14_dual_sse2() 493 pixetFilter_q2q1q0 = _mm_add_epi16(q0_16, _mm_add_epi16(q2_16, q1_16)); in lpf_internal_14_dual_sse2() 494 pixelFilter_q = _mm_add_epi16(pixelFilter_q, pixetFilter_q2q1q0); in lpf_internal_14_dual_sse2() 496 _mm_add_epi16(eight, _mm_add_epi16(pixelFilter_p, pixelFilter_q)); in lpf_internal_14_dual_sse2() 497 pixetFilter_p2p1p0 = _mm_add_epi16( in lpf_internal_14_dual_sse2() 498 four, _mm_add_epi16(pixetFilter_p2p1p0, pixetFilter_q2q1q0)); in lpf_internal_14_dual_sse2() 500 _mm_add_epi16(pixelFilter_p, in lpf_internal_14_dual_sse2() [all …]
|
D | avg_intrin_sse2.c | 152 __m128i b0 = _mm_add_epi16(a0, a1); in hadamard_col8_sse2() 154 __m128i b2 = _mm_add_epi16(a2, a3); in hadamard_col8_sse2() 156 __m128i b4 = _mm_add_epi16(a4, a5); in hadamard_col8_sse2() 158 __m128i b6 = _mm_add_epi16(a6, a7); in hadamard_col8_sse2() 161 a0 = _mm_add_epi16(b0, b2); in hadamard_col8_sse2() 162 a1 = _mm_add_epi16(b1, b3); in hadamard_col8_sse2() 165 a4 = _mm_add_epi16(b4, b6); in hadamard_col8_sse2() 166 a5 = _mm_add_epi16(b5, b7); in hadamard_col8_sse2() 171 b0 = _mm_add_epi16(a0, a4); in hadamard_col8_sse2() 172 b7 = _mm_add_epi16(a1, a5); in hadamard_col8_sse2() [all …]
|
/external/libavc/common/x86/ |
D | ih264_deblk_luma_ssse3.c | 219 Alpha_8x16 = _mm_add_epi16(Alpha_8x16, const_val2_16x8); in ih264_deblk_luma_vert_bs4_ssse3() 266 temp1 = _mm_add_epi16(p0_8x16, q1_8x16); in ih264_deblk_luma_vert_bs4_ssse3() 267 temp2 = _mm_add_epi16(p1_8x16, q0_8x16); in ih264_deblk_luma_vert_bs4_ssse3() 268 temp5 = _mm_add_epi16(temp1, const_val2_16x8); in ih264_deblk_luma_vert_bs4_ssse3() 269 temp6 = _mm_add_epi16(temp2, const_val2_16x8); in ih264_deblk_luma_vert_bs4_ssse3() 272 temp1 = _mm_add_epi16(temp5, temp3); in ih264_deblk_luma_vert_bs4_ssse3() 273 temp2 = _mm_add_epi16(temp6, temp4); in ih264_deblk_luma_vert_bs4_ssse3() 278 temp6 = _mm_add_epi16(temp6, p0_8x16); in ih264_deblk_luma_vert_bs4_ssse3() 279 temp5 = _mm_add_epi16(temp5, q0_8x16); in ih264_deblk_luma_vert_bs4_ssse3() 280 temp1 = _mm_add_epi16(temp6, p2_8x16); in ih264_deblk_luma_vert_bs4_ssse3() [all …]
|
D | ih264_luma_intra_pred_filters_ssse3.c | 346 res1_8x16b = _mm_add_epi16(top_8x16b, top_sh_8x16b); in ih264_intra_pred_luma_4x4_mode_diag_dl_ssse3() 349 res1_8x16b = _mm_add_epi16(res1_8x16b, const_2_8x16b); in ih264_intra_pred_luma_4x4_mode_diag_dl_ssse3() 350 res1_8x16b = _mm_add_epi16(res2_8x16b, res1_8x16b); in ih264_intra_pred_luma_4x4_mode_diag_dl_ssse3() 431 …res1_8x16b = _mm_add_epi16(top_left_8x16b, top_left_sh_8x16b); //l3+l2 l2+l1 l1+l0 l0+tl… in ih264_intra_pred_luma_4x4_mode_diag_dr_ssse3() 435 res1_8x16b = _mm_add_epi16(res1_8x16b, const_2_8x16b); in ih264_intra_pred_luma_4x4_mode_diag_dr_ssse3() 436 …res1_8x16b = _mm_add_epi16(res2_8x16b, res1_8x16b); //l3+2*l2+l1+2 l2+2*l1+l0… in ih264_intra_pred_luma_4x4_mode_diag_dr_ssse3() 519 …w121_a1_8x16b = _mm_add_epi16(w121_a1_8x16b, w121_a2_8x16b); //l2+l1 l1+l0 l0+tl tl+t0 t0+t1 … in ih264_intra_pred_luma_4x4_mode_vert_r_ssse3() 524 w121_a1_8x16b = _mm_add_epi16(w121_a1_8x16b, w121_a2_8x16b); //l2+2*l1+l0 l1+2*l0+tl ... in ih264_intra_pred_luma_4x4_mode_vert_r_ssse3() 525 w121_a1_8x16b = _mm_add_epi16(w121_a1_8x16b, const_2_8x16b); in ih264_intra_pred_luma_4x4_mode_vert_r_ssse3() 612 …w121_a1_8x16b = _mm_add_epi16(w121_a1_8x16b, w121_a2_8x16b); //l3+l2 l2+l1 l1+l0 l0+tl tl+t0 … in ih264_intra_pred_luma_4x4_mode_horz_d_ssse3() [all …]
|
D | ih264_inter_pred_filters_ssse3.c | 279 res_r0r1_t1_8x16b = _mm_add_epi16(res_r0r1_t1_8x16b, res_r0r1_t2_8x16b); in ih264_inter_pred_luma_horz_ssse3() 280 res_r0r1_t3_8x16b = _mm_add_epi16(const_val16_8x16b, res_r0r1_t3_8x16b); in ih264_inter_pred_luma_horz_ssse3() 281 …res_r0r1_t1_8x16b = _mm_add_epi16(res_r0r1_t1_8x16b, res_r0r1_t3_8x16b); //a0*c0+a1*c1+a2*c2+a3*c3… in ih264_inter_pred_luma_horz_ssse3() 358 res_r0_t1_8x16b = _mm_add_epi16(res_r0_t1_8x16b, res_r0_t2_8x16b); in ih264_inter_pred_luma_horz_ssse3() 359 res_r1_t1_8x16b = _mm_add_epi16(res_r1_t1_8x16b, res_r1_t2_8x16b); in ih264_inter_pred_luma_horz_ssse3() 360 res_r0_t3_8x16b = _mm_add_epi16(res_r0_t3_8x16b, const_val16_8x16b); in ih264_inter_pred_luma_horz_ssse3() 361 res_r1_t3_8x16b = _mm_add_epi16(res_r1_t3_8x16b, const_val16_8x16b); in ih264_inter_pred_luma_horz_ssse3() 362 res_r0_t1_8x16b = _mm_add_epi16(res_r0_t1_8x16b, res_r0_t3_8x16b); in ih264_inter_pred_luma_horz_ssse3() 363 res_r1_t1_8x16b = _mm_add_epi16(res_r1_t1_8x16b, res_r1_t3_8x16b); in ih264_inter_pred_luma_horz_ssse3() 435 res_r0_t1_8x16b = _mm_add_epi16(res_r0_t1_8x16b, res_r0_t2_8x16b); in ih264_inter_pred_luma_horz_ssse3() [all …]
|
D | ih264_deblk_chroma_ssse3.c | 160 temp2 = _mm_add_epi16(p0_uv_8x16, q1_uv_8x16); in ih264_deblk_chroma_vert_bs4_ssse3() 161 temp1 = _mm_add_epi16(temp1, _mm_set1_epi16(2)); in ih264_deblk_chroma_vert_bs4_ssse3() 162 temp1 = _mm_add_epi16(temp1, temp2); in ih264_deblk_chroma_vert_bs4_ssse3() 166 temp2 = _mm_add_epi16(p1_uv_8x16, q0_uv_8x16); in ih264_deblk_chroma_vert_bs4_ssse3() 167 temp1 = _mm_add_epi16(temp1, _mm_set1_epi16(2)); in ih264_deblk_chroma_vert_bs4_ssse3() 168 temp1 = _mm_add_epi16(temp1, temp2); in ih264_deblk_chroma_vert_bs4_ssse3() 191 temp2 = _mm_add_epi16(p0_uv_8x16, q1_uv_8x16); in ih264_deblk_chroma_vert_bs4_ssse3() 192 temp1 = _mm_add_epi16(temp1, _mm_set1_epi16(2)); in ih264_deblk_chroma_vert_bs4_ssse3() 193 temp1 = _mm_add_epi16(temp1, temp2); in ih264_deblk_chroma_vert_bs4_ssse3() 197 temp2 = _mm_add_epi16(p1_uv_8x16, q0_uv_8x16); in ih264_deblk_chroma_vert_bs4_ssse3() [all …]
|
D | ih264_chroma_intra_pred_filters_ssse3.c | 340 res1_l_8x16b = _mm_add_epi16(res1_l_8x16b, const_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 341 res1_h_8x16b = _mm_add_epi16(res1_h_8x16b, const_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 342 res2_l_8x16b = _mm_add_epi16(res1_l_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 343 res2_h_8x16b = _mm_add_epi16(res1_h_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 360 res1_l_8x16b = _mm_add_epi16(res1_l_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 361 res1_h_8x16b = _mm_add_epi16(res1_h_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 362 res2_l_8x16b = _mm_add_epi16(res2_l_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 363 res2_h_8x16b = _mm_add_epi16(res2_h_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 379 res1_l_8x16b = _mm_add_epi16(res1_l_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 380 res1_h_8x16b = _mm_add_epi16(res1_h_8x16b, c2_8x16b); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() [all …]
|
/external/libhevc/common/x86/ |
D | ihevc_inter_pred_filters_ssse3_intr.c | 356 res_temp5_8x16b = _mm_add_epi16(res_temp1_8x16b, res_temp2_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 357 res_temp6_8x16b = _mm_add_epi16(res_temp3_8x16b, res_temp4_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 358 res_temp5_8x16b = _mm_add_epi16(res_temp5_8x16b, res_temp6_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 389 res_temp15_8x16b = _mm_add_epi16(res_temp11_8x16b, res_temp12_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 390 res_temp16_8x16b = _mm_add_epi16(res_temp13_8x16b, res_temp14_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 391 res_temp15_8x16b = _mm_add_epi16(res_temp15_8x16b, res_temp16_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 445 res_temp5_8x16b = _mm_add_epi16(res_temp1_8x16b, res_temp2_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 446 res_temp6_8x16b = _mm_add_epi16(res_temp3_8x16b, res_temp4_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 447 res_temp5_8x16b = _mm_add_epi16(res_temp5_8x16b, res_temp6_8x16b); in ihevc_inter_pred_luma_horz_ssse3() 483 res_temp15_8x16b = _mm_add_epi16(res_temp11_8x16b, res_temp12_8x16b); in ihevc_inter_pred_luma_horz_ssse3() [all …]
|
D | ihevc_intra_pred_filters_ssse3_intr.c | 552 src_temp1 = _mm_add_epi16(src_temp1, src_temp2); in ihevc_intra_pred_ref_filtering_ssse3() 553 src_temp1 = _mm_add_epi16(src_temp1, src_temp3); in ihevc_intra_pred_ref_filtering_ssse3() 554 src_temp1 = _mm_add_epi16(src_temp1, const_value_8x16); in ihevc_intra_pred_ref_filtering_ssse3() 568 src_temp4 = _mm_add_epi16(src_temp4, src_temp5); in ihevc_intra_pred_ref_filtering_ssse3() 569 src_temp4 = _mm_add_epi16(src_temp4, src_temp6); in ihevc_intra_pred_ref_filtering_ssse3() 570 src_temp4 = _mm_add_epi16(src_temp4, const_value_8x16); in ihevc_intra_pred_ref_filtering_ssse3() 739 row1_16x8b = _mm_add_epi16(row_16x8b, const_temp8_4x32b); in ihevc_intra_pred_luma_planar_ssse3() 741 row2_16x8b = _mm_add_epi16(row1_16x8b, const_temp8_4x32b); in ihevc_intra_pred_luma_planar_ssse3() 743 row3_16x8b = _mm_add_epi16(row2_16x8b, const_temp8_4x32b); in ihevc_intra_pred_luma_planar_ssse3() 764 res_temp_8x16b = _mm_add_epi16(res_temp_8x16b, res_temp4_8x16b); in ihevc_intra_pred_luma_planar_ssse3() [all …]
|
D | ihevc_intra_pred_filters_sse42_intr.c | 266 src_temp1 = _mm_add_epi16(src_temp1, src_temp2); in ihevc_intra_pred_ref_filtering_sse42() 267 src_temp1 = _mm_add_epi16(src_temp1, src_temp3); in ihevc_intra_pred_ref_filtering_sse42() 268 src_temp1 = _mm_add_epi16(src_temp1, const_value_8x16); in ihevc_intra_pred_ref_filtering_sse42() 282 src_temp4 = _mm_add_epi16(src_temp4, src_temp5); in ihevc_intra_pred_ref_filtering_sse42() 283 src_temp4 = _mm_add_epi16(src_temp4, src_temp6); in ihevc_intra_pred_ref_filtering_sse42() 284 src_temp4 = _mm_add_epi16(src_temp4, const_value_8x16); in ihevc_intra_pred_ref_filtering_sse42() 458 src_temp4 = _mm_add_epi16(src_temp3, src_temp4); in ihevc_intra_pred_luma_dc_sse42() 459 src_temp8 = _mm_add_epi16(src_temp7, src_temp8); in ihevc_intra_pred_luma_dc_sse42() 460 src_temp4 = _mm_add_epi16(src_temp4, src_temp8); in ihevc_intra_pred_luma_dc_sse42() 560 src_temp2 = _mm_add_epi16(src_temp2, src_temp1); in ihevc_intra_pred_luma_dc_sse42() [all …]
|
D | ihevc_chroma_intra_pred_filters_sse42_intr.c | 203 res_temp_8x16b = _mm_add_epi16(res_temp_8x16b, const_temp6_4x32b); in ihevc_intra_pred_chroma_planar_sse42() 223 res_temp1_8x16b = _mm_add_epi16(res_temp_8x16b, res_temp1_8x16b); in ihevc_intra_pred_chroma_planar_sse42() 224 res_temp1_8x16b = _mm_add_epi16(res_temp1_8x16b, res_temp2_8x16b); in ihevc_intra_pred_chroma_planar_sse42() 225 res_temp1_8x16b = _mm_add_epi16(res_temp1_8x16b, res_temp3_8x16b); in ihevc_intra_pred_chroma_planar_sse42() 233 col_8x16b = _mm_add_epi16(col_8x16b, const_temp7_4x32b); in ihevc_intra_pred_chroma_planar_sse42() 343 src_temp4 = _mm_add_epi16(src_temp4, src_temp6); in ihevc_intra_pred_chroma_dc_sse42() 344 src_temp6 = _mm_add_epi16(src_temp3, src_temp5); in ihevc_intra_pred_chroma_dc_sse42() 345 src_temp8 = _mm_add_epi16(src_temp7, src_temp8); in ihevc_intra_pred_chroma_dc_sse42() 346 src_temp10 = _mm_add_epi16(src_temp9, src_temp10); in ihevc_intra_pred_chroma_dc_sse42() 348 src_temp4 = _mm_add_epi16(src_temp4, src_temp6); in ihevc_intra_pred_chroma_dc_sse42() [all …]
|
D | ihevc_deblk_ssse3_intr.c | 326 temp_pq_str0_16x8b = _mm_add_epi16(temp_pq_str0_16x8b, temp_pq_str1_16x8b); in ihevc_deblk_luma_vert_ssse3() 328 temp_pq1_str0_16x8b = _mm_add_epi16(temp_pq1_str0_16x8b, temp_pq1_str1_16x8b); in ihevc_deblk_luma_vert_ssse3() 337 temp_pq1_str0_16x8b = _mm_add_epi16(temp_pq1_str0_16x8b, const2_8x16b); in ihevc_deblk_luma_vert_ssse3() 339 temp_pq_str0_16x8b = _mm_add_epi16(temp_pq_str0_16x8b, const2_8x16b); in ihevc_deblk_luma_vert_ssse3() 341 temp_pq2_str0_16x8b = _mm_add_epi16(temp_pq2_str0_16x8b, const2_8x16b); in ihevc_deblk_luma_vert_ssse3() 343 temp_pq_str0_16x8b = _mm_add_epi16(temp_pq1_str0_16x8b, temp_pq_str0_16x8b); in ihevc_deblk_luma_vert_ssse3() 345 temp_pq2_str0_16x8b = _mm_add_epi16(temp_pq1_str0_16x8b, temp_pq2_str0_16x8b); in ihevc_deblk_luma_vert_ssse3() 423 tmp2_const_8x16b = _mm_add_epi16(tmp2_const_8x16b, tmp0_const_8x16b); in ihevc_deblk_luma_vert_ssse3() 471 tmp2_const_8x16b = _mm_add_epi16(tmp_delta0_8x16b, tmp_delta0_8x16b); in ihevc_deblk_luma_vert_ssse3() 477 tmp_delta3_8x16b = _mm_add_epi16(tmp_delta3_8x16b, const2_8x16b); in ihevc_deblk_luma_vert_ssse3() [all …]
|
/external/libavc/encoder/x86/ |
D | ih264e_intra_modes_eval_ssse3.c | 229 sad_8x16b = _mm_add_epi16(sad_8x16b, sad1_8x16b); in ih264e_evaluate_intra16x16_modes_ssse3() 280 sad_8x16b = _mm_add_epi16(sad_8x16b, sad1_8x16b); in ih264e_evaluate_intra16x16_modes_ssse3() 353 sad_8x16b = _mm_add_epi16(sad_8x16b, sad1_8x16b); in ih264e_evaluate_intra16x16_modes_ssse3() 601 …temp1_8x16b = _mm_add_epi16(temp1_8x16b, temp2_8x16b); //l3+l3 l3+l2 l2+l1... … in ih264e_evaluate_intra_4x4_modes_ssse3() 604 …temp1_8x16b = _mm_add_epi16(temp1_8x16b, temp2_8x16b); //4*l3 l3+2*l3+l2 l3+2*l2+l1...… in ih264e_evaluate_intra_4x4_modes_ssse3() 606 …temp1_8x16b = _mm_add_epi16(const_2_8x16b, temp1_8x16b); //4*l3+2 3*l3+l2+2 l3+2*l2+l1+2.… in ih264e_evaluate_intra_4x4_modes_ssse3() 617 …temp2_8x16b = _mm_add_epi16(temp2_8x16b, temp3_8x16b); //t1+t2 t2+t3... t6+t7 … in ih264e_evaluate_intra_4x4_modes_ssse3() 619 …temp2_8x16b = _mm_add_epi16(temp2_8x16b, temp3_8x16b); //t1+2*t2+t3 t2+2*t3+t4.. t6+2*t7+… in ih264e_evaluate_intra_4x4_modes_ssse3() 621 …temp2_8x16b = _mm_add_epi16(const_2_8x16b, temp2_8x16b); //t1+2*t2+t3+2 t2+2*t3+t4+2 t3+2*t… in ih264e_evaluate_intra_4x4_modes_ssse3() 885 sad_8x16b = _mm_add_epi16(tmp1_8x16b, tmp2_8x16b); in ih264e_evaluate_intra_chroma_modes_ssse3() [all …]
|
/external/webrtc/webrtc/modules/video_processing/ |
D | content_analysis_sse2.cc | 171 _mm_add_epi16(_mm_unpacklo_epi8(l, z), _mm_unpacklo_epi8(r, z)); in ComputeSpatialMetrics_SSE2() 173 _mm_add_epi16(_mm_unpackhi_epi8(l, z), _mm_unpackhi_epi8(r, z)); in ComputeSpatialMetrics_SSE2() 177 _mm_add_epi16(_mm_unpacklo_epi8(t, z), _mm_unpacklo_epi8(b, z)); in ComputeSpatialMetrics_SSE2() 179 _mm_add_epi16(_mm_unpackhi_epi8(t, z), _mm_unpackhi_epi8(b, z)); in ComputeSpatialMetrics_SSE2() 182 msa_16 = _mm_add_epi16(msa_16, _mm_add_epi16(chi, clo)); in ComputeSpatialMetrics_SSE2() 193 const __m128i setlo = _mm_subs_epi16(clo, _mm_add_epi16(lrlo, tblo)); in ComputeSpatialMetrics_SSE2() 194 const __m128i sethi = _mm_subs_epi16(chi, _mm_add_epi16(lrhi, tbhi)); in ComputeSpatialMetrics_SSE2() 198 _mm_add_epi16(se_16, _mm_max_epi16(setlo, _mm_subs_epi16(z, setlo))); in ComputeSpatialMetrics_SSE2() 200 _mm_add_epi16(se_16, _mm_max_epi16(sethi, _mm_subs_epi16(z, sethi))); in ComputeSpatialMetrics_SSE2() 201 sev_16 = _mm_add_epi16(sev_16, in ComputeSpatialMetrics_SSE2() [all …]
|
/external/libaom/libaom/av1/common/x86/ |
D | av1_highbd_convolve_sse4.c | 136 u[0] = _mm_add_epi16(u[0], v[0]); in trans_accum_save_4x4() 137 u[1] = _mm_add_epi16(u[1], v[1]); in trans_accum_save_4x4() 138 u[2] = _mm_add_epi16(u[2], v[2]); in trans_accum_save_4x4() 139 u[3] = _mm_add_epi16(u[3], v[3]); in trans_accum_save_4x4() 141 u[0] = _mm_add_epi16(u[0], ones); in trans_accum_save_4x4() 142 u[1] = _mm_add_epi16(u[1], ones); in trans_accum_save_4x4() 143 u[2] = _mm_add_epi16(u[2], ones); in trans_accum_save_4x4() 144 u[3] = _mm_add_epi16(u[3], ones); in trans_accum_save_4x4() 178 v = _mm_add_epi16(v, u[0]); in write2pixelsAccum() 179 v = _mm_add_epi16(v, ones); in write2pixelsAccum() [all …]
|
/external/libvpx/libvpx/vp8/common/x86/ |
D | bilinear_filter_sse2.c | 56 const __m128i sum_lo = _mm_add_epi16(a_lo_filtered, b_lo_filtered); in horizontal_16x16() 57 const __m128i sum_hi = _mm_add_epi16(a_hi_filtered, b_hi_filtered); in horizontal_16x16() 59 const __m128i compensated_lo = _mm_add_epi16(sum_lo, round_factor); in horizontal_16x16() 60 const __m128i compensated_hi = _mm_add_epi16(sum_hi, round_factor); in horizontal_16x16() 109 _mm_add_epi16(row_0_lo_filtered, row_1_lo_filtered); in vertical_16x16() 111 _mm_add_epi16(row_0_hi_filtered, row_1_hi_filtered); in vertical_16x16() 113 const __m128i compensated_lo = _mm_add_epi16(sum_lo, round_factor); in vertical_16x16() 114 const __m128i compensated_hi = _mm_add_epi16(sum_hi, round_factor); in vertical_16x16() 174 const __m128i sum = _mm_add_epi16(a_filtered, b_filtered); in horizontal_8xN() 175 const __m128i compensated = _mm_add_epi16(sum, round_factor); in horizontal_8xN() [all …]
|