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

Move Altivec chroma plugin to altivec/

parent d8aa810a
...@@ -1566,7 +1566,6 @@ AS_IF([test "${enable_altivec}" = "yes"], [ ...@@ -1566,7 +1566,6 @@ AS_IF([test "${enable_altivec}" = "yes"], [
VLC_ADD_CFLAGS([libvlccore],[${ac_cv_altivec_inline}]) VLC_ADD_CFLAGS([libvlccore],[${ac_cv_altivec_inline}])
]) ])
have_altivec="yes" have_altivec="yes"
VLC_ADD_PLUGIN([i420_yuy2_altivec])
]) ])
dnl The AltiVec C extensions dnl The AltiVec C extensions
...@@ -1629,7 +1628,6 @@ dnl - Others: test should fail ...@@ -1629,7 +1628,6 @@ dnl - Others: test should fail
VLC_ADD_CFLAGS([idctaltivec motionaltivec],[${ac_cv_c_altivec}]) VLC_ADD_CFLAGS([idctaltivec motionaltivec],[${ac_cv_c_altivec}])
VLC_ADD_CFLAGS([i420_yuy2_altivec memcpyaltivec deinterlace],[${ac_cv_c_altivec} ${ac_cv_c_altivec_abi}]) VLC_ADD_CFLAGS([i420_yuy2_altivec memcpyaltivec deinterlace],[${ac_cv_c_altivec} ${ac_cv_c_altivec_abi}])
have_altivec="yes" have_altivec="yes"
VLC_ADD_PLUGIN([i420_yuy2_altivec])
]) ])
AC_CACHE_CHECK([if linker needs -framework vecLib], AC_CACHE_CHECK([if linker needs -framework vecLib],
......
...@@ -3,6 +3,14 @@ libmemcpyaltivec_plugin_la_CFLAGS = $(AM_CFLAGS) ...@@ -3,6 +3,14 @@ libmemcpyaltivec_plugin_la_CFLAGS = $(AM_CFLAGS)
libmemcpyaltivec_plugin_la_LIBADD = $(AM_LIBADD) libmemcpyaltivec_plugin_la_LIBADD = $(AM_LIBADD)
libmemcpyaltivec_plugin_la_DEPENDENCIES = libmemcpyaltivec_plugin_la_DEPENDENCIES =
libi420_yuy2_altivec_plugin_la_SOURCES = \
../video_chroma/i420_yuy2.c \
../video_chroma/i420_yuy2.h
libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS)
libi420_yuy2_altivec_plugin_la_LIBADD = $(AM_LIBADD)
libi420_yuy2_altivec_plugin_la_DEPENDENCIES =
libvlc_LTLIBRARIES += \ libvlc_LTLIBRARIES += \
libmemcpyaltivec_plugin.la \ libmemcpyaltivec_plugin.la \
libi420_yuy2_altivec_plugin.la \
$(NULL) $(NULL)
...@@ -11,11 +11,6 @@ SOURCES_i420_yuy2 = \ ...@@ -11,11 +11,6 @@ SOURCES_i420_yuy2 = \
i420_yuy2.h \ i420_yuy2.h \
$(NULL) $(NULL)
SOURCES_i420_yuy2_altivec = \
i420_yuy2.c \
i420_yuy2.h \
$(NULL)
SOURCES_i422_yuy2 = \ SOURCES_i422_yuy2 = \
i422_yuy2.c \ i422_yuy2.c \
i422_yuy2.h \ i422_yuy2.h \
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_filter.h> #include <vlc_filter.h>
#include <vlc_cpu.h>
#if defined (MODULE_NAME_IS_i420_yuy2_altivec) && defined(HAVE_ALTIVEC_H) #if defined (MODULE_NAME_IS_i420_yuy2_altivec) && defined(HAVE_ALTIVEC_H)
# include <altivec.h> # include <altivec.h>
...@@ -98,7 +97,6 @@ vlc_module_begin () ...@@ -98,7 +97,6 @@ vlc_module_begin ()
set_description( set_description(
_("AltiVec conversions from " SRC_FOURCC " to " DEST_FOURCC) ); _("AltiVec conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "video filter2", 250 ) set_capability( "video filter2", 250 )
add_requirement( ALTIVEC )
#endif #endif
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
vlc_module_end () vlc_module_end ()
......
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