# HG changeset patch
# User Aruna Matheswaran
# Date 1556597470 -19800
#      Tue Apr 30 09:41:10 2019 +0530
# Node ID feec4bdf98663ac4a2561b63e1ccec423c7d26a4
# Parent  bac0e1acb874213d4002f47ce88d6abe2475d957
Dolby Vision: Set crQpoffset to 3 by default for profile 5 regardless of noise
reduction.

diff -r bac0e1acb874 -r feec4bdf9866 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp        Sat Apr 13 16:03:05 2019 +0200
+++ b/source/encoder/encoder.cpp        Tue Apr 30 09:41:10 2019 +0530
@@ -2710,8 +2710,8 @@
     if (dovi[doviProfile].doviProfileId == 81)
         p->bEmitHDRSEI = 1;
 
-    if (dovi[doviProfile].doviProfileId == 50 && p->noiseReductionIntra && 
p->noiseReductionInter)
-        p->crQpOffset = 4;
+    if (dovi[doviProfile].doviProfileId == 50)
+        p->crQpOffset = 3;
 }
 
 void Encoder::configure(x265_param *p)
# HG changeset patch
# User Aruna Matheswaran
# Date 1556597470 -19800
#      Tue Apr 30 09:41:10 2019 +0530
# Node ID feec4bdf98663ac4a2561b63e1ccec423c7d26a4
# Parent  bac0e1acb874213d4002f47ce88d6abe2475d957
Dolby Vision: Set crQpoffset to 3 by default for profile 5 regardless of noise
reduction.

diff -r bac0e1acb874 -r feec4bdf9866 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Sat Apr 13 16:03:05 2019 +0200
+++ b/source/encoder/encoder.cpp	Tue Apr 30 09:41:10 2019 +0530
@@ -2710,8 +2710,8 @@
     if (dovi[doviProfile].doviProfileId == 81)
         p->bEmitHDRSEI = 1;
 
-    if (dovi[doviProfile].doviProfileId == 50 && p->noiseReductionIntra && p->noiseReductionInter)
-        p->crQpOffset = 4;
+    if (dovi[doviProfile].doviProfileId == 50)
+        p->crQpOffset = 3;
 }
 
 void Encoder::configure(x265_param *p)
_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to