Commit b10bc367 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

deinterlace: fix ARM linking with --disable-neon

parent c1bb567c
...@@ -28,12 +28,13 @@ libdeinterlace_plugin_la_SOURCES = \ ...@@ -28,12 +28,13 @@ libdeinterlace_plugin_la_SOURCES = \
deinterlace/yadif.h deinterlace/yadif_template.h \ deinterlace/yadif.h deinterlace/yadif_template.h \
deinterlace/algo_phosphor.c deinterlace/algo_phosphor.h \ deinterlace/algo_phosphor.c deinterlace/algo_phosphor.h \
deinterlace/algo_ivtc.c deinterlace/algo_ivtc.h deinterlace/algo_ivtc.c deinterlace/algo_ivtc.h
if HAVE_NEON
libdeinterlace_plugin_la_SOURCES += deinterlace/merge_arm.S
endif
libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS)
libdeinterlace_plugin_la_LIBADD = $(AM_LIBADD) libdeinterlace_plugin_la_LIBADD = $(AM_LIBADD)
libdeinterlace_plugin_la_DEPENDENCIES = libdeinterlace_plugin_la_DEPENDENCIES =
if HAVE_NEON
libdeinterlace_plugin_la_SOURCES += deinterlace/merge_arm.S
libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM
endif
libvlc_LTLIBRARIES += libdeinterlace_plugin.la libvlc_LTLIBRARIES += libdeinterlace_plugin.la
libosdmenu_plugin_la_SOURCES = osdmenu.c libosdmenu_plugin_la_SOURCES = osdmenu.c
......
...@@ -656,7 +656,7 @@ int Open( vlc_object_t *p_this ) ...@@ -656,7 +656,7 @@ int Open( vlc_object_t *p_this )
} }
else else
#endif #endif
#if defined(__arm__) #if defined(CAN_COMPILE_ARM)
if( vlc_CPU_ARM_NEON() ) if( vlc_CPU_ARM_NEON() )
p_sys->pf_merge = p_sys->pf_merge =
(chroma->pixel_size == 1) ? merge8_arm_neon : merge16_arm_neon; (chroma->pixel_size == 1) ? merge8_arm_neon : merge16_arm_neon;
......
...@@ -158,7 +158,7 @@ void Merge8BitSSE2( void *, const void *, const void *, size_t ); ...@@ -158,7 +158,7 @@ void Merge8BitSSE2( void *, const void *, const void *, size_t );
void Merge16BitSSE2( void *, const void *, const void *, size_t ); void Merge16BitSSE2( void *, const void *, const void *, size_t );
#endif #endif
#ifdef __arm__ #if defined(CAN_COMPILE_ARM)
/** /**
* ARM NEON routine to blend pixels from two picture lines. * ARM NEON routine to blend pixels from two picture lines.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment