<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 24, 2017 at 3:48 PM, <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 1495620958 -19800<br>
# Wed May 24 15:45:58 2017 +0530<br>
# Node ID f77e2a5f27ce158b1820e35d63f1fe<wbr>bc55f518c4<br>
# Parent 355cf3582263acc9bbcb8faa24f1df<wbr>a009f41de3<br>
fix initialization and add JSON file documentaion<br></blockquote><div><br></div><div>Pushed to stable branch and merged with default.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 355cf3582263 -r f77e2a5f27ce doc/reST/cli.rst<br>
--- a/doc/reST/cli.rst Mon May 22 12:05:24 2017 +0530<br>
+++ b/doc/reST/cli.rst Wed May 24 15:45:58 2017 +0530<br>
@@ -1909,7 +1909,12 @@<br>
<br>
.. option:: --dhdr10-info <filename><br>
<br>
- Inserts tone mapping information as an SEI message.<br>
+ Inserts tone mapping information as an SEI message. It takes as input,<br>
+ the path to the JSON file containing the Creative Intent Metadata<br>
+ to be encoded as Dynamic Tone Mapping into the bitstream.<br>
+<br>
+ Click `here <<a href="https://www.sra.samsung.com/assets/User-data-registered-itu-t-t35-SEI-message-for-ST-2094-40-v1.1.pdf" rel="noreferrer" target="_blank">https://www.sra.samsung.com/<wbr>assets/User-data-registered-<wbr>itu-t-t35-SEI-message-for-ST-<wbr>2094-40-v1.1.pdf</a>>`_<br>
+ for the syntax of the metadata file. Sample JSON file available in downloads.<br>
<br>
.. option:: --dhdr10-opt, --no-dhdr10-opt<br>
<br>
diff -r 355cf3582263 -r f77e2a5f27ce source/dynamicHDR10/<wbr>BasicStructures.h<br>
--- a/source/dynamicHDR10/<wbr>BasicStructures.h Mon May 22 12:05:24 2017 +0530<br>
+++ b/source/dynamicHDR10/<wbr>BasicStructures.h Wed May 24 15:45:58 2017 +0530<br>
@@ -35,15 +35,15 @@<br>
float maxRLuminance = 0.0;<br>
float maxGLuminance = 0.0;<br>
float maxBLuminance = 0.0;<br>
- int order;<br>
+ int order = 0;<br>
std::vector<unsigned int> percentiles;<br>
};<br>
<br>
struct BezierCurveData<br>
{<br>
- int order;<br>
- int sPx;<br>
- int sPy;<br>
+ int order = 0;<br>
+ int sPx = 0;<br>
+ int sPy = 0;<br>
std::vector<int> coeff;<br>
};<br>
<br>
@@ -53,7 +53,7 @@<br>
float maxRLuminance = 0.0;<br>
float maxGLuminance = 0.0;<br>
float maxBLuminance = 0.0;<br>
- int order;<br>
+ int order = 0;<br>
std::vector<unsigned int> percentiles;<br>
};<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>
</blockquote></div><br></div></div>