Ticket #1218: Skip_invTransformNxN_if_cbf_0_in_Intra_blocks_HM12.1_RExt_5.0.1

File Skip_invTransformNxN_if_cbf_0_in_Intra_blocks_HM12.1_RExt_5.0.1, 641 bytes (added by lenchik, 10 years ago)
Line 
1Index: source/Lib/TLibDecoder/TDecCu.cpp
2===================================================================
3--- source/Lib/TLibDecoder/TDecCu.cpp   (revision 3759)
4+++ source/Lib/TLibDecoder/TDecCu.cpp   (working copy)
5@@ -595,7 +595,7 @@
6   const Int debugPredModeMask=DebugStringGetPredModeMask(MODE_INTRA);
7   std::string *psDebug=(DebugOptionList::DebugString_InvTran.getInt()&debugPredModeMask) ? &sDebug : 0;
8 #endif
9-
10+if( pcCU->getCbf(rTu.GetAbsPartIdxTU(), compID, rTu.GetTransformDepthRel()) )
11   m_pcTrQuant->invTransformNxN( rTu, compID, piResi, uiStride, pcCoeff, cQP DEBUG_STRING_PASS_INTO(psDebug) );
12 
13 #ifdef DEBUG_STRING