vcpkg/ports/realsense2/fix_rgb_using_avx2.patch
Tsukasa Sugiura a03df3f433 [realsense2] Update to v2.10.1 (#2956)
* [realsense2] Update to v2.10.1

Update realsense2 port to librealsense v2.10.1.

* [realsense2] Change HEAD to development

Change HEAD to development.
The latest branch of librealsense is "development".

* [realsense2] Add option to support RGB image decode using AVX2

Add option to support RGB image decode using AVX2.
This option will be deprecated in the later versions.

* [realsense2] Add debug postfix

Add debug postfix "_d".
2018-03-07 11:01:49 -08:00

13 lines
348 B
Diff

diff --git a/src/image.cpp b/src/image.cpp
index 47cc68d8..04a8afd3 100644
--- a/src/image.cpp
+++ b/src/image.cpp
@@ -8,6 +8,7 @@
#ifdef __SSSE3__
#include <tmmintrin.h> // For SSE3 intrinsic used in unpack_yuy2_sse
+#include <immintrin.h>
#endif
#pragma pack(push, 1) // All structs in this file are assumed to be byte-packed