Changeset 1246 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp
- Timestamp:
- 14 Jul 2015, 00:26:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp
r1244 r1246 109 109 SliceType eSliceType = m_pcSlice->getSliceType(); 110 110 111 SliceType encCABACTableIdx = m_pcSlice->getEncCABACTableIdx(); ;111 SliceType encCABACTableIdx = m_pcSlice->getEncCABACTableIdx(); 112 112 if (!m_pcSlice->isIntra() && (encCABACTableIdx==B_SLICE || encCABACTableIdx==P_SLICE) && m_pcSlice->getPPS()->getCabacInitPresentFlag()) 113 113 { … … 407 407 m_pcBinIf->copyState( pSrc->m_pcBinIf ); 408 408 if (isLuma(chType)) 409 { 409 410 this->m_cCUIntraPredSCModel .copyFrom( &pSrc->m_cCUIntraPredSCModel ); 411 } 410 412 else 413 { 411 414 this->m_cCUChromaPredSCModel .copyFrom( &pSrc->m_cCUChromaPredSCModel ); 415 } 412 416 } 413 417 … … 613 617 { 614 618 if( uiDepth == g_uiMaxCUDepth - g_uiAddCUDepth ) 619 { 615 620 return; 621 } 616 622 617 623 UInt uiCtx = pcCU->getCtxSplitFlag( uiAbsPartIdx, uiDepth ); … … 832 838 TComDataCU *pcCU = rTu.getCU(); 833 839 834 if( isLuma(compID) || !pcCU->getSlice()->getPPS()->getUseCrossComponentPrediction() ) return; 840 if( isLuma(compID) || !pcCU->getSlice()->getPPS()->getUseCrossComponentPrediction() ) 841 { 842 return; 843 } 835 844 836 845 const UInt uiAbsPartIdx = rTu.GetAbsPartIdxTU(); … … 1266 1275 beValid = false; 1267 1276 if ( (!pcCU->isIntra(uiAbsPartIdx)) && pcCU->isRDPCMEnabled(uiAbsPartIdx)) 1277 { 1268 1278 codeExplicitRdpcmMode( rTu, compID); 1279 } 1269 1280 } 1270 1281 else … … 1326 1337 uiNumSig--; 1327 1338 } 1328 } 1329 while ( uiNumSig > 0 ); 1339 } while ( uiNumSig > 0 ); 1330 1340 1331 1341 // Code position of last coefficient
Note: See TracChangeset for help on using the changeset viewer.