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 = \
deinterlace/yadif.h deinterlace/yadif_template.h \
deinterlace/algo_phosphor.c deinterlace/algo_phosphor.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_LIBADD = $(AM_LIBADD)
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
libosdmenu_plugin_la_SOURCES = osdmenu.c
......
......@@ -656,7 +656,7 @@ int Open( vlc_object_t *p_this )
}
else
#endif
#if defined(__arm__)
#if defined(CAN_COMPILE_ARM)
if( vlc_CPU_ARM_NEON() )
p_sys->pf_merge =
(chroma->pixel_size == 1) ? merge8_arm_neon : merge16_arm_neon;
......
......@@ -158,7 +158,7 @@ void Merge8BitSSE2( void *, const void *, const void *, size_t );
void Merge16BitSSE2( void *, const void *, const void *, size_t );
#endif
#ifdef __arm__
#if defined(CAN_COMPILE_ARM)
/**
* 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