Ticket #892: qpinheritancefix.patch
File qpinheritancefix.patch, 1.1 KB (added by gordon, 12 years ago) |
---|
-
C:/users/gordon/work/265/HM-9.1-qpinheritancefix/source/Lib/TLibDecoder/TDecCu.cpp
250 250 Bool bSubInSlice = pcCU->getSCUAddr()+uiIdx+uiQNumParts>pcSlice->getDependentSliceCurStartCUAddr(); 251 251 if ( bSubInSlice ) 252 252 { 253 if ( ( uiLPelX < pcCU->getSlice()->getSPS()->getPicWidthInLumaSamples() ) && ( uiTPelY < pcCU->getSlice()->getSPS()->getPicHeightInLumaSamples() ) )253 if ( !ruiIsLast && ( uiLPelX < pcCU->getSlice()->getSPS()->getPicWidthInLumaSamples() ) && ( uiTPelY < pcCU->getSlice()->getSPS()->getPicHeightInLumaSamples() ) ) 254 254 { 255 255 xDecodeCU( pcCU, uiIdx, uiDepth+1, ruiIsLast ); 256 256 } … … 259 259 pcCU->setOutsideCUPart( uiIdx, uiDepth+1 ); 260 260 } 261 261 } 262 if(ruiIsLast)263 {264 break;265 }266 262 267 263 uiIdx += uiQNumParts; 268 264 }