<div dir="ltr"><div dir="ltr"><div># HG changeset patch</div><div># User Praveen Tiwari <<a href="mailto:praveen@multicorewareinc.com">praveen@multicorewareinc.com</a>></div><div># Date 1538111723 -19800</div><div>#      Fri Sep 28 10:45:23 2018 +0530</div><div># Node ID b748ee9f44657a9468b9d62c85d02dfafcbc4039</div><div># Parent  89457c901a6c41f390aef970a2936e3a5650b4f1</div><div>optimize qp offsets for Dolby Vision profile 5</div><div><br></div><div>diff -r 89457c901a6c -r b748ee9f4465 source/encoder/encoder.cpp</div><div>--- a/source/encoder/encoder.cpp<span style="white-space:pre">        </span>Tue Sep 25 11:14:55 2018 +0530</div><div>+++ b/source/encoder/encoder.cpp<span style="white-space:pre">        </span>Fri Sep 28 10:45:23 2018 +0530</div><div>@@ -3198,6 +3198,9 @@</div><div>             p->vui.videoFormat = 5;</div><div>             p->bEnableAccessUnitDelimiters = 1;</div><div>             p->bAnnexB = 1;</div><div>+</div><div>+            if (p->noiseReductionIntra && p->noiseReductionInter)    // when noise reduction is enabled, preserve the film grain.</div><div>+                p->crQpOffset = 4;</div><div>         }</div><div>     }</div><div> }</div></div></div>