Lines 26-32
static void
Link Here
|
26 |
audio_resampler_check_x86 (const gchar *option) |
26 |
audio_resampler_check_x86 (const gchar *option) |
27 |
{ |
27 |
{ |
28 |
if (!strcmp (option, "sse")) { |
28 |
if (!strcmp (option, "sse")) { |
29 |
#if defined (HAVE_XMMINTRIN_H) && HAVE_SSE |
29 |
#if defined (HAVE_XMMINTRIN_H) && HAVE_SSE && defined (__SSE__) |
30 |
GST_DEBUG ("enable SSE optimisations"); |
30 |
GST_DEBUG ("enable SSE optimisations"); |
31 |
resample_gfloat_full_1 = resample_gfloat_full_1_sse; |
31 |
resample_gfloat_full_1 = resample_gfloat_full_1_sse; |
32 |
resample_gfloat_linear_1 = resample_gfloat_linear_1_sse; |
32 |
resample_gfloat_linear_1 = resample_gfloat_linear_1_sse; |
Lines 38-44
audio_resampler_check_x86 (const gchar *option)
Link Here
|
38 |
GST_DEBUG ("SSE optimisations not enabled"); |
38 |
GST_DEBUG ("SSE optimisations not enabled"); |
39 |
#endif |
39 |
#endif |
40 |
} else if (!strcmp (option, "sse2")) { |
40 |
} else if (!strcmp (option, "sse2")) { |
41 |
#if defined (HAVE_EMMINTRIN_H) && HAVE_SSE2 |
41 |
#if defined (HAVE_EMMINTRIN_H) && HAVE_SSE2 && defined (__SSE2__) |
42 |
GST_DEBUG ("enable SSE2 optimisations"); |
42 |
GST_DEBUG ("enable SSE2 optimisations"); |
43 |
resample_gint16_full_1 = resample_gint16_full_1_sse2; |
43 |
resample_gint16_full_1 = resample_gint16_full_1_sse2; |
44 |
resample_gint16_linear_1 = resample_gint16_linear_1_sse2; |
44 |
resample_gint16_linear_1 = resample_gint16_linear_1_sse2; |
Lines 59-65
audio_resampler_check_x86 (const gchar *option)
Link Here
|
59 |
} else if (!strcmp (option, "sse41")) { |
59 |
} else if (!strcmp (option, "sse41")) { |
60 |
#if defined (__x86_64__) && \ |
60 |
#if defined (__x86_64__) && \ |
61 |
defined (HAVE_SMMINTRIN_H) && defined (HAVE_EMMINTRIN_H) && \ |
61 |
defined (HAVE_SMMINTRIN_H) && defined (HAVE_EMMINTRIN_H) && \ |
62 |
HAVE_SSE41 |
62 |
HAVE_SSE41 && defined (__SSE4_1__) |
63 |
GST_DEBUG ("enable SSE41 optimisations"); |
63 |
GST_DEBUG ("enable SSE41 optimisations"); |
64 |
resample_gint32_full_1 = resample_gint32_full_1_sse41; |
64 |
resample_gint32_full_1 = resample_gint32_full_1_sse41; |
65 |
resample_gint32_linear_1 = resample_gint32_linear_1_sse41; |
65 |
resample_gint32_linear_1 = resample_gint32_linear_1_sse41; |
66 |
- |
|
|