Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 610340
Collapse All | Expand All

(-)a/gst-libs/gst/audio/audio-resampler-x86-sse.c (-1 / +1 lines)
Lines 23-29 Link Here
23
23
24
#include "audio-resampler-x86-sse.h"
24
#include "audio-resampler-x86-sse.h"
25
25
26
#if defined (HAVE_XMMINTRIN_H) && defined(__SSE__)
26
#if defined (HAVE_XMMINTRIN_H) && HAVE_SSE && defined(__SSE__)
27
#include <xmmintrin.h>
27
#include <xmmintrin.h>
28
28
29
static inline void
29
static inline void
(-)a/gst-libs/gst/audio/audio-resampler-x86-sse2.c (-1 / +1 lines)
Lines 23-29 Link Here
23
23
24
#include "audio-resampler-x86-sse2.h"
24
#include "audio-resampler-x86-sse2.h"
25
25
26
#if defined (HAVE_EMMINTRIN_H) && defined(__SSE2__)
26
#if defined (HAVE_EMMINTRIN_H) && HAVE_SSE2 && defined(__SSE2__)
27
#include <emmintrin.h>
27
#include <emmintrin.h>
28
28
29
static inline void
29
static inline void
(-)a/gst-libs/gst/audio/audio-resampler-x86-sse41.c (-1 / +1 lines)
Lines 30-36 Link Here
30
30
31
#if defined (__x86_64__) && \
31
#if defined (__x86_64__) && \
32
    defined (HAVE_SMMINTRIN_H) && defined (HAVE_EMMINTRIN_H) && \
32
    defined (HAVE_SMMINTRIN_H) && defined (HAVE_EMMINTRIN_H) && \
33
    defined (__SSE4_1__)
33
    HAVE_SSE41 && defined (__SSE4_1__)
34
34
35
#include <emmintrin.h>
35
#include <emmintrin.h>
36
#include <smmintrin.h>
36
#include <smmintrin.h>
(-)a/gst-libs/gst/audio/audio-resampler-x86.h (-4 / +3 lines)
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
- 

Return to bug 610340