From cb863f0796a8f487625e8f38c8d09659dcf0fe9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 17 May 2022 17:24:52 +0300 Subject: [PATCH] i420_yuy2: use VLC_ALTIVEC (cherry picked from commit 03d8a050e0b2dbb7bdfc65d1daadba6e6a79661c) --- modules/video_chroma/Makefile.am | 1 - modules/video_chroma/i420_yuy2.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/video_chroma/Makefile.am b/modules/video_chroma/Makefile.am index 3ee0ac5977..b86bdc362b 100644 --- a/modules/video_chroma/Makefile.am +++ b/modules/video_chroma/Makefile.am @@ -70,7 +70,6 @@ EXTRA_LTLIBRARIES += libswscale_plugin.la libchroma_omx_plugin.la libi420_yuy2_altivec_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h libi420_yuy2_altivec_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \ -DMODULE_NAME_IS_i420_yuy2_altivec -libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALTIVEC_CFLAGS) if HAVE_ALTIVEC chroma_LTLIBRARIES += \ diff --git a/modules/video_chroma/i420_yuy2.c b/modules/video_chroma/i420_yuy2.c index b1a0359fc9..1cf294e802 100644 --- a/modules/video_chroma/i420_yuy2.c +++ b/modules/video_chroma/i420_yuy2.c @@ -55,7 +55,7 @@ # define VLC_TARGET VLC_SSE #elif defined (MODULE_NAME_IS_i420_yuy2_altivec) # define DEST_FOURCC "YUY2,YUNV,YVYU,UYVY,UYNV,Y422" -# define VLC_TARGET +# define VLC_TARGET VLC_ALTIVEC #endif /*****************************************************************************