<div dir="ltr"><div dir="ltr"><div># HG changeset patch</div><div># User Dinesh<<a href="mailto:dinesh@multicorewareinc.com" target="_blank">dinesh@multicorewareinc.com</a>></div><div># Date 1550122596 -19800</div><div>#      Thu Feb 14 11:06:36 2019 +0530</div><div># Node ID abd0eb9288e1d9f6a8b71b8377b9f0a103bb10a7</div><div># Parent  c91f1dec002c8b1ae68670e3c9571fb959f29aec</div><div>Integrate SVT-HEVC Encoder with X265</div><div>-Modified SEI Parameters intraction with SVT-HEVC</div><div><br></div><div>diff -r c91f1dec002c -r abd0eb9288e1 source/common/param.cpp</div><div>--- a/source/common/param.cpp<span style="white-space:pre-wrap">    </span>Tue Jan 08 17:00:58 2019 +0530</div><div>+++ b/source/common/param.cpp<span style="white-space:pre-wrap">      </span>Thu Feb 14 11:06:36 2019 +0530</div><div>@@ -2446,8 +2446,12 @@</div><div>     svtHevcParam->reconEnabled = 0;</div><div>     svtHevcParam->maxCLL = 0;</div><div>     svtHevcParam->maxFALL = 0;</div><div>-    svtHevcParam->masteringDisplayColorVolume = NULL;</div><div>-    svtHevcParam->naluFile = NULL;</div><div>+    svtHevcParam->useMasteringDisplayColorVolume = 0;</div><div>+<span style="white-space:pre-wrap">  </span>svtHevcParam->useNaluFile = 0;</div><div>+<span style="white-space:pre-wrap">       </span>svtHevcParam->whitePointX = 0;</div><div>+<span style="white-space:pre-wrap">       </span>svtHevcParam->whitePointY = 0;</div><div>+<span style="white-space:pre-wrap">       </span>svtHevcParam->maxDisplayMasteringLuminance = 0;</div><div>+<span style="white-space:pre-wrap">      </span>svtHevcParam->minDisplayMasteringLuminance = 0;</div><div>     svtHevcParam->dolbyVisionProfile = 0;</div><div>     svtHevcParam->targetSocket = -1;</div><div>     svtHevcParam->logicalProcessors = 0;</div><div>@@ -2652,9 +2656,9 @@</div><div>     OPT("svt-base-layer-switch-mode") svtHevcParam->baseLayerSwitchMode = atoi(value);</div><div>     OPT("svt-pred-struct") svtHevcParam->predStructure = (uint8_t)atoi(value);</div><div>     OPT("svt-fps-in-vps") svtHevcParam->fpsInVps = (uint8_t)x265_atobool(value, bError);</div><div>-    OPT("master-display") svtHevcParam->masteringDisplayColorVolume = strdup(value);</div><div>+    OPT("master-display") svtHevcParam->useMasteringDisplayColorVolume = (uint8_t)atoi(value);</div><div>     OPT("max-cll") bError |= sscanf(value, "%hu,%hu", &svtHevcParam->maxCLL, &svtHevcParam->maxFALL) != 2;</div><div>-    OPT("nalu-file") svtHevcParam->naluFile = strdup(value);</div><div>+    OPT("nalu-file") svtHevcParam->useNaluFile = (uint8_t)atoi(value);</div><div>     OPT("dolby-vision-profile")</div><div>     {</div><div>         if (atof(value) < 10)</div><div><br></div></div></div>