/external/libvpx/libvpx/vpx_dsp/x86/ |
D | quantize_sse2.c | 80 __m128i qcoeff0, qcoeff1; in vpx_quantize_b_sse2() local 91 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vpx_quantize_b_sse2() 93 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vpx_quantize_b_sse2() 97 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); in vpx_quantize_b_sse2() 100 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vpx_quantize_b_sse2() 103 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vpx_quantize_b_sse2() 105 qtmp1 = _mm_add_epi16(qtmp1, qcoeff1); in vpx_quantize_b_sse2() 108 qcoeff1 = _mm_mulhi_epi16(qtmp1, shift); in vpx_quantize_b_sse2() 112 qcoeff1 = _mm_xor_si128(qcoeff1, coeff1_sign); in vpx_quantize_b_sse2() 114 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_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 64 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vp9_quantize_fp_sse2() 66 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vp9_quantize_fp_sse2() 70 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_quantize_fp_sse2() 73 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_quantize_fp_sse2() 77 qcoeff1 = _mm_xor_si128(qtmp1, coeff1_sign); in vp9_quantize_fp_sse2() 79 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vp9_quantize_fp_sse2() 82 _mm_store_si128((__m128i*)(qcoeff_ptr + n_coeffs) + 1, qcoeff1); in vp9_quantize_fp_sse2() 86 coeff1 = _mm_mullo_epi16(qcoeff1, 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 323 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vp9_fdct8x8_quant_ssse3() 325 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vp9_fdct8x8_quant_ssse3() 329 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_fdct8x8_quant_ssse3() 332 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_fdct8x8_quant_ssse3() 336 qcoeff1 = _mm_xor_si128(qtmp1, coeff1_sign); in vp9_fdct8x8_quant_ssse3() 338 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vp9_fdct8x8_quant_ssse3() 341 _mm_store_si128((__m128i*)(qcoeff_ptr + n_coeffs) + 1, qcoeff1); in vp9_fdct8x8_quant_ssse3() 345 coeff1 = _mm_mullo_epi16(qcoeff1, 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 489 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vp9_fdct8x8_quant_sse2() 491 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vp9_fdct8x8_quant_sse2() 495 qcoeff1 = _mm_adds_epi16(qcoeff1, round); in vp9_fdct8x8_quant_sse2() 498 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_fdct8x8_quant_sse2() 502 qcoeff1 = _mm_xor_si128(qtmp1, coeff1_sign); in vp9_fdct8x8_quant_sse2() 504 qcoeff1 = _mm_sub_epi16(qcoeff1, coeff1_sign); in vp9_fdct8x8_quant_sse2() 507 _mm_store_si128((__m128i*)(qcoeff_ptr + n_coeffs) + 1, qcoeff1); in vp9_fdct8x8_quant_sse2() 511 coeff1 = _mm_mullo_epi16(qcoeff1, 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 | 52 __m128i qcoeff1 = _mm_setzero_si128(); in vp8_regular_quantize_b_sse4_1() local 104 SELECT_EOB(4, 0, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 109 SELECT_EOB(9, 1, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 110 SELECT_EOB(10, 4, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 111 SELECT_EOB(11, 5, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 112 SELECT_EOB(12, 2, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 114 SELECT_EOB(14, 3, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 115 SELECT_EOB(15, 6, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 116 SELECT_EOB(16, 7, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 119 _mm_store_si128((__m128i *)(d->qcoeff + 8), qcoeff1); in vp8_regular_quantize_b_sse4_1() [all …]
|