[x265] [PATCH] Quant: fix for decoding hash mismatch in lossless mode

ashok at multicorewareinc.com ashok at multicorewareinc.com
Tue Aug 11 11:14:15 CEST 2015


# HG changeset patch
# User Ashok Kumar Mishra<ashok at multicorewareinc.com>
# Date 1439283627 -19800
#      Tue Aug 11 14:30:27 2015 +0530
# Node ID 854f0f9aabf7ec45da3cb301e0f78a5bd1e96391
# Parent  3eb2ec5922be1cd934dec7f7ed886d03c0125ef5
Quant: fix for decoding hash mismatch in lossless mode

diff -r 3eb2ec5922be -r 854f0f9aabf7 source/common/quant.cpp
--- a/source/common/quant.cpp	Wed Aug 05 12:20:01 2015 +0530
+++ b/source/common/quant.cpp	Tue Aug 11 14:30:27 2015 +0530
@@ -228,9 +228,6 @@
 
 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