[x265] [PATCH] Quant: fix for non-deterministic ouput in lossless mode - issue #173
ashok at multicorewareinc.com
ashok at multicorewareinc.com
Tue Sep 1 12:49:18 CEST 2015
# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1441095626 -19800
# Tue Sep 01 13:50:26 2015 +0530
# Node ID c0f049243c8c66975a08de4ba61998d7d2b9d27c
# Parent 86b915fdd88a455d772bc826f0f0c08a041f25e7
Quant: fix for non-deterministic ouput in lossless mode - issue #173
diff -r 86b915fdd88a -r c0f049243c8c source/common/quant.cpp
--- a/source/common/quant.cpp Tue Sep 01 14:07:58 2015 +0530
+++ b/source/common/quant.cpp Tue Sep 01 13:50:26 2015 +0530
@@ -228,6 +228,10 @@
void Quant::setQPforQuant(const CUData& ctu, int qp)
{
+ m_tqBypass = !!ctu.m_tqBypass[0];
+// if (m_tqBypass)
+// return;
+
m_nr = m_frameNr ? &m_frameNr[ctu.m_encData->m_frameEncoderID] : NULL;
m_qpParam[TEXT_LUMA].setQpParam(qp + QP_BD_OFFSET);
setChromaQP(qp + ctu.m_slice->m_pps->chromaQpOffset[0], TEXT_CHROMA_U, ctu.m_chromaFormat);
More information about the x265-devel
mailing list