Lines Matching refs:qcoeff
42 __m128i tmp, qcoeff; in calculate_qcoeff() local
43 qcoeff = _mm_adds_epi16(*coeff, round); in calculate_qcoeff()
44 tmp = _mm_mulhi_epi16(qcoeff, quant); in calculate_qcoeff()
45 qcoeff = _mm_add_epi16(tmp, qcoeff); in calculate_qcoeff()
46 *coeff = _mm_mulhi_epi16(qcoeff, shift); in calculate_qcoeff()
54 __m128i tmp, tmp1, qcoeff; in calculate_qcoeff_log_scale() local
55 qcoeff = _mm_adds_epi16(*coeff, round); in calculate_qcoeff_log_scale()
56 tmp = _mm_mulhi_epi16(qcoeff, quant); in calculate_qcoeff_log_scale()
57 qcoeff = _mm_add_epi16(tmp, qcoeff); in calculate_qcoeff_log_scale()
58 tmp = _mm_mullo_epi16(qcoeff, *shift); in calculate_qcoeff_log_scale()
60 tmp1 = _mm_mulhi_epi16(qcoeff, *shift); in calculate_qcoeff_log_scale()
65 static INLINE __m128i calculate_dqcoeff(__m128i qcoeff, __m128i dequant) { in calculate_dqcoeff() argument
66 return _mm_mullo_epi16(qcoeff, dequant); in calculate_dqcoeff()
69 static INLINE void calculate_dqcoeff_and_store_log_scale(__m128i qcoeff, in calculate_dqcoeff_and_store_log_scale() argument
75 __m128i coeff_sign = _mm_srai_epi16(qcoeff, 15); in calculate_dqcoeff_and_store_log_scale()
76 __m128i coeff = invert_sign_sse2(qcoeff, coeff_sign); in calculate_dqcoeff_and_store_log_scale()