freebsd-ports/graphics/openimageio/files/patch-src_include_OpenImageIO_simd.h
Marcus von Appen d5dea7d8a2 - Update to version 1.5.16
OpenImageIO 1.5 comes with many new features and bug fixes:
* lots of new functions for image handling (API and command line tools),
  such as rotations, median filters, matrix transformations
* new filters (cubic, rifman, simon, ...)
* image metadata support (EXIF)
* SIMD (SSE) instruction support to speed up processing images
* basic movie file support via ffmpeg

Changelog: https://github.com/OpenImageIO/oiio/blob/RB-1.5/CHANGES

PR:		200818
Submitted by:	Shane Ambler <FreeBSD@ShaneWare.Biz>
2015-07-08 16:45:20 +00:00

15 lines
526 B
C

--- src/include/OpenImageIO/simd.h.orig 2015-06-23 11:59:51 UTC
+++ src/include/OpenImageIO/simd.h
@@ -52,8 +52,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#if (defined(__SSE2__) || (_MSC_VER >= 1300 && !_M_CEE_PURE)) && !defined(OIIO_NO_SSE)
# include <xmmintrin.h>
# include <emmintrin.h>
-# if defined(__SSE3__) || defined(__SSSE3__)
+# if defined(__SSE3__)
# include <pmmintrin.h>
+# endif
+# if defined(__SSSE3__)
# include <tmmintrin.h>
# endif
# if (defined(__SSE4_1__) || defined(__SSE4_2__))