Ticket #651: 20120806-bug-fix.patch
File 20120806-bug-fix.patch, 1.6 KB (added by kchono, 11 years ago) |
---|
-
source/Lib/TLibDecoder/TDecCu.cpp
287 287 pcCU->setQPSubParts( pcCU->getRefQP(uiAbsPartIdx), uiAbsPartIdx, uiDepth ); // set QP to default QP 288 288 } 289 289 290 if (pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag() )290 if (pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag() && pcCU->getNumSucIPCM() == 0 ) 291 291 { 292 292 m_pcEntropyDecoder->decodeCUTransquantBypassFlag( pcCU, uiAbsPartIdx, uiDepth ); 293 293 } -
source/Lib/TLibEncoder/TEncCu.cpp
1470 1470 { 1471 1471 UInt uiDepth = rpcTempCU->getDepth( 0 ); 1472 1472 1473 rpcTempCU->setCUTransquantBypassSubParts(false, 0, uiDepth); 1474 1473 1475 #if SKIP_FLAG 1474 1476 rpcTempCU->setSkipFlagSubParts( false, 0, uiDepth ); 1475 1477 #endif -
source/Lib/TLibEncoder/TEncEntropy.cpp
134 134 135 135 Void TEncEntropy::encodeCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 136 136 { 137 if( bRD ) 138 { 139 uiAbsPartIdx = 0; 140 } 141 if( !bRD ) 142 { 143 if( pcCU->getLastCUSucIPCMFlag() && pcCU->getIPCMFlag(uiAbsPartIdx) ) 144 { 145 return; 146 } 147 } 137 148 m_pcEntropyCoderIf->codeCUTransquantBypassFlag( pcCU, uiAbsPartIdx ); 138 149 } 139 150