/external/libvpx/libvpx/vpx_dsp/x86/ |
D | quantize_sse2.c | 80 __m128i qcoeff0, qcoeff1; in vpx_quantize_b_sse2() local 90 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vpx_quantize_b_sse2() 92 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vpx_quantize_b_sse2() 95 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); in vpx_quantize_b_sse2() 98 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vpx_quantize_b_sse2() 101 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vpx_quantize_b_sse2() 104 qtmp0 = _mm_add_epi16(qtmp0, qcoeff0); in vpx_quantize_b_sse2() 106 qcoeff0 = _mm_mulhi_epi16(qtmp0, shift); in vpx_quantize_b_sse2() 111 qcoeff0 = _mm_xor_si128(qcoeff0, coeff0_sign); in vpx_quantize_b_sse2() 113 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vpx_quantize_b_sse2() [all …]
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_quantize_sse2.c | 54 __m128i qcoeff0, qcoeff1; in vp9_quantize_fp_sse2() local 63 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_quantize_fp_sse2() 65 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_quantize_fp_sse2() 68 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_quantize_fp_sse2() 71 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_quantize_fp_sse2() 76 qcoeff0 = _mm_xor_si128(qtmp0, coeff0_sign); in vp9_quantize_fp_sse2() 78 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_quantize_fp_sse2() 81 _mm_store_si128((__m128i*)(qcoeff_ptr + n_coeffs), qcoeff0); in vp9_quantize_fp_sse2() 84 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_quantize_fp_sse2() 121 __m128i qcoeff0, qcoeff1; in vp9_quantize_fp_sse2() local [all …]
|
D | vp9_dct_ssse3.c | 313 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_ssse3() local 322 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 324 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 327 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_ssse3() 330 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_fdct8x8_quant_ssse3() 335 qcoeff0 = _mm_xor_si128(qtmp0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 337 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 340 _mm_store_si128((__m128i*)(qcoeff_ptr + n_coeffs), qcoeff0); in vp9_fdct8x8_quant_ssse3() 343 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_fdct8x8_quant_ssse3() 380 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_ssse3() local [all …]
|
D | vp9_dct_sse2.c | 479 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_sse2() local 488 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 490 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 493 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_sse2() 496 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_fdct8x8_quant_sse2() 501 qcoeff0 = _mm_xor_si128(qtmp0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 503 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 506 _mm_store_si128((__m128i*)(qcoeff_ptr + n_coeffs), qcoeff0); in vp9_fdct8x8_quant_sse2() 509 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_fdct8x8_quant_sse2() 545 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_sse2() local [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | quantize_sse4.c | 51 __m128i qcoeff0 = _mm_setzero_si128(); in vp8_regular_quantize_b_sse4_1() local 101 SELECT_EOB(1, 0, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 102 SELECT_EOB(2, 1, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 103 SELECT_EOB(3, 4, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 105 SELECT_EOB(5, 5, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 106 SELECT_EOB(6, 2, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 107 SELECT_EOB(7, 3, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 108 SELECT_EOB(8, 6, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 113 SELECT_EOB(13, 7, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 118 _mm_store_si128((__m128i *)(d->qcoeff), qcoeff0); in vp8_regular_quantize_b_sse4_1() [all …]
|