Browse Source

i420_yuy2: use VLC_ALTIVEC

(cherry picked from commit 03d8a050e0)
cherry-pick-c5513cf9
Rémi Denis-Courmont 4 years ago
parent
commit
cb863f0796
  1. 1
      modules/video_chroma/Makefile.am
  2. 2
      modules/video_chroma/i420_yuy2.c

1
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 += \

2
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
/*****************************************************************************

Loading…
Cancel
Save