Home
last modified time | relevance | path

Searched refs:PRECISION_S16 (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-resampler-x86-sse2.c52 sum = _mm_add_epi32 (sum, _mm_set1_epi32 (1 << (PRECISION_S16 - 1))); in inner_product_gint16_full_1_sse2()
53 sum = _mm_srai_epi32 (sum, PRECISION_S16); in inner_product_gint16_full_1_sse2()
89 sum[0] = _mm_srai_epi32 (sum[0], PRECISION_S16); in inner_product_gint16_linear_1_sse2()
90 sum[1] = _mm_srai_epi32 (sum[1], PRECISION_S16); in inner_product_gint16_linear_1_sse2()
105 sum[0] = _mm_add_epi32 (sum[0], _mm_set1_epi32 (1 << (PRECISION_S16 - 1))); in inner_product_gint16_linear_1_sse2()
106 sum[0] = _mm_srai_epi32 (sum[0], PRECISION_S16); in inner_product_gint16_linear_1_sse2()
155 sum[0] = _mm_srai_epi32 (sum[0], PRECISION_S16); in inner_product_gint16_cubic_1_sse2()
165 sum[0] = _mm_add_epi32 (sum[0], _mm_set1_epi32 (1 << (PRECISION_S16 - 1))); in inner_product_gint16_cubic_1_sse2()
166 sum[0] = _mm_srai_epi32 (sum[0], PRECISION_S16); in inner_product_gint16_cubic_1_sse2()
290 t1 = _mm_add_epi32 (t1, _mm_set1_epi32 (1 << (PRECISION_S16 - 1))); in interpolate_gint16_linear_sse2()
[all …]
Daudio-resampler.c274 MAKE_CONVERT_TAPS_INT_FUNC (gint16, PRECISION_S16);
345 MAKE_COEFF_LINEAR_INT_FUNC (gint16, gint32, PRECISION_S16);
374 MAKE_COEFF_CUBIC_INT_FUNC (gint16, gint32, PRECISION_S16);
412 INTERPOLATE_INT_LINEAR_FUNC (gint16, gint32, PRECISION_S16, (gint32) 1 << 15);
456 INTERPOLATE_INT_CUBIC_FUNC (gint16, gint32, PRECISION_S16, (gint32) 1 << 15);
637 INNER_PRODUCT_INT_FULL_FUNC (gint16, gint32, PRECISION_S16, (gint32) 1 << 15);
664 INNER_PRODUCT_INT_LINEAR_FUNC (gint16, gint32, PRECISION_S16, (gint32) 1 << 15);
693 INNER_PRODUCT_INT_CUBIC_FUNC (gint16, gint32, PRECISION_S16, (gint32) 1 << 15);
Daudio-resampler-macros.h27 #define PRECISION_S16 15 macro