i420_yuy2: use VLC_ALTIVEC

This commit is contained in:
Rémi Denis-Courmont 2022-05-17 17:24:52 +03:00 committed by Hugo Beauzée-Luyssen
parent cb303e77f4
commit 03d8a050e0
2 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,6 @@ EXTRA_LTLIBRARIES += libswscale_plugin.la
# AltiVec
libi420_yuy2_altivec_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
libi420_yuy2_altivec_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DPLUGIN_ALTIVEC
libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALTIVEC_CFLAGS)
if HAVE_ALTIVEC
chroma_LTLIBRARIES += \

View File

@ -51,7 +51,7 @@
# define VLC_TARGET VLC_SSE
#elif defined (PLUGIN_ALTIVEC)
# define DEST_FOURCC "YUY2,YUNV,YVYU,UYVY,UYNV,Y422"
# define VLC_TARGET
# define VLC_TARGET VLC_ALTIVEC
#endif
/*****************************************************************************