Home
last modified time | relevance | path

Searched refs:abs_q (Results 1 – 6 of 6) sorted by relevance

/external/libopus/silk/
Ddecode_pulses.c45 opus_int i, j, k, iter, abs_q, nLS, RateLevelIndex; in silk_decode_pulses() local
99 abs_q = pulses_ptr[ k ]; in silk_decode_pulses()
101 abs_q = silk_LSHIFT( abs_q, 1 ); in silk_decode_pulses()
102 abs_q += ec_dec_icdf( psRangeDec, silk_lsb_iCDF, 8 ); in silk_decode_pulses()
104 pulses_ptr[ k ] = abs_q; in silk_decode_pulses()
Dencode_pulses.c69 opus_int32 abs_q, minSumBits_Q5, sumBits_Q5; in silk_encode_pulses() local
190 abs_q = (opus_int8)silk_abs( pulses_ptr[ k ] ); in silk_encode_pulses()
192 bit = silk_RSHIFT( abs_q, j ) & 1; in silk_encode_pulses()
195 bit = abs_q & 1; in silk_encode_pulses()
/external/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_avx2.c123 const __m256i abs_q = mm256_mul_shift_epi32(&tmp2, &qp[4]); in quantize() local
124 const __m256i abs_dq = _mm256_mullo_epi32(abs_q, qp[3]); in quantize()
125 const __m256i nz_mask = _mm256_cmpgt_epi32(abs_q, _mm256_setzero_si256()); in quantize()
126 const __m256i q = _mm256_sign_epi32(abs_q, coeff); in quantize()
210 const __m256i abs_q = mm256_mul_shift_epi32_logscale(&tmp2, &qp[4], 1); in quantize_b_32x32() local
212 _mm256_srli_epi32(_mm256_mullo_epi32(abs_q, qp[3]), 1); in quantize_b_32x32()
213 const __m256i nz_mask = _mm256_cmpgt_epi32(abs_q, _mm256_setzero_si256()); in quantize_b_32x32()
214 const __m256i q = _mm256_sign_epi32(abs_q, coeff); in quantize_b_32x32()
/external/libaom/av1/encoder/x86/
Dav1_quantize_avx2.c209 const __m256i abs_q = _mm256_mulhi_epi16(tmp_rnd, qp[1]); in quantize_fp_16() local
210 const __m256i q = _mm256_sign_epi16(abs_q, coeff); in quantize_fp_16()
212 const __m256i nz_mask = _mm256_cmpgt_epi16(abs_q, _mm256_setzero_si256()); in quantize_fp_16()
276 const __m256i abs_q = _mm256_mulhi_epu16(tmp_rnd, qp[1]); in quantize_fp_32x32() local
277 const __m256i q = _mm256_sign_epi16(abs_q, coeff); in quantize_fp_32x32()
279 _mm256_srli_epi16(_mm256_mullo_epi16(abs_q, qp[2]), 1); in quantize_fp_32x32()
280 const __m256i nz_mask = _mm256_cmpgt_epi16(abs_q, _mm256_setzero_si256()); in quantize_fp_32x32()
350 const __m256i abs_q = _mm256_or_si256(qh, ql); in quantize_fp_64x64() local
351 const __m256i dqh = _mm256_slli_epi16(_mm256_mulhi_epi16(abs_q, qp[2]), 14); in quantize_fp_64x64()
352 const __m256i dql = _mm256_srli_epi16(_mm256_mullo_epi16(abs_q, qp[2]), 2); in quantize_fp_64x64()
[all …]
/external/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_avx2.c139 const __m256i abs_q = in quantize_logscale() local
142 _mm256_srli_epi32(_mm256_mullo_epi32(abs_q, qp[3]), log_scale); in quantize_logscale()
143 const __m256i nz_mask = _mm256_cmpgt_epi32(abs_q, _mm256_setzero_si256()); in quantize_logscale()
144 const __m256i q = _mm256_sign_epi32(abs_q, coeff); in quantize_logscale()
173 const __m256i abs_q = mm256_mul_shift_epi32(&tmp2, &qp[4]); in quantize() local
174 const __m256i abs_dq = _mm256_mullo_epi32(abs_q, qp[3]); in quantize()
175 const __m256i nz_mask = _mm256_cmpgt_epi32(abs_q, _mm256_setzero_si256()); in quantize()
176 const __m256i q = _mm256_sign_epi32(abs_q, coeff); in quantize()
/external/libvpx/vp9/encoder/x86/
Dvp9_quantize_avx2.c314 const __m256i abs_q = mm256_mul_shift_epi32_logscale(&tmp_rnd, quant, 0); in highbd_quantize_fp() local
315 const __m256i abs_dq = _mm256_mullo_epi32(abs_q, *dequant); in highbd_quantize_fp()
316 const __m256i q = _mm256_sign_epi32(abs_q, coeff); in highbd_quantize_fp()
318 const __m256i nz_mask = _mm256_cmpgt_epi32(abs_q, _mm256_setzero_si256()); in highbd_quantize_fp()
379 const __m256i abs_q = mm256_mul_shift_epi32_logscale(&tmp_rnd, quant, 0); in highbd_quantize_fp_32x32() local
381 _mm256_srli_epi32(_mm256_mullo_epi32(abs_q, *dequant), 1); in highbd_quantize_fp_32x32()
382 const __m256i q = _mm256_sign_epi32(abs_q, coeff); in highbd_quantize_fp_32x32()
384 const __m256i nz_mask = _mm256_cmpgt_epi32(abs_q, _mm256_setzero_si256()); in highbd_quantize_fp_32x32()