/external/libvpx/libvpx/vpx_dsp/x86/ |
D | quantize_sse2.c | 55 __m128i qcoeff0, qcoeff1; in vpx_quantize_b_sse2() local 65 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vpx_quantize_b_sse2() 67 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vpx_quantize_b_sse2() 70 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); in vpx_quantize_b_sse2() 73 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vpx_quantize_b_sse2() 76 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vpx_quantize_b_sse2() 79 qtmp0 = _mm_add_epi16(qtmp0, qcoeff0); in vpx_quantize_b_sse2() 81 qcoeff0 = _mm_mulhi_epi16(qtmp0, shift); in vpx_quantize_b_sse2() 86 qcoeff0 = _mm_xor_si128(qcoeff0, coeff0_sign); in vpx_quantize_b_sse2() 88 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vpx_quantize_b_sse2() [all …]
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_quantize_sse2.c | 53 __m128i qcoeff0, qcoeff1; in vp9_quantize_fp_sse2() local 62 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_quantize_fp_sse2() 64 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_quantize_fp_sse2() 67 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_quantize_fp_sse2() 70 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_quantize_fp_sse2() 75 qcoeff0 = _mm_xor_si128(qtmp0, coeff0_sign); in vp9_quantize_fp_sse2() 77 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_quantize_fp_sse2() 80 store_tran_low(qcoeff0, qcoeff_ptr + n_coeffs); in vp9_quantize_fp_sse2() 83 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_quantize_fp_sse2() 120 __m128i qcoeff0, qcoeff1; in vp9_quantize_fp_sse2() local [all …]
|
D | vp9_dct_ssse3.c | 305 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_ssse3() local 314 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 316 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 319 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_ssse3() 322 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_fdct8x8_quant_ssse3() 327 qcoeff0 = _mm_xor_si128(qtmp0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 329 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 332 store_tran_low(qcoeff0, qcoeff_ptr + n_coeffs); in vp9_fdct8x8_quant_ssse3() 335 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_fdct8x8_quant_ssse3() 372 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_ssse3() local [all …]
|
D | vp9_dct_intrin_sse2.c | 472 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_sse2() local 481 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 483 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 486 qcoeff0 = _mm_adds_epi16(qcoeff0, round); in vp9_fdct8x8_quant_sse2() 489 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_fdct8x8_quant_sse2() 494 qcoeff0 = _mm_xor_si128(qtmp0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 496 qcoeff0 = _mm_sub_epi16(qcoeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 499 _mm_store_si128((__m128i *)(qcoeff_ptr + n_coeffs), qcoeff0); in vp9_fdct8x8_quant_sse2() 502 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_fdct8x8_quant_sse2() 538 __m128i qcoeff0, qcoeff1; in vp9_fdct8x8_quant_sse2() local [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | quantize_sse4.c | 49 __m128i qcoeff0 = _mm_setzero_si128(); in vp8_regular_quantize_b_sse4_1() local 99 SELECT_EOB(1, 0, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 100 SELECT_EOB(2, 1, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 101 SELECT_EOB(3, 4, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 103 SELECT_EOB(5, 5, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 104 SELECT_EOB(6, 2, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 105 SELECT_EOB(7, 3, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 106 SELECT_EOB(8, 6, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 111 SELECT_EOB(13, 7, x_minus_zbin0, y0, qcoeff0); in vp8_regular_quantize_b_sse4_1() 116 _mm_store_si128((__m128i *)(d->qcoeff), qcoeff0); in vp8_regular_quantize_b_sse4_1() [all …]
|