diff options
Diffstat (limited to 'gst/deinterlace2/tvtime')
-rw-r--r-- | gst/deinterlace2/tvtime/greedy.c | 6 | ||||
-rw-r--r-- | gst/deinterlace2/tvtime/greedyh.c | 6 | ||||
-rw-r--r-- | gst/deinterlace2/tvtime/vfir.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/gst/deinterlace2/tvtime/greedy.c b/gst/deinterlace2/tvtime/greedy.c index 9e398e75..e4324657 100644 --- a/gst/deinterlace2/tvtime/greedy.c +++ b/gst/deinterlace2/tvtime/greedy.c @@ -121,7 +121,7 @@ deinterlace_greedy_packed422_scanline_c (GstDeinterlaceMethodGreedyL * self, } } -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM #include "mmx.h" static void deinterlace_greedy_packed422_scanline_mmx (GstDeinterlaceMethodGreedyL * self, @@ -449,7 +449,7 @@ gst_deinterlace_method_greedy_l_class_init (GstDeinterlaceMethodGreedyLClass * { GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass; -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM guint cpu_flags = oil_cpu_get_flags (); #endif @@ -468,7 +468,7 @@ gst_deinterlace_method_greedy_l_class_init (GstDeinterlaceMethodGreedyLClass * dim_class->nick = "greedyl"; dim_class->latency = 1; -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM if (cpu_flags & OIL_IMPL_FLAG_MMXEXT) { klass->scanline = deinterlace_greedy_packed422_scanline_mmxext; } else if (cpu_flags & OIL_IMPL_FLAG_MMX) { diff --git a/gst/deinterlace2/tvtime/greedyh.c b/gst/deinterlace2/tvtime/greedyh.c index 037c4dfc..73b572fa 100644 --- a/gst/deinterlace2/tvtime/greedyh.c +++ b/gst/deinterlace2/tvtime/greedyh.c @@ -205,7 +205,7 @@ greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2, } } -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM #define IS_MMXEXT #define SIMD_TYPE MMXEXT @@ -363,7 +363,7 @@ gst_deinterlace_method_greedy_h_class_init (GstDeinterlaceMethodGreedyHClass * { GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass; -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM guint cpu_flags = oil_cpu_get_flags (); #endif @@ -396,7 +396,7 @@ gst_deinterlace_method_greedy_h_class_init (GstDeinterlaceMethodGreedyHClass * dim_class->nick = "greedyh"; dim_class->latency = 1; -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM if (cpu_flags & OIL_IMPL_FLAG_MMXEXT) { klass->scanline = greedyDScaler_MMXEXT; } else if (cpu_flags & OIL_IMPL_FLAG_3DNOW) { diff --git a/gst/deinterlace2/tvtime/vfir.c b/gst/deinterlace2/tvtime/vfir.c index 0f46e6f4..85ed1555 100644 --- a/gst/deinterlace2/tvtime/vfir.c +++ b/gst/deinterlace2/tvtime/vfir.c @@ -90,7 +90,7 @@ deinterlace_line_c (uint8_t * dst, uint8_t * lum_m4, } } -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM #include "mmx.h" static void deinterlace_line_mmx (uint8_t * dst, uint8_t * lum_m4, @@ -207,7 +207,7 @@ static void gst_deinterlace_method_vfir_class_init (GstDeinterlaceMethodVFIRClass * klass) { GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM guint cpu_flags = oil_cpu_get_flags (); #endif @@ -217,7 +217,7 @@ gst_deinterlace_method_vfir_class_init (GstDeinterlaceMethodVFIRClass * klass) dim_class->nick = "vfir"; dim_class->latency = 0; -#ifdef HAVE_CPU_I386 +#ifdef BUILD_X86_ASM if (cpu_flags & OIL_IMPL_FLAG_MMX) { klass->scanline = deinterlace_line_mmx; } else { |