<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 10:42 AM, <span dir="ltr"><<a href="mailto:bhavna@multicorewareinc.com" target="_blank">bhavna@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Bhavna Hariharan <<a href="mailto:bhavna@multicorewareinc.com">bhavna@multicorewareinc.com</a>><br>
# Date 1502196995 -19800<br>
# Tue Aug 08 18:26:35 2017 +0530<br>
# Node ID 4a2866922bb8241c90a1b76e4829ba<wbr>0d1783097f<br>
# Parent 3a4f36d1501a955db00e5d181210dc<wbr>c472e61529<br>
testbench: include intrinsics header corresponding to target architecture<br>
<br>
Display warning when dhdr10 is enabled with MSVC version that does not<br>
support c++11.<br></blockquote><div><br></div><div>Pushed to default branch.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 3a4f36d1501a -r 4a2866922bb8 source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt Fri Jul 28 12:19:16 2017 +0530<br>
+++ b/source/CMakeLists.txt Tue Aug 08 18:26:35 2017 +0530<br>
@@ -184,6 +184,9 @@<br>
endif()<br>
# this option is to enable the inclusion of dynamic HDR10 library to the libx265 compilation<br>
option(ENABLE_HDR10_PLUS "Enable dynamic HDR10 compilation" OFF)<br>
+if(MSVC AND (MSVC_VERSION LESS 1800) AND ENABLE_HDR10_PLUS)<br>
+ message(FATAL_ERROR "MSVC version 12.0 or above required to support hdr10plus")<br>
+endif()<br>
if(GCC)<br>
add_definitions(-Wall -Wextra -Wshadow)<br>
add_definitions(-D__STDC_<wbr>LIMIT_MACROS=1)<br>
diff -r 3a4f36d1501a -r 4a2866922bb8 source/dynamicHDR10/<wbr>metadataFromJson.cpp<br>
--- a/source/dynamicHDR10/<wbr>metadataFromJson.cpp Fri Jul 28 12:19:16 2017 +0530<br>
+++ b/source/dynamicHDR10/<wbr>metadataFromJson.cpp Tue Aug 08 18:26:35 2017 +0530<br>
@@ -33,11 +33,7 @@<br>
<br>
#include "BasicStructures.h"<br>
#include "SeiMetadataDictionary.h"<br>
-<br>
-#define M_PI 3.14159265358979323846<br>
-<br>
using namespace SeiMetadataDictionary;<br>
-<br>
class metadataFromJson::<wbr>DynamicMetaIO<br>
{<br>
public:<br>
diff -r 3a4f36d1501a -r 4a2866922bb8 source/test/testharness.h<br>
--- a/source/test/testharness.h Fri Jul 28 12:19:16 2017 +0530<br>
+++ b/source/test/testharness.h Tue Aug 08 18:26:35 2017 +0530<br>
@@ -68,6 +68,10 @@<br>
#include <intrin.h><br>
#elif HAVE_RDTSC<br>
#include <intrin.h><br>
+#elif (!defined(__APPLE__) && (defined (__GNUC__) && (defined(__x86_64__) || defined(__i386__))))<br>
+#include <x86intrin.h><br>
+#elif ( !defined(__APPLE__) && defined (__GNUC__) && defined(__ARM_NEON__))<br>
+#include <arm_neon.h><br>
#elif defined(__GNUC__)<br>
/* fallback for older GCC/MinGW */<br>
static inline uint32_t __rdtsc(void)<br>
<br>______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div></div>