Home
last modified time | relevance | path

Searched refs:k_const_rounding (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_dct_avx2.c571 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); in right_shift_8x8_avx2() local
572 res[0] = _mm_add_epi16(res[0], k_const_rounding); in right_shift_8x8_avx2()
573 res[1] = _mm_add_epi16(res[1], k_const_rounding); in right_shift_8x8_avx2()
574 res[2] = _mm_add_epi16(res[2], k_const_rounding); in right_shift_8x8_avx2()
575 res[3] = _mm_add_epi16(res[3], k_const_rounding); in right_shift_8x8_avx2()
576 res[4] = _mm_add_epi16(res[4], k_const_rounding); in right_shift_8x8_avx2()
577 res[5] = _mm_add_epi16(res[5], k_const_rounding); in right_shift_8x8_avx2()
578 res[6] = _mm_add_epi16(res[6], k_const_rounding); in right_shift_8x8_avx2()
579 res[7] = _mm_add_epi16(res[7], k_const_rounding); in right_shift_8x8_avx2()
Dvp9_dct_sse2.c672 __m128i k_const_rounding = _mm_slli_epi16(kOne, bit_m02); in right_shift_8x8() local
673 res[0] = _mm_add_epi16(res[0], k_const_rounding); in right_shift_8x8()
674 res[1] = _mm_add_epi16(res[1], k_const_rounding); in right_shift_8x8()
675 res[2] = _mm_add_epi16(res[2], k_const_rounding); in right_shift_8x8()
676 res[3] = _mm_add_epi16(res[3], k_const_rounding); in right_shift_8x8()
677 res[4] = _mm_add_epi16(res[4], k_const_rounding); in right_shift_8x8()
678 res[5] = _mm_add_epi16(res[5], k_const_rounding); in right_shift_8x8()
679 res[6] = _mm_add_epi16(res[6], k_const_rounding); in right_shift_8x8()
680 res[7] = _mm_add_epi16(res[7], k_const_rounding); in right_shift_8x8()