Skip to content

Commit

Permalink
Consistent check for IMF_HAVE_SSE2.
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk committed Sep 17, 2016
1 parent c23f534 commit 7403524
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfDwaCompressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ DwaCompressor::LossyDctDecoderBase::execute ()
}
else
{
#if IMF_HAVE_SSE2
#ifdef IMF_HAVE_SSE2

__m128i *dst = (__m128i*)&rowBlock[comp][blockx*64];

Expand Down
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfOptimizedPixelReading.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class OptimizationMode
};


#if IMF_HAVE_SSE2
#ifdef IMF_HAVE_SSE2


//------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfScanLineInputFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ detectOptimizationMode (const vector<sliceOptimizationData>& optData)
OptimizationMode w;

// need to be compiled with SSE optimisations: if not, just returns false
#if IMF_HAVE_SSE2
#ifdef IMF_HAVE_SSE2


// only handle reading 3,4,6 or 8 channels
Expand Down
2 changes: 1 addition & 1 deletion OpenEXR/IlmImf/ImfSimd.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

extern "C"
{
#if IMF_HAVE_SSE2
#ifdef IMF_HAVE_SSE2
#include <emmintrin.h>
#include <mmintrin.h>
#endif
Expand Down

0 comments on commit 7403524

Please sign in to comment.