[x265] [PATCH] optimize qp offsets for Dolby Vision profile 5

Aruna Matheswaran aruna at multicorewareinc.com
Mon Dec 10 10:58:48 CET 2018


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1538111723 -19800
#      Fri Sep 28 10:45:23 2018 +0530
# Node ID b748ee9f44657a9468b9d62c85d02dfafcbc4039
# Parent  89457c901a6c41f390aef970a2936e3a5650b4f1
optimize qp offsets for Dolby Vision profile 5

diff -r 89457c901a6c -r b748ee9f4465 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Tue Sep 25 11:14:55 2018 +0530
+++ b/source/encoder/encoder.cpp Fri Sep 28 10:45:23 2018 +0530
@@ -3198,6 +3198,9 @@
             p->vui.videoFormat = 5;
             p->bEnableAccessUnitDelimiters = 1;
             p->bAnnexB = 1;
+
+            if (p->noiseReductionIntra && p->noiseReductionInter)    //
when noise reduction is enabled, preserve the film grain.
+                p->crQpOffset = 4;
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20181210/b99ef8df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_clone_12436.patch
Type: application/octet-stream
Size: 806 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20181210/b99ef8df/attachment.obj>


More information about the x265-devel mailing list