Home
last modified time | relevance | path

Searched refs:v_val_d (Results 1 – 5 of 5) sorted by relevance

/external/libaom/libaom/aom_dsp/x86/
Dsynonyms.h97 static INLINE __m128i xx_roundn_epu32(__m128i v_val_d, int bits) { in xx_roundn_epu32() argument
99 const __m128i v_tmp_d = _mm_add_epi32(v_val_d, v_bias_d); in xx_roundn_epu32()
104 static INLINE __m128i xx_roundn_epi32_unsigned(__m128i v_val_d, int bits) { in xx_roundn_epi32_unsigned() argument
106 const __m128i v_tmp_d = _mm_add_epi32(v_val_d, v_bias_d); in xx_roundn_epi32_unsigned()
110 static INLINE __m128i xx_roundn_epi16(__m128i v_val_d, int bits) { in xx_roundn_epi16() argument
112 const __m128i v_sign_d = _mm_srai_epi16(v_val_d, 15); in xx_roundn_epi16()
114 _mm_add_epi16(_mm_add_epi16(v_val_d, v_bias_d), v_sign_d); in xx_roundn_epi16()
Dobmc_intrinsic_ssse3.h46 static INLINE __m128i xx_roundn_epi32(__m128i v_val_d, int bits) { in xx_roundn_epi32() argument
48 const __m128i v_sign_d = _mm_srai_epi32(v_val_d, 31); in xx_roundn_epi32()
50 _mm_add_epi32(_mm_add_epi32(v_val_d, v_bias_d), v_sign_d); in xx_roundn_epi32()
/external/libgav1/libgav1/src/dsp/x86/
Dcommon_sse4.inc159 inline __m128i RightShiftWithRounding_U16(const __m128i v_val_d, int bits) {
162 const __m128i v_tmp_d = _mm_srli_epi16(v_val_d, bits - 1);
167 inline __m128i RightShiftWithRounding_S16(const __m128i v_val_d, int bits) {
171 const __m128i v_tmp_d = _mm_add_epi16(v_val_d, v_bias_d);
175 inline __m128i RightShiftWithRounding_U32(const __m128i v_val_d, int bits) {
177 const __m128i v_tmp_d = _mm_add_epi32(v_val_d, v_bias_d);
181 inline __m128i RightShiftWithRounding_S32(const __m128i v_val_d, int bits) {
183 const __m128i v_tmp_d = _mm_add_epi32(v_val_d, v_bias_d);
188 inline __m128i VariableRightShiftWithRounding_S32(const __m128i v_val_d,
192 const __m128i v_tmp_d = _mm_add_epi32(v_val_d, v_bias_d);
Dcommon_avx2.inc109 inline __m256i RightShiftWithRounding_S16(const __m256i v_val_d, int bits) {
113 const __m256i v_tmp_d = _mm256_add_epi16(v_val_d, v_bias_d);
117 inline __m256i RightShiftWithRounding_S32(const __m256i v_val_d, int bits) {
119 const __m256i v_tmp_d = _mm256_add_epi32(v_val_d, v_bias_d);
Dmask_blend_sse4.cc441 inline __m128i RightShiftWithRoundingZero_U16(const __m128i v_val_d, int bits, in RightShiftWithRoundingZero_U16() argument
444 const __m128i v_tmp_d = _mm_srli_epi16(v_val_d, bits - 1); in RightShiftWithRoundingZero_U16()
449 inline __m128i RightShiftWithRoundingConst_S32(const __m128i v_val_d, int bits, in RightShiftWithRoundingConst_S32() argument
451 const __m128i v_tmp_d = _mm_add_epi32(v_val_d, shift); in RightShiftWithRoundingConst_S32()