[x265] [PATCH 1 of 2] analysis: configure slave quant QP prior to pmode intra RDO for RD 0..4
Steve Borho
steve at borho.org
Sat Apr 25 07:45:28 CEST 2015
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1429940388 18000
# Sat Apr 25 00:39:48 2015 -0500
# Node ID 6a0a37c01cff03cadd44691a0fe447d17ec0b14f
# Parent 0d99d6436375fbe5adb6eafa40cbbd0c4fba1acc
analysis: configure slave quant QP prior to pmode intra RDO for RD 0..4
related to #127, but that bug report uses preset veryslow, --rd 5
diff -r 0d99d6436375 -r 6a0a37c01cff source/encoder/analysis.cpp
--- a/source/encoder/analysis.cpp Fri Apr 24 16:14:22 2015 -0500
+++ b/source/encoder/analysis.cpp Sat Apr 25 00:39:48 2015 -0500
@@ -420,7 +420,10 @@
{
case PRED_INTRA:
if (&slave != this)
+ {
slave.m_rqt[pmode.cuGeom.depth].cur.load(m_rqt[pmode.cuGeom.depth].cur);
+ slave.m_quant.setQPforQuant(md.pred[PRED_INTRA].cu);
+ }
slave.checkIntraInInter(md.pred[PRED_INTRA], pmode.cuGeom);
if (m_param->rdLevel > 2)
slave.encodeIntraInInter(md.pred[PRED_INTRA], pmode.cuGeom);
More information about the x265-devel
mailing list