/external/libvpx/libvpx/vpx_dsp/x86/ |
D | inv_txfm_sse2.h | 154 in[0] = _mm_srai_epi16(in[0], 6); in write_buffer_8x16() 155 in[1] = _mm_srai_epi16(in[1], 6); in write_buffer_8x16() 156 in[2] = _mm_srai_epi16(in[2], 6); in write_buffer_8x16() 157 in[3] = _mm_srai_epi16(in[3], 6); in write_buffer_8x16() 158 in[4] = _mm_srai_epi16(in[4], 6); in write_buffer_8x16() 159 in[5] = _mm_srai_epi16(in[5], 6); in write_buffer_8x16() 160 in[6] = _mm_srai_epi16(in[6], 6); in write_buffer_8x16() 161 in[7] = _mm_srai_epi16(in[7], 6); in write_buffer_8x16() 162 in[8] = _mm_srai_epi16(in[8], 6); in write_buffer_8x16() 163 in[9] = _mm_srai_epi16(in[9], 6); in write_buffer_8x16() [all …]
|
D | fwd_txfm_impl_sse2.h | 541 const __m128i sign_in0 = _mm_srai_epi16(in0, 15); in FDCT8x8_2D() 542 const __m128i sign_in1 = _mm_srai_epi16(in1, 15); in FDCT8x8_2D() 543 const __m128i sign_in2 = _mm_srai_epi16(in2, 15); in FDCT8x8_2D() 544 const __m128i sign_in3 = _mm_srai_epi16(in3, 15); in FDCT8x8_2D() 545 const __m128i sign_in4 = _mm_srai_epi16(in4, 15); in FDCT8x8_2D() 546 const __m128i sign_in5 = _mm_srai_epi16(in5, 15); in FDCT8x8_2D() 547 const __m128i sign_in6 = _mm_srai_epi16(in6, 15); in FDCT8x8_2D() 548 const __m128i sign_in7 = _mm_srai_epi16(in7, 15); in FDCT8x8_2D() 557 in0 = _mm_srai_epi16(in0, 1); in FDCT8x8_2D() 558 in1 = _mm_srai_epi16(in1, 1); in FDCT8x8_2D() [all …]
|
D | quantize_sse2.c | 88 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vpx_quantize_b_sse2() 89 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vpx_quantize_b_sse2() 166 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vpx_quantize_b_sse2() 167 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vpx_quantize_b_sse2()
|
/external/libavc/common/x86/ |
D | ih264_chroma_intra_pred_filters_ssse3.c | 345 res1_sh_l_8x16b = _mm_srai_epi16(res1_l_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 346 res1_sh_h_8x16b = _mm_srai_epi16(res1_h_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 347 res2_sh_l_8x16b = _mm_srai_epi16(res2_l_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 348 res2_sh_h_8x16b = _mm_srai_epi16(res2_h_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 365 res1_sh_l_8x16b = _mm_srai_epi16(res1_l_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 366 res1_sh_h_8x16b = _mm_srai_epi16(res1_h_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 367 res2_sh_l_8x16b = _mm_srai_epi16(res2_l_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 368 res2_sh_h_8x16b = _mm_srai_epi16(res2_h_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 384 res1_sh_l_8x16b = _mm_srai_epi16(res1_l_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() 385 res1_sh_h_8x16b = _mm_srai_epi16(res1_h_8x16b, 5); in ih264_intra_pred_chroma_8x8_mode_plane_ssse3() [all …]
|
D | ih264_weighted_pred_sse42.c | 425 y_0_8x16b = _mm_srai_epi16(y_0_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 426 y_2_8x16b = _mm_srai_epi16(y_2_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 473 y_0_8x16b = _mm_srai_epi16(y_0_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 474 y_1_8x16b = _mm_srai_epi16(y_1_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 475 y_2_8x16b = _mm_srai_epi16(y_2_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 476 y_3_8x16b = _mm_srai_epi16(y_3_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 541 y_0L_8x16b = _mm_srai_epi16(y_0L_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 542 y_0H_8x16b = _mm_srai_epi16(y_0H_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 543 y_1L_8x16b = _mm_srai_epi16(y_1L_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() 544 y_1H_8x16b = _mm_srai_epi16(y_1H_8x16b, log_wd); in ih264_weighted_pred_luma_sse42() [all …]
|
D | ih264_luma_intra_pred_filters_ssse3.c | 351 res1_8x16b = _mm_srai_epi16(res1_8x16b, 2); in ih264_intra_pred_luma_4x4_mode_diag_dl_ssse3() 437 res1_8x16b = _mm_srai_epi16(res1_8x16b, 2); in ih264_intra_pred_luma_4x4_mode_diag_dr_ssse3() 526 w121_a1_8x16b = _mm_srai_epi16(w121_a1_8x16b, 2); in ih264_intra_pred_luma_4x4_mode_vert_r_ssse3() 620 w121_a1_8x16b = _mm_srai_epi16(w121_a1_8x16b, 2); in ih264_intra_pred_luma_4x4_mode_horz_d_ssse3() 714 w121_a1_8x16b = _mm_srai_epi16(w121_a1_8x16b, 2); in ih264_intra_pred_luma_4x4_mode_vert_l_ssse3() 809 w121_a1_8x16b = _mm_srai_epi16(w121_a1_8x16b, 2); in ih264_intra_pred_luma_4x4_mode_horz_u_ssse3() 1113 res1_8x16 = _mm_srai_epi16(a0_8x16, 2); in ih264_intra_pred_luma_8x8_mode_diag_dl_ssse3() 1126 res2_8x16 = _mm_srai_epi16(a0_8x16, 2); in ih264_intra_pred_luma_8x8_mode_diag_dl_ssse3() 1214 res1_8x16 = _mm_srai_epi16(a0_8x16, 2); in ih264_intra_pred_luma_8x8_mode_diag_dr_ssse3() 1228 res2_8x16 = _mm_srai_epi16(a0_8x16, 2); in ih264_intra_pred_luma_8x8_mode_diag_dr_ssse3() [all …]
|
D | ih264_deblk_luma_ssse3.c | 218 Alpha_8x16 = _mm_srai_epi16(Alpha_8x16, 2); in ih264_deblk_luma_vert_bs4_ssse3() 274 p0_16x8_1 = _mm_srai_epi16(temp1, 2); in ih264_deblk_luma_vert_bs4_ssse3() 275 q0_16x8_1 = _mm_srai_epi16(temp2, 2); in ih264_deblk_luma_vert_bs4_ssse3() 282 p1_16x8_2 = _mm_srai_epi16(temp1, 2); in ih264_deblk_luma_vert_bs4_ssse3() 283 q1_16x8_2 = _mm_srai_epi16(temp2, 2); in ih264_deblk_luma_vert_bs4_ssse3() 296 p0_16x8_2 = _mm_srai_epi16(temp1, 3); in ih264_deblk_luma_vert_bs4_ssse3() 297 q0_16x8_2 = _mm_srai_epi16(temp2, 3); in ih264_deblk_luma_vert_bs4_ssse3() 312 p2_16x8_2 = _mm_srai_epi16(temp1, 3); in ih264_deblk_luma_vert_bs4_ssse3() 313 q2_16x8_2 = _mm_srai_epi16(temp2, 3); in ih264_deblk_luma_vert_bs4_ssse3() 334 temp1 = _mm_srai_epi16(temp1, 2); in ih264_deblk_luma_vert_bs4_ssse3() [all …]
|
D | ih264_inter_pred_filters_ssse3.c | 290 …res_r0r1_t1_8x16b = _mm_srai_epi16(res_r0r1_t1_8x16b, 5); //shifting right by 5 bit… in ih264_inter_pred_luma_horz_ssse3() 365 … res_r0_t1_8x16b = _mm_srai_epi16(res_r0_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_horz_ssse3() 366 res_r1_t1_8x16b = _mm_srai_epi16(res_r1_t1_8x16b, 5); in ih264_inter_pred_luma_horz_ssse3() 442 … res_r0_t1_8x16b = _mm_srai_epi16(res_r0_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_horz_ssse3() 443 res_r1_t1_8x16b = _mm_srai_epi16(res_r1_t1_8x16b, 5); in ih264_inter_pred_luma_horz_ssse3() 550 res_t1_8x16b = _mm_srai_epi16(res_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_vert_ssse3() 610 res_t1_8x16b = _mm_srai_epi16(res_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_vert_ssse3() 627 res_t1_8x16b = _mm_srai_epi16(res_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_vert_ssse3() 677 res_t0_8x16b = _mm_srai_epi16(res_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_vert_ssse3() 690 res_t1_8x16b = _mm_srai_epi16(res_t1_8x16b, 5); //shifting right by 5 bits. in ih264_inter_pred_luma_vert_ssse3() [all …]
|
D | ih264_deblk_chroma_ssse3.c | 163 p0_uv_8x16_1 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_vert_bs4_ssse3() 169 q0_uv_8x16_1 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_vert_bs4_ssse3() 194 p0_uv_8x16_2 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_vert_bs4_ssse3() 200 q0_uv_8x16_2 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_vert_bs4_ssse3() 332 p0_uv_8x16_1 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_horz_bs4_ssse3() 338 q0_uv_8x16_1 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_horz_bs4_ssse3() 363 p0_uv_8x16_2 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_horz_bs4_ssse3() 369 q0_uv_8x16_2 = _mm_srai_epi16(temp1, 2); in ih264_deblk_chroma_horz_bs4_ssse3() 513 in_macro = _mm_srai_epi16(diff, 3); in ih264_deblk_chroma_vert_bslt4_ssse3() 553 in_macro = _mm_srai_epi16(diff, 3); in ih264_deblk_chroma_vert_bslt4_ssse3() [all …]
|
D | ih264_iquant_itrans_recon_ssse3.c | 679 temp5 = _mm_srai_epi16(resq_r2_2, 1); //w2>>1 in ih264_iquant_itrans_recon_8x8_ssse3() 692 temp7 = _mm_srai_epi16(resq_r6_2, 1); //w6>>1 in ih264_iquant_itrans_recon_8x8_ssse3() 709 resq_r1_1 = _mm_srai_epi16(temp8, 2); in ih264_iquant_itrans_recon_8x8_ssse3() 714 resq_r3_1 = _mm_srai_epi16(temp6, 2); in ih264_iquant_itrans_recon_8x8_ssse3() 719 resq_r5_1 = _mm_srai_epi16(temp4, 2); in ih264_iquant_itrans_recon_8x8_ssse3() 724 resq_r7_1 = _mm_srai_epi16(temp2, 2); in ih264_iquant_itrans_recon_8x8_ssse3() 865 temp5 = _mm_srai_epi16(resq_r2_2, 1); //w2>>1 in ih264_iquant_itrans_recon_8x8_ssse3() 878 temp7 = _mm_srai_epi16(resq_r6_2, 1); //w6>>1 in ih264_iquant_itrans_recon_8x8_ssse3() 895 resq_r1_1 = _mm_srai_epi16(temp8, 2); in ih264_iquant_itrans_recon_8x8_ssse3() 900 resq_r3_1 = _mm_srai_epi16(temp6, 2); in ih264_iquant_itrans_recon_8x8_ssse3() [all …]
|
/external/libvpx/libvpx/vp9/common/x86/ |
D | vp9_idct_intrin_sse2.c | 50 in[0] = _mm_srai_epi16(in[0], 4); in vp9_iht4x4_16_add_sse2() 51 in[1] = _mm_srai_epi16(in[1], 4); in vp9_iht4x4_16_add_sse2() 128 in[0] = _mm_srai_epi16(in[0], 5); in vp9_iht8x8_64_add_sse2() 129 in[1] = _mm_srai_epi16(in[1], 5); in vp9_iht8x8_64_add_sse2() 130 in[2] = _mm_srai_epi16(in[2], 5); in vp9_iht8x8_64_add_sse2() 131 in[3] = _mm_srai_epi16(in[3], 5); in vp9_iht8x8_64_add_sse2() 132 in[4] = _mm_srai_epi16(in[4], 5); in vp9_iht8x8_64_add_sse2() 133 in[5] = _mm_srai_epi16(in[5], 5); in vp9_iht8x8_64_add_sse2() 134 in[6] = _mm_srai_epi16(in[6], 5); in vp9_iht8x8_64_add_sse2() 135 in[7] = _mm_srai_epi16(in[7], 5); in vp9_iht8x8_64_add_sse2()
|
/external/libhevc/common/x86/ |
D | ihevc_intra_pred_filters_sse42_intr.c | 270 src_temp1 = _mm_srai_epi16(src_temp1, 2); in ihevc_intra_pred_ref_filtering_sse42() 286 src_temp4 = _mm_srai_epi16(src_temp4, 2); in ihevc_intra_pred_ref_filtering_sse42() 1056 src_temp3 = _mm_srai_epi16(src_temp3, 1); in ihevc_intra_pred_luma_horz_sse42() 1114 src_temp10 = _mm_srai_epi16(src_temp10, 1); in ihevc_intra_pred_luma_horz_sse42() 1527 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, 5); /* col=0*/ in ihevc_intra_pred_luma_mode_3_to_9_sse42() 1528 src_temp2_8x16b = _mm_srai_epi16(src_temp2_8x16b, 5); /* col=1*/ in ihevc_intra_pred_luma_mode_3_to_9_sse42() 1529 src_temp3_8x16b = _mm_srai_epi16(src_temp3_8x16b, 5); /* col=2*/ in ihevc_intra_pred_luma_mode_3_to_9_sse42() 1530 src_temp4_8x16b = _mm_srai_epi16(src_temp4_8x16b, 5); /* col=3*/ in ihevc_intra_pred_luma_mode_3_to_9_sse42() 1608 ref_main_idx_4x32b = _mm_sub_epi16(two_nt_4x32b, _mm_srai_epi16(res_temp5_4x32b, 5)); in ihevc_intra_pred_luma_mode_3_to_9_sse42() 1672 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, 5); /* col=0*/ in ihevc_intra_pred_luma_mode_3_to_9_sse42() [all …]
|
D | ihevc_intra_pred_filters_ssse3_intr.c | 556 src_temp1 = _mm_srai_epi16(src_temp1, 2); in ihevc_intra_pred_ref_filtering_ssse3() 572 src_temp4 = _mm_srai_epi16(src_temp4, 2); in ihevc_intra_pred_ref_filtering_ssse3() 1566 src_temp3 = _mm_srai_epi16(src_temp3, 1); in ihevc_intra_pred_luma_horz_ssse3() 1625 src_temp10 = _mm_srai_epi16(src_temp10, 1); in ihevc_intra_pred_luma_horz_ssse3() 2446 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, 5); /* col=0*/ in ihevc_intra_pred_luma_mode_3_to_9_ssse3() 2447 src_temp2_8x16b = _mm_srai_epi16(src_temp2_8x16b, 5); /* col=1*/ in ihevc_intra_pred_luma_mode_3_to_9_ssse3() 2448 src_temp3_8x16b = _mm_srai_epi16(src_temp3_8x16b, 5); /* col=2*/ in ihevc_intra_pred_luma_mode_3_to_9_ssse3() 2449 src_temp4_8x16b = _mm_srai_epi16(src_temp4_8x16b, 5); /* col=3*/ in ihevc_intra_pred_luma_mode_3_to_9_ssse3() 2527 ref_main_idx_4x32b = _mm_sub_epi16(two_nt_4x32b, _mm_srai_epi16(res_temp5_4x32b, 5)); in ihevc_intra_pred_luma_mode_3_to_9_ssse3() 2591 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, 5); /* col=0*/ in ihevc_intra_pred_luma_mode_3_to_9_ssse3() [all …]
|
D | ihevc_chroma_intra_pred_filters_ssse3_intr.c | 1223 ref_main_idx_4x32b = _mm_srai_epi16(res_temp5_4x32b, 5); in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1290 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, 5); /* col=0*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1291 src_temp2_8x16b = _mm_srai_epi16(src_temp2_8x16b, 5); /* col=1*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1292 src_temp3_8x16b = _mm_srai_epi16(src_temp3_8x16b, 5); /* col=2*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1293 src_temp4_8x16b = _mm_srai_epi16(src_temp4_8x16b, 5); /* col=3*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1351 ref_main_idx_4x32b = _mm_srai_epi16(res_temp5_4x32b, 5); in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1464 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, 5); /* col=0*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1465 src_temp2_8x16b = _mm_srai_epi16(src_temp2_8x16b, 5); /* col=1*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1466 src_temp3_8x16b = _mm_srai_epi16(src_temp3_8x16b, 5); /* col=2*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() 1467 src_temp4_8x16b = _mm_srai_epi16(src_temp4_8x16b, 5); /* col=3*/ in ihevc_intra_pred_chroma_mode_3_to_9_ssse3() [all …]
|
D | ihevc_weighted_pred_ssse3_intr.c | 1385 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1386 src_temp3_8x16b = _mm_srai_epi16(src_temp3_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1387 src_temp5_8x16b = _mm_srai_epi16(src_temp5_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1388 src_temp7_8x16b = _mm_srai_epi16(src_temp7_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1397 src_temp9_8x16b = _mm_srai_epi16(src_temp9_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1398 src_temp11_8x16b = _mm_srai_epi16(src_temp11_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1399 src_temp13_8x16b = _mm_srai_epi16(src_temp13_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1400 src_temp15_8x16b = _mm_srai_epi16(src_temp15_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1460 src_temp1_8x16b = _mm_srai_epi16(src_temp1_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() 1461 src_temp3_8x16b = _mm_srai_epi16(src_temp3_8x16b, shift); in ihevc_weighted_pred_bi_default_ssse3() [all …]
|
D | ihevc_deblk_ssse3_intr.c | 348 temp_pq_str0_16x8b = _mm_srai_epi16(temp_pq_str0_16x8b, 3); in ihevc_deblk_luma_vert_ssse3() 349 temp_pq1_str0_16x8b = _mm_srai_epi16(temp_pq1_str0_16x8b, 2); in ihevc_deblk_luma_vert_ssse3() 350 temp_pq2_str0_16x8b = _mm_srai_epi16(temp_pq2_str0_16x8b, 3); in ihevc_deblk_luma_vert_ssse3() 466 consttc_8x16b = _mm_srai_epi16(consttc_8x16b, 1); in ihevc_deblk_luma_vert_ssse3() 481 tmp_delta1_8x16b = _mm_srai_epi16(tmp_delta1_8x16b, 2); in ihevc_deblk_luma_vert_ssse3() 489 mask_pq_8x16b = _mm_srai_epi16(mask_pq_8x16b, 15); in ihevc_deblk_luma_vert_ssse3() 792 temp_pq0_str0_16x8b = _mm_srai_epi16(temp_pq0_str0_16x8b, 3); in ihevc_deblk_luma_horz_ssse3() 793 temp_pq1_str0_16x8b = _mm_srai_epi16(temp_pq1_str0_16x8b, 2); in ihevc_deblk_luma_horz_ssse3() 794 temp_pq2_str0_16x8b = _mm_srai_epi16(temp_pq2_str0_16x8b, 3); in ihevc_deblk_luma_horz_ssse3() 889 consttc_8x16b = _mm_srai_epi16(consttc_8x16b, 1); in ihevc_deblk_luma_horz_ssse3() [all …]
|
D | ihevc_inter_pred_filters_ssse3_intr.c | 361 … res_temp6_8x16b = _mm_srai_epi16(res_temp6_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 394 … res_temp16_8x16b = _mm_srai_epi16(res_temp16_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 1 */ in ihevc_inter_pred_luma_horz_ssse3() 450 … res_temp6_8x16b = _mm_srai_epi16(res_temp6_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 488 … res_temp16_8x16b = _mm_srai_epi16(res_temp16_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 1 */ in ihevc_inter_pred_luma_horz_ssse3() 552 … res_temp6_8x16b = _mm_srai_epi16(res_temp6_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 608 … res_temp6_8x16b = _mm_srai_epi16(res_temp6_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 646 … res_temp16_8x16b = _mm_srai_epi16(res_temp16_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 1 */ in ihevc_inter_pred_luma_horz_ssse3() 697 … res_temp6_8x16b = _mm_srai_epi16(res_temp6_8x16b, SHIFT_14_MINUS_BIT_DEPTH); /* row = 0 */ in ihevc_inter_pred_luma_horz_ssse3() 872 s8_8x16b = _mm_srai_epi16(s7_8x16b, SHIFT_14_MINUS_BIT_DEPTH); in ihevc_inter_pred_luma_vert_ssse3() 903 s28_8x16b = _mm_srai_epi16(s27_8x16b, SHIFT_14_MINUS_BIT_DEPTH); in ihevc_inter_pred_luma_vert_ssse3() [all …]
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_dct_ssse3.c | 265 const __m128i sign_in0 = _mm_srai_epi16(in0, 15); in vp9_fdct8x8_quant_ssse3() 266 const __m128i sign_in1 = _mm_srai_epi16(in1, 15); in vp9_fdct8x8_quant_ssse3() 267 const __m128i sign_in2 = _mm_srai_epi16(in2, 15); in vp9_fdct8x8_quant_ssse3() 268 const __m128i sign_in3 = _mm_srai_epi16(in3, 15); in vp9_fdct8x8_quant_ssse3() 269 const __m128i sign_in4 = _mm_srai_epi16(in4, 15); in vp9_fdct8x8_quant_ssse3() 270 const __m128i sign_in5 = _mm_srai_epi16(in5, 15); in vp9_fdct8x8_quant_ssse3() 271 const __m128i sign_in6 = _mm_srai_epi16(in6, 15); in vp9_fdct8x8_quant_ssse3() 272 const __m128i sign_in7 = _mm_srai_epi16(in7, 15); in vp9_fdct8x8_quant_ssse3() 281 in0 = _mm_srai_epi16(in0, 1); in vp9_fdct8x8_quant_ssse3() 282 in1 = _mm_srai_epi16(in1, 1); in vp9_fdct8x8_quant_ssse3() [all …]
|
D | vp9_avg_intrin_sse2.c | 267 b0 = _mm_srai_epi16(b0, 1); in vp9_hadamard_16x16_sse2() 268 b1 = _mm_srai_epi16(b1, 1); in vp9_hadamard_16x16_sse2() 269 b2 = _mm_srai_epi16(b2, 1); in vp9_hadamard_16x16_sse2() 270 b3 = _mm_srai_epi16(b3, 1); in vp9_hadamard_16x16_sse2() 289 __m128i sign = _mm_srai_epi16(sum, 15); in vp9_satd_sse2() 296 sign = _mm_srai_epi16(src_line, 15); in vp9_satd_sse2() 347 s0 = _mm_srai_epi16(s0, 5); in vp9_int_pro_row_sse2() 348 s1 = _mm_srai_epi16(s1, 5); in vp9_int_pro_row_sse2() 350 s0 = _mm_srai_epi16(s0, 4); in vp9_int_pro_row_sse2() 351 s1 = _mm_srai_epi16(s1, 4); in vp9_int_pro_row_sse2() [all …]
|
D | vp9_dct_sse2.c | 48 out01 = _mm_srai_epi16(out01, 2); in write_buffer_4x4() 49 out23 = _mm_srai_epi16(out23, 2); in write_buffer_4x4() 432 const __m128i sign_in0 = _mm_srai_epi16(in0, 15); in vp9_fdct8x8_quant_sse2() 433 const __m128i sign_in1 = _mm_srai_epi16(in1, 15); in vp9_fdct8x8_quant_sse2() 434 const __m128i sign_in2 = _mm_srai_epi16(in2, 15); in vp9_fdct8x8_quant_sse2() 435 const __m128i sign_in3 = _mm_srai_epi16(in3, 15); in vp9_fdct8x8_quant_sse2() 436 const __m128i sign_in4 = _mm_srai_epi16(in4, 15); in vp9_fdct8x8_quant_sse2() 437 const __m128i sign_in5 = _mm_srai_epi16(in5, 15); in vp9_fdct8x8_quant_sse2() 438 const __m128i sign_in6 = _mm_srai_epi16(in6, 15); in vp9_fdct8x8_quant_sse2() 439 const __m128i sign_in7 = _mm_srai_epi16(in7, 15); in vp9_fdct8x8_quant_sse2() [all …]
|
D | vp9_quantize_sse2.c | 61 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_quantize_fp_sse2() 62 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_quantize_fp_sse2() 114 thr = _mm_srai_epi16(dequant, 1); in vp9_quantize_fp_sse2() 128 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_quantize_fp_sse2() 129 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_quantize_fp_sse2()
|
/external/opencv3/3rdparty/libwebp/dsp/ |
D | enc_sse2.c | 76 const __m128i sign0 = _mm_srai_epi16(out0, 15); in CollectHistogramSSE2() 77 const __m128i sign1 = _mm_srai_epi16(out1, 15); in CollectHistogramSSE2() 84 const __m128i v0 = _mm_srai_epi16(abs0, 3); in CollectHistogramSSE2() 85 const __m128i v1 = _mm_srai_epi16(abs1, 3); in CollectHistogramSSE2() 239 const __m128i shifted0 = _mm_srai_epi16(tmp0, 3); in ITransformSSE2() 240 const __m128i shifted1 = _mm_srai_epi16(tmp1, 3); in ITransformSSE2() 241 const __m128i shifted2 = _mm_srai_epi16(tmp2, 3); in ITransformSSE2() 242 const __m128i shifted3 = _mm_srai_epi16(tmp3, 3); in ITransformSSE2() 431 const __m128i d0 = _mm_srai_epi16(c0, 4); in FTransformSSE2() 432 const __m128i d2 = _mm_srai_epi16(c2, 4); in FTransformSSE2() [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | vp8_quantize_sse2.c | 65 sz0 = _mm_srai_epi16(z0, 15); in vp8_regular_quantize_b_sse2() 66 sz1 = _mm_srai_epi16(z1, 15); in vp8_regular_quantize_b_sse2() 161 sz0 = _mm_srai_epi16(z0, 15); in vp8_fast_quantize_b_sse2() 162 sz1 = _mm_srai_epi16(z1, 15); in vp8_fast_quantize_b_sse2()
|
D | quantize_ssse3.c | 61 sz0 = _mm_srai_epi16(z0, 15); in vp8_fast_quantize_b_ssse3() 62 sz1 = _mm_srai_epi16(z1, 15); in vp8_fast_quantize_b_ssse3()
|
/external/libavc/encoder/x86/ |
D | ih264e_half_pel_ssse3.c | 183 …res_r0_t1_8x16b = _mm_srai_epi16(res_r0_t1_8x16b, 5); //shifting right by 5 bit… in ih264e_sixtapfilter_horz_ssse3() 184 res_r1_t1_8x16b = _mm_srai_epi16(res_r1_t1_8x16b, 5); in ih264e_sixtapfilter_horz_ssse3() 401 res_vert1_8x16b = _mm_srai_epi16(res_vert1_8x16b, 5); //shifting right by 5 bits. in ih264e_sixtap_filter_2dvh_vert_ssse3() 439 res_vert2_8x16b = _mm_srai_epi16(res_vert2_8x16b, 5); //shifting right by 5 bits. in ih264e_sixtap_filter_2dvh_vert_ssse3()
|