mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
Enable decode SSE2 for Visual Studio
Change-Id: If32f8b1cfe415b2f9330af36a5dd0e31e49582b2
This commit is contained in:
parent
131a4b7b7b
commit
23bf351e71
@ -114,6 +114,7 @@ CFGSET = TRUE
|
||||
X_OBJS= \
|
||||
$(DIROBJ)\dec\bits.obj \
|
||||
$(DIROBJ)\dec\dsp.obj \
|
||||
$(DIROBJ)\dec\dsp_sse2.obj \
|
||||
$(DIROBJ)\dec\frame.obj \
|
||||
$(DIROBJ)\dec\quant.obj \
|
||||
$(DIROBJ)\dec\tree.obj \
|
||||
|
@ -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__)
|
||||
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||
VP8DspInitSSE2();
|
||||
#endif
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
// Author: somnath@google.com (Somnath Banerjee)
|
||||
// cduvivier@google.com (Christian Duvivier)
|
||||
|
||||
#if defined(__SSE2__)
|
||||
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||
|
||||
#include <emmintrin.h>
|
||||
#include "vp8i.h"
|
||||
|
Loading…
Reference in New Issue
Block a user