mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08: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= \
|
X_OBJS= \
|
||||||
$(DIROBJ)\dec\bits.obj \
|
$(DIROBJ)\dec\bits.obj \
|
||||||
$(DIROBJ)\dec\dsp.obj \
|
$(DIROBJ)\dec\dsp.obj \
|
||||||
|
$(DIROBJ)\dec\dsp_sse2.obj \
|
||||||
$(DIROBJ)\dec\frame.obj \
|
$(DIROBJ)\dec\frame.obj \
|
||||||
$(DIROBJ)\dec\quant.obj \
|
$(DIROBJ)\dec\quant.obj \
|
||||||
$(DIROBJ)\dec\tree.obj \
|
$(DIROBJ)\dec\tree.obj \
|
||||||
|
@ -730,7 +730,7 @@ void VP8DspInit(void) {
|
|||||||
// If defined, use CPUInfo() to overwrite some pointers with faster versions.
|
// If defined, use CPUInfo() to overwrite some pointers with faster versions.
|
||||||
if (VP8DecGetCPUInfo) {
|
if (VP8DecGetCPUInfo) {
|
||||||
if (VP8DecGetCPUInfo(kSSE2)) {
|
if (VP8DecGetCPUInfo(kSSE2)) {
|
||||||
#if defined(__SSE2__)
|
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||||
VP8DspInitSSE2();
|
VP8DspInitSSE2();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// Author: somnath@google.com (Somnath Banerjee)
|
// Author: somnath@google.com (Somnath Banerjee)
|
||||||
// cduvivier@google.com (Christian Duvivier)
|
// cduvivier@google.com (Christian Duvivier)
|
||||||
|
|
||||||
#if defined(__SSE2__)
|
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||||
|
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
#include "vp8i.h"
|
#include "vp8i.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user