[x265-commits] [x265] rdcost: lower the psy-rd scale factor for I slices to 96/256

Steve Borho steve at borho.org
Thu Nov 13 00:22:53 CET 2014


details:   http://hg.videolan.org/x265/rev/18aefbde72ab
branches:  
changeset: 8833:18aefbde72ab
user:      Steve Borho <steve at borho.org>
date:      Wed Nov 12 17:17:56 2014 -0600
description:
rdcost: lower the psy-rd scale factor for I slices to 96/256

Based on Santhoshini's testing, this is better at preventing artifacts

diffstat:

 source/encoder/rdcost.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 98fb658f3229 -r 18aefbde72ab source/encoder/rdcost.h
--- a/source/encoder/rdcost.h	Tue Nov 11 19:30:19 2014 +0900
+++ b/source/encoder/rdcost.h	Wed Nov 12 17:17:56 2014 -0600
@@ -52,7 +52,7 @@ public:
         m_qp = qp;
 
         /* Scale PSY RD factor by a slice type factor */
-        static const uint32_t psyScaleFix8[3] = { 300, 256, 128 }; /* B, P, I */
+        static const uint32_t psyScaleFix8[3] = { 300, 256, 96 }; /* B, P, I */
         m_psyRd = (m_psyRdBase * psyScaleFix8[slice.m_sliceType]) >> 8;
 
         setLambda(x265_lambda2_tab[qp], x265_lambda_tab[qp]);


More information about the x265-commits mailing list