[x265] [X265] [PATCH] Modified SEI Parameters interaction with SVT-HEVC

Dinesh Kumar Reddy dinesh at multicorewareinc.com
Tue Feb 19 10:28:14 CET 2019


# HG changeset patch
# User Dinesh<dinesh at multicorewareinc.com>
# Date 1550122596 -19800
#      Thu Feb 14 11:06:36 2019 +0530
# Node ID abd0eb9288e1d9f6a8b71b8377b9f0a103bb10a7
# Parent  c91f1dec002c8b1ae68670e3c9571fb959f29aec
Integrate SVT-HEVC Encoder with X265
-Modified SEI Parameters intraction with SVT-HEVC

diff -r c91f1dec002c -r abd0eb9288e1 source/common/param.cpp
--- a/source/common/param.cpp Tue Jan 08 17:00:58 2019 +0530
+++ b/source/common/param.cpp Thu Feb 14 11:06:36 2019 +0530
@@ -2446,8 +2446,12 @@
     svtHevcParam->reconEnabled = 0;
     svtHevcParam->maxCLL = 0;
     svtHevcParam->maxFALL = 0;
-    svtHevcParam->masteringDisplayColorVolume = NULL;
-    svtHevcParam->naluFile = NULL;
+    svtHevcParam->useMasteringDisplayColorVolume = 0;
+ svtHevcParam->useNaluFile = 0;
+ svtHevcParam->whitePointX = 0;
+ svtHevcParam->whitePointY = 0;
+ svtHevcParam->maxDisplayMasteringLuminance = 0;
+ svtHevcParam->minDisplayMasteringLuminance = 0;
     svtHevcParam->dolbyVisionProfile = 0;
     svtHevcParam->targetSocket = -1;
     svtHevcParam->logicalProcessors = 0;
@@ -2652,9 +2656,9 @@
     OPT("svt-base-layer-switch-mode") svtHevcParam->baseLayerSwitchMode =
atoi(value);
     OPT("svt-pred-struct") svtHevcParam->predStructure =
(uint8_t)atoi(value);
     OPT("svt-fps-in-vps") svtHevcParam->fpsInVps =
(uint8_t)x265_atobool(value, bError);
-    OPT("master-display") svtHevcParam->masteringDisplayColorVolume =
strdup(value);
+    OPT("master-display") svtHevcParam->useMasteringDisplayColorVolume =
(uint8_t)atoi(value);
     OPT("max-cll") bError |= sscanf(value, "%hu,%hu",
&svtHevcParam->maxCLL, &svtHevcParam->maxFALL) != 2;
-    OPT("nalu-file") svtHevcParam->naluFile = strdup(value);
+    OPT("nalu-file") svtHevcParam->useNaluFile = (uint8_t)atoi(value);
     OPT("dolby-vision-profile")
     {
         if (atof(value) < 10)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190219/65705dab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X265_SVT-HEVC_Integration_SEIParametersChanges.patch
Type: application/x-patch
Size: 1866 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190219/65705dab/attachment.bin>


More information about the x265-devel mailing list