History

lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled.

Fixes ticket #8986.

Carl Eugen Hoyos committed 6 years ago

Commit 46e362b1 parent 5bb313e1 file · +0 −4Browse files

Unified · Split

libswscale/x86/yuv2rgb.c+0−4
@@ -59,22 +59,18 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL; · 58 unmodified lines
59#endif /* HAVE_MMX */59#endif /* HAVE_MMX */
60 60
61// MMXEXT versions61// MMXEXT versions
62#if HAVE_MMXEXT
63#undef RENAME62#undef RENAME
64#undef COMPILE_TEMPLATE_MMXEXT63#undef COMPILE_TEMPLATE_MMXEXT
65#define COMPILE_TEMPLATE_MMXEXT 164#define COMPILE_TEMPLATE_MMXEXT 1
66#define RENAME(a) a ## _mmxext65#define RENAME(a) a ## _mmxext
67#include "yuv2rgb_template.c"66#include "yuv2rgb_template.c"
68#endif /* HAVE_MMXEXT */
69 67
70//SSSE3 versions68//SSSE3 versions
71#if HAVE_SSSE3
72#undef RENAME69#undef RENAME
73#undef COMPILE_TEMPLATE_MMXEXT70#undef COMPILE_TEMPLATE_MMXEXT
74#define COMPILE_TEMPLATE_MMXEXT 071#define COMPILE_TEMPLATE_MMXEXT 0
75#define RENAME(a) a ## _ssse372#define RENAME(a) a ## _ssse3
76#include "yuv2rgb_template.c"73#include "yuv2rgb_template.c"
77#endif
78 74
79#endif /* HAVE_X86ASM */75#endif /* HAVE_X86ASM */
80 76

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t