[vlc-commits] chroma: copy: 16bits functions need SSSE3
Thomas Guillem
git at videolan.org
Tue Nov 21 15:22:17 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 21 15:18:46 2017 +0100| [df314a7dfc7a9f2204aefb11559dff6efe6025a6] | committer: Thomas Guillem
chroma: copy: 16bits functions need SSSE3
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df314a7dfc7a9f2204aefb11559dff6efe6025a6
---
modules/video_chroma/copy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index 40fb336b35..0f9e862489 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -681,7 +681,7 @@ void Copy420_16_SP_to_P(picture_t *dst, const uint8_t *src[static 2],
#ifdef CAN_COMPILE_SSE3
unsigned cpu = vlc_CPU();
- if (vlc_CPU_SSE3())
+ if (vlc_CPU_SSSE3())
return SSE_Copy420_SP_to_P(dst, src, src_pitch, height, cache, 2, cpu);
#else
VLC_UNUSED(cache);
@@ -742,7 +742,7 @@ void Copy420_16_P_to_SP(picture_t *dst, const uint8_t *src[static 3],
ASSERT_3PLANES;
#ifdef CAN_COMPILE_SSE2
unsigned cpu = vlc_CPU();
- if (vlc_CPU_SSE3())
+ if (vlc_CPU_SSSE3())
return SSE_Copy420_P_to_SP(dst, src, src_pitch, height, cache, 2, cpu);
#else
(void) cache;
More information about the vlc-commits
mailing list