mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
dec/dsp: disable sse2 for Visual Studio builds
This is a temporary workaround for issue #80. Currently dec/dsp_sse2 is not included in Makefile.vc. Simply adding it will cause a build error, however, as cl does not support aligning function parameters producing, e.g., src\dec\dsp_sse2.c(228) : error C2719: 'q1': formal parameter with __declspec(align('16')) won't be aligned Change-Id: Id29e6802dd29110e59c4f6d13ffa5d4793c750a0
This commit is contained in:
parent
e4d540c842
commit
40a7e347ff
@ -730,7 +730,7 @@ void VP8DspInit(void) {
|
||||
// If defined, use CPUInfo() to overwrite some pointers with faster versions.
|
||||
if (VP8DecGetCPUInfo) {
|
||||
if (VP8DecGetCPUInfo(kSSE2)) {
|
||||
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||
#if defined(__SSE2__)
|
||||
VP8DspInitSSE2();
|
||||
#endif
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Author: somnath@google.com (Somnath Banerjee)
|
||||
// cduvivier@google.com (Christian Duvivier)
|
||||
|
||||
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||
#if defined(__SSE2__)
|
||||
|
||||
#include <emmintrin.h>
|
||||
#include "vp8i.h"
|
||||
|
Loading…
Reference in New Issue
Block a user