Ignore:
Timestamp:
14 Jul 2015, 00:26:07 (9 years ago)
Author:
seregin
Message:

port rev 4240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp

    r1244 r1246  
    109109  SliceType eSliceType  = m_pcSlice->getSliceType();
    110110
    111   SliceType encCABACTableIdx = m_pcSlice->getEncCABACTableIdx();;
     111  SliceType encCABACTableIdx = m_pcSlice->getEncCABACTableIdx();
    112112  if (!m_pcSlice->isIntra() && (encCABACTableIdx==B_SLICE || encCABACTableIdx==P_SLICE) && m_pcSlice->getPPS()->getCabacInitPresentFlag())
    113113  {
     
    407407  m_pcBinIf->copyState( pSrc->m_pcBinIf );
    408408  if (isLuma(chType))
     409  {
    409410    this->m_cCUIntraPredSCModel      .copyFrom( &pSrc->m_cCUIntraPredSCModel       );
     411  }
    410412  else
     413  {
    411414    this->m_cCUChromaPredSCModel     .copyFrom( &pSrc->m_cCUChromaPredSCModel      );
     415  }
    412416}
    413417
     
    613617{
    614618  if( uiDepth == g_uiMaxCUDepth - g_uiAddCUDepth )
     619  {
    615620    return;
     621  }
    616622
    617623  UInt uiCtx           = pcCU->getCtxSplitFlag( uiAbsPartIdx, uiDepth );
     
    832838  TComDataCU *pcCU = rTu.getCU();
    833839
    834   if( isLuma(compID) || !pcCU->getSlice()->getPPS()->getUseCrossComponentPrediction() ) return;
     840  if( isLuma(compID) || !pcCU->getSlice()->getPPS()->getUseCrossComponentPrediction() )
     841  {
     842    return;
     843  }
    835844
    836845  const UInt uiAbsPartIdx = rTu.GetAbsPartIdxTU();
     
    12661275      beValid = false;
    12671276      if ( (!pcCU->isIntra(uiAbsPartIdx)) && pcCU->isRDPCMEnabled(uiAbsPartIdx))
     1277      {
    12681278        codeExplicitRdpcmMode( rTu, compID);
     1279      }
    12691280    }
    12701281    else
     
    13261337      uiNumSig--;
    13271338    }
    1328   }
    1329   while ( uiNumSig > 0 );
     1339  } while ( uiNumSig > 0 );
    13301340
    13311341  // Code position of last coefficient
Note: See TracChangeset for help on using the changeset viewer.