/external/libavc/common/x86/ |
D | ih264_iquant_itrans_recon_dc_ssse3.c | 118 __m128i sign_reg; in ih264_iquant_itrans_recon_4x4_dc_ssse3() local 152 sign_reg = _mm_cmpgt_epi16(temp4, zero_8x16b); // sign check in ih264_iquant_itrans_recon_4x4_dc_ssse3() 153 temp4 = _mm_and_si128(temp4, sign_reg); in ih264_iquant_itrans_recon_4x4_dc_ssse3() 154 sign_reg = _mm_cmpgt_epi16(temp5, zero_8x16b); // sign check in ih264_iquant_itrans_recon_4x4_dc_ssse3() 155 temp5 = _mm_and_si128(temp5, sign_reg); in ih264_iquant_itrans_recon_4x4_dc_ssse3() 243 __m128i sign_reg; in ih264_iquant_itrans_recon_8x8_dc_ssse3() local 305 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); // sign check in ih264_iquant_itrans_recon_8x8_dc_ssse3() 306 temp1 = _mm_and_si128(temp1, sign_reg); in ih264_iquant_itrans_recon_8x8_dc_ssse3() 307 sign_reg = _mm_cmpgt_epi16(temp2, zero_8x16b); // sign check in ih264_iquant_itrans_recon_8x8_dc_ssse3() 308 temp2 = _mm_and_si128(temp2, sign_reg); in ih264_iquant_itrans_recon_8x8_dc_ssse3() [all …]
|
D | ih264_iquant_itrans_recon_ssse3.c | 117 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in ih264_iquant_itrans_recon_4x4_ssse3() local 296 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); // sign check in ih264_iquant_itrans_recon_4x4_ssse3() 297 temp0 = _mm_and_si128(temp0, sign_reg); in ih264_iquant_itrans_recon_4x4_ssse3() 298 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in ih264_iquant_itrans_recon_4x4_ssse3() 299 temp1 = _mm_and_si128(temp1, sign_reg); in ih264_iquant_itrans_recon_4x4_ssse3() 392 __m128i sign_reg; in ih264_iquant_itrans_recon_8x8_ssse3() local 640 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r1_2); in ih264_iquant_itrans_recon_8x8_ssse3() 641 resq_r1_1 = _mm_unpacklo_epi16(resq_r1_2, sign_reg); //a1 b1 c1 d1 -- 32 bit in ih264_iquant_itrans_recon_8x8_ssse3() 642 resq_r1_2 = _mm_unpackhi_epi16(resq_r1_2, sign_reg); //e1 f1 g1 h1 -- 32 bit in ih264_iquant_itrans_recon_8x8_ssse3() 643 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r3_2); in ih264_iquant_itrans_recon_8x8_ssse3() [all …]
|
D | ih264_ihadamard_scaling_ssse3.c | 96 __m128i src_r0_r1, src_r2_r3, sign_reg, zero_8x16b = _mm_setzero_si128(); in ih264_ihadamard_scaling_4x4_ssse3() local 109 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src_r0_r1); in ih264_ihadamard_scaling_4x4_ssse3() 110 src_r0 = _mm_unpacklo_epi16(src_r0_r1, sign_reg); in ih264_ihadamard_scaling_4x4_ssse3() 111 src_r1 = _mm_unpackhi_epi16(src_r0_r1, sign_reg); in ih264_ihadamard_scaling_4x4_ssse3() 112 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src_r2_r3); in ih264_ihadamard_scaling_4x4_ssse3() 113 src_r2 = _mm_unpacklo_epi16(src_r2_r3, sign_reg); in ih264_ihadamard_scaling_4x4_ssse3() 114 src_r3 = _mm_unpackhi_epi16(src_r2_r3, sign_reg); in ih264_ihadamard_scaling_4x4_ssse3()
|
D | ih264_iquant_itrans_recon_sse42.c | 117 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in ih264_iquant_itrans_recon_4x4_sse42() local 282 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); // sign check in ih264_iquant_itrans_recon_4x4_sse42() 283 temp0 = _mm_and_si128(temp0, sign_reg); in ih264_iquant_itrans_recon_4x4_sse42() 284 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in ih264_iquant_itrans_recon_4x4_sse42() 285 temp1 = _mm_and_si128(temp1, sign_reg); in ih264_iquant_itrans_recon_4x4_sse42() 366 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in ih264_iquant_itrans_recon_chroma_4x4_sse42() local 537 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); // sign check in ih264_iquant_itrans_recon_chroma_4x4_sse42() 538 temp0 = _mm_and_si128(temp0, sign_reg); in ih264_iquant_itrans_recon_chroma_4x4_sse42() 539 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in ih264_iquant_itrans_recon_chroma_4x4_sse42() 540 temp1 = _mm_and_si128(temp1, sign_reg); in ih264_iquant_itrans_recon_chroma_4x4_sse42()
|
D | ih264_ihadamard_scaling_sse42.c | 211 __m128i src, plane_0, plane_1, temp0, temp1, sign_reg; in ih264_ihadamard_scaling_2x2_uv_sse42() local 217 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src); in ih264_ihadamard_scaling_2x2_uv_sse42() 218 plane_0 = _mm_unpacklo_epi16(src, sign_reg); //a0 a1 a2 a3 -- 32 bits in ih264_ihadamard_scaling_2x2_uv_sse42() 219 plane_1 = _mm_unpackhi_epi16(src, sign_reg); //b0 b1 b2 b3 -- 32 bits in ih264_ihadamard_scaling_2x2_uv_sse42()
|
D | ih264_resi_trans_quant_sse42.c | 676 __m128i src_r0_r1, src_r2_r3, sign_reg; in ih264_hadamard_quant_4x4_sse42() local 689 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src_r0_r1); in ih264_hadamard_quant_4x4_sse42() 690 src_r0 = _mm_unpacklo_epi16(src_r0_r1, sign_reg); //a0 a1 a2 a3 in ih264_hadamard_quant_4x4_sse42() 691 src_r1 = _mm_unpackhi_epi16(src_r0_r1, sign_reg); //b0 b1 b2 b3 in ih264_hadamard_quant_4x4_sse42() 692 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src_r2_r3); in ih264_hadamard_quant_4x4_sse42() 693 src_r2 = _mm_unpacklo_epi16(src_r2_r3, sign_reg); //c0 c1 c2 c3 in ih264_hadamard_quant_4x4_sse42() 694 src_r3 = _mm_unpackhi_epi16(src_r2_r3, sign_reg); //d0 d1 d2 d3 in ih264_hadamard_quant_4x4_sse42() 905 __m128i src, plane_0, plane_1, temp0, temp1, sign_reg; in ih264_hadamard_quant_2x2_uv_sse42() local 915 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src); in ih264_hadamard_quant_2x2_uv_sse42() 916 plane_0 = _mm_unpacklo_epi16(src, sign_reg); //a0 a1 a2 a3 -- 32 bits in ih264_hadamard_quant_2x2_uv_sse42() [all …]
|
/external/libavc/common/x86/svc/ |
D | isvc_iquant_itrans_recon_ssse3.c | 126 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in isvc_iquant_itrans_recon_4x4_ssse3() local 347 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); // sign check in isvc_iquant_itrans_recon_4x4_ssse3() 348 temp0 = _mm_and_si128(temp0, sign_reg); in isvc_iquant_itrans_recon_4x4_ssse3() 349 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in isvc_iquant_itrans_recon_4x4_ssse3() 350 temp1 = _mm_and_si128(temp1, sign_reg); in isvc_iquant_itrans_recon_4x4_ssse3() 453 __m128i sign_reg; in isvc_iquant_itrans_recon_8x8_ssse3() local 868 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r1_2); in isvc_iquant_itrans_recon_8x8_ssse3() 869 resq_r1_1 = _mm_unpacklo_epi16(resq_r1_2, sign_reg); // a1 b1 c1 d1 -- 32 bit in isvc_iquant_itrans_recon_8x8_ssse3() 870 resq_r1_2 = _mm_unpackhi_epi16(resq_r1_2, sign_reg); // e1 f1 g1 h1 -- 32 bit in isvc_iquant_itrans_recon_8x8_ssse3() 871 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r3_2); in isvc_iquant_itrans_recon_8x8_ssse3() [all …]
|
D | isvc_iquant_itrans_recon_dc_ssse3.c | 128 __m128i sign_reg; in isvc_iquant_itrans_recon_4x4_dc_ssse3() local 178 sign_reg = _mm_cmpgt_epi16(temp4, zero_8x16b); // sign check in isvc_iquant_itrans_recon_4x4_dc_ssse3() 179 temp4 = _mm_and_si128(temp4, sign_reg); in isvc_iquant_itrans_recon_4x4_dc_ssse3() 180 sign_reg = _mm_cmpgt_epi16(temp5, zero_8x16b); // sign check in isvc_iquant_itrans_recon_4x4_dc_ssse3() 181 temp5 = _mm_and_si128(temp5, sign_reg); in isvc_iquant_itrans_recon_4x4_dc_ssse3() 279 __m128i sign_reg; in isvc_iquant_itrans_recon_8x8_dc_ssse3() local 360 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); // sign check in isvc_iquant_itrans_recon_8x8_dc_ssse3() 361 temp1 = _mm_and_si128(temp1, sign_reg); in isvc_iquant_itrans_recon_8x8_dc_ssse3() 362 sign_reg = _mm_cmpgt_epi16(temp2, zero_8x16b); // sign check in isvc_iquant_itrans_recon_8x8_dc_ssse3() 363 temp2 = _mm_and_si128(temp2, sign_reg); in isvc_iquant_itrans_recon_8x8_dc_ssse3() [all …]
|
D | isvc_iquant_itrans_recon_sse42.c | 124 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in isvc_iquant_itrans_recon_4x4_sse42() local 373 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); in isvc_iquant_itrans_recon_4x4_sse42() 374 temp0 = _mm_and_si128(temp0, sign_reg); in isvc_iquant_itrans_recon_4x4_sse42() 375 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in isvc_iquant_itrans_recon_4x4_sse42() 376 temp1 = _mm_and_si128(temp1, sign_reg); in isvc_iquant_itrans_recon_4x4_sse42() 419 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in isvc_iquant_itrans_recon_res_4x4_sse42() local 683 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); in isvc_iquant_itrans_recon_res_4x4_sse42() 684 temp0 = _mm_and_si128(temp0, sign_reg); in isvc_iquant_itrans_recon_res_4x4_sse42() 685 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in isvc_iquant_itrans_recon_res_4x4_sse42() 686 temp1 = _mm_and_si128(temp1, sign_reg); in isvc_iquant_itrans_recon_res_4x4_sse42() [all …]
|
D | isvc_resi_trans_quant_sse42.c | 1530 __m128i src_r0_r1, src_r2_r3, sign_reg; in isvc_hadamard_quant_4x4_sse42() local 1545 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src_r0_r1); in isvc_hadamard_quant_4x4_sse42() 1546 src_r0 = _mm_unpacklo_epi16(src_r0_r1, sign_reg); // a0 a1 a2 a3 in isvc_hadamard_quant_4x4_sse42() 1547 src_r1 = _mm_unpackhi_epi16(src_r0_r1, sign_reg); // b0 b1 b2 b3 in isvc_hadamard_quant_4x4_sse42() 1548 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src_r2_r3); in isvc_hadamard_quant_4x4_sse42() 1549 src_r2 = _mm_unpacklo_epi16(src_r2_r3, sign_reg); // c0 c1 c2 c3 in isvc_hadamard_quant_4x4_sse42() 1550 src_r3 = _mm_unpackhi_epi16(src_r2_r3, sign_reg); // d0 d1 d2 d3 in isvc_hadamard_quant_4x4_sse42() 1787 __m128i src, plane_0, plane_1, temp0, temp1, sign_reg; in isvc_hadamard_quant_2x2_uv_sse42() local 1797 sign_reg = _mm_cmpgt_epi16(zero_8x16b, src); in isvc_hadamard_quant_2x2_uv_sse42() 1798 plane_0 = _mm_unpacklo_epi16(src, sign_reg); // a0 a1 a2 a3 -- 32 bits in isvc_hadamard_quant_2x2_uv_sse42() [all …]
|
/external/libhevc/encoder/arm/ |
D | ihevce_common_utils_neon.c | 477 int16x8_t sign_reg0, sign_reg1, sign_reg, sign_reg2, sign_reg3; in ihevce_get_luma_eo_sao_params_neon() local 548 sign_reg = (int16x8_t)vcgtq_s16(sign_reg0, const_0); in ihevce_get_luma_eo_sao_params_neon() 550 sign_reg0 = vsubq_s16(sign_reg0, sign_reg); in ihevce_get_luma_eo_sao_params_neon() 554 sign_reg = (int16x8_t)vcgtq_s16(sign_reg1, const_0); in ihevce_get_luma_eo_sao_params_neon() 556 sign_reg1 = vsubq_s16(sign_reg1, sign_reg); in ihevce_get_luma_eo_sao_params_neon() 560 sign_reg = (int16x8_t)vcgtq_s16(sign_reg2, const_0); in ihevce_get_luma_eo_sao_params_neon() 562 sign_reg2 = vsubq_s16(sign_reg2, sign_reg); in ihevce_get_luma_eo_sao_params_neon() 566 sign_reg = (int16x8_t)vcgtq_s16(sign_reg3, const_0); in ihevce_get_luma_eo_sao_params_neon() 568 sign_reg3 = vsubq_s16(sign_reg3, sign_reg); in ihevce_get_luma_eo_sao_params_neon() 647 sign_reg = (int16x8_t)vcgtq_s16(sign_reg0, const_0); in ihevce_get_luma_eo_sao_params_neon() [all …]
|
/external/libavc/decoder/x86/svc/ |
D | isvcd_iquant_itrans_residual_recon_sse42.c | 91 __m128i sign_reg, dequant_r0_r1, dequant_r2_r3; in isvcd_iquant_itrans_residual_recon_4x4_sse42() local 305 sign_reg = _mm_cmpgt_epi16(temp0, zero_8x16b); // sign check in isvcd_iquant_itrans_residual_recon_4x4_sse42() 306 temp0 = _mm_and_si128(temp0, sign_reg); in isvcd_iquant_itrans_residual_recon_4x4_sse42() 307 sign_reg = _mm_cmpgt_epi16(temp1, zero_8x16b); in isvcd_iquant_itrans_residual_recon_4x4_sse42() 308 temp1 = _mm_and_si128(temp1, sign_reg); in isvcd_iquant_itrans_residual_recon_4x4_sse42() 374 __m128i sign_reg; in isvcd_iquant_itrans_residual_recon_8x8_sse42() local 717 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r1_2); in isvcd_iquant_itrans_residual_recon_8x8_sse42() 718 resq_r1_1 = _mm_unpacklo_epi16(resq_r1_2, sign_reg); // a1 b1 c1 d1 -- 32 bit in isvcd_iquant_itrans_residual_recon_8x8_sse42() 719 resq_r1_2 = _mm_unpackhi_epi16(resq_r1_2, sign_reg); // e1 f1 g1 h1 -- 32 bit in isvcd_iquant_itrans_residual_recon_8x8_sse42() 720 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r3_2); in isvcd_iquant_itrans_residual_recon_8x8_sse42() [all …]
|
D | isvcd_iquant_itrans_sse42.c | 504 __m128i sign_reg; in isvcd_iquant_itrans_8x8_sse42() local 845 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r1_2); in isvcd_iquant_itrans_8x8_sse42() 846 resq_r1_1 = _mm_unpacklo_epi16(resq_r1_2, sign_reg); // a1 b1 c1 d1 -- 32 bit in isvcd_iquant_itrans_8x8_sse42() 847 resq_r1_2 = _mm_unpackhi_epi16(resq_r1_2, sign_reg); // e1 f1 g1 h1 -- 32 bit in isvcd_iquant_itrans_8x8_sse42() 848 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r3_2); in isvcd_iquant_itrans_8x8_sse42() 849 resq_r3_1 = _mm_unpacklo_epi16(resq_r3_2, sign_reg); // a3 b3 c3 d3 -- 32 bit in isvcd_iquant_itrans_8x8_sse42() 850 resq_r3_2 = _mm_unpackhi_epi16(resq_r3_2, sign_reg); // e3 f3 g3 h3 -- 32 bit in isvcd_iquant_itrans_8x8_sse42() 851 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r5_2); in isvcd_iquant_itrans_8x8_sse42() 852 resq_r5_1 = _mm_unpacklo_epi16(resq_r5_2, sign_reg); // a5 b5 c5 d5 -- 32 bit in isvcd_iquant_itrans_8x8_sse42() 853 resq_r5_2 = _mm_unpackhi_epi16(resq_r5_2, sign_reg); // e5 f5 g5 h5 -- 32 bit in isvcd_iquant_itrans_8x8_sse42() [all …]
|
D | isvcd_iquant_itrans_residual_sse42.c | 349 __m128i sign_reg; in isvcd_iquant_itrans_residual_8x8_sse42() local 665 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r1_2); in isvcd_iquant_itrans_residual_8x8_sse42() 666 resq_r1_1 = _mm_unpacklo_epi16(resq_r1_2, sign_reg); // a1 b1 c1 d1 -- 32 bit in isvcd_iquant_itrans_residual_8x8_sse42() 667 resq_r1_2 = _mm_unpackhi_epi16(resq_r1_2, sign_reg); // e1 f1 g1 h1 -- 32 bit in isvcd_iquant_itrans_residual_8x8_sse42() 668 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r3_2); in isvcd_iquant_itrans_residual_8x8_sse42() 669 resq_r3_1 = _mm_unpacklo_epi16(resq_r3_2, sign_reg); // a3 b3 c3 d3 -- 32 bit in isvcd_iquant_itrans_residual_8x8_sse42() 670 resq_r3_2 = _mm_unpackhi_epi16(resq_r3_2, sign_reg); // e3 f3 g3 h3 -- 32 bit in isvcd_iquant_itrans_residual_8x8_sse42() 671 sign_reg = _mm_cmpgt_epi16(zero_8x16b, resq_r5_2); in isvcd_iquant_itrans_residual_8x8_sse42() 672 resq_r5_1 = _mm_unpacklo_epi16(resq_r5_2, sign_reg); // a5 b5 c5 d5 -- 32 bit in isvcd_iquant_itrans_residual_8x8_sse42() 673 resq_r5_2 = _mm_unpackhi_epi16(resq_r5_2, sign_reg); // e5 f5 g5 h5 -- 32 bit in isvcd_iquant_itrans_residual_8x8_sse42() [all …]
|
/external/libhevc/common/x86/ |
D | ihevc_inter_pred_filters_ssse3_intr.c | 2646 __m128i zero_8x16b, offset_8x16b, mask_low_32b, mask_high_96b, sign_reg; in ihevc_inter_pred_luma_vert_w16inp_ssse3() local 2652 sign_reg = _mm_cmpgt_epi8(zero_8x16b, s4_8x16b); in ihevc_inter_pred_luma_vert_w16inp_ssse3() 2653 s5_8x16b = _mm_unpacklo_epi8(s4_8x16b, sign_reg); in ihevc_inter_pred_luma_vert_w16inp_ssse3() 3123 __m128i zero_8x16b, offset_8x16b, sign_reg; in ihevc_inter_pred_luma_vert_w16inp_w16out_ssse3() local 3129 sign_reg = _mm_cmpgt_epi8(zero_8x16b, s4_8x16b); in ihevc_inter_pred_luma_vert_w16inp_w16out_ssse3() 3130 s5_8x16b = _mm_unpacklo_epi8(s4_8x16b, sign_reg); in ihevc_inter_pred_luma_vert_w16inp_w16out_ssse3() 5031 __m128i zero_8x16b, offset_8x16b, mask_low_32b, mask_high_96b, sign_reg; in ihevc_inter_pred_chroma_vert_w16inp_ssse3() local 5040 sign_reg = _mm_cmpgt_epi8(zero_8x16b, s4_8x16b); in ihevc_inter_pred_chroma_vert_w16inp_ssse3() 5041 s5_8x16b = _mm_unpacklo_epi8(s4_8x16b, sign_reg); in ihevc_inter_pred_chroma_vert_w16inp_ssse3() 5356 __m128i zero_8x16b, sign_reg; in ihevc_inter_pred_chroma_vert_w16inp_w16out_ssse3() local [all …]
|