Ignore:
Timestamp:
22 May 2015, 05:38:04 (9 years ago)
Author:
sharpjp-htm
Message:

Migration of illumination compensation(NH_3D_IC) and small fix(H_MV_ENC_DEC_TRAC_FIX)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibEncoder/TEncCu.cpp

    r1200 r1225  
    505505  }
    506506
    507 #if H_3D_IC
     507#if NH_3D_IC
    508508  Bool bICEnabled = rpcTempCU->getSlice()->getViewIndex() && ( rpcTempCU->getSlice()->getSliceType() == P_SLICE || rpcTempCU->getSlice()->getSliceType() == B_SLICE ) && !rpcTempCU->getSlice()->getIsDepth();
    509509  bICEnabled = bICEnabled && rpcTempCU->getSlice()->getApplyIC();
     
    642642      if( rpcBestCU->getSlice()->getSliceType() != I_SLICE )
    643643      {
    644 #if H_3D_IC
     644#if NH_3D_IC
    645645        for( UInt uiICId = 0; uiICId < ( bICEnabled ? 2 : 1 ); uiICId++ )
    646646        {
     
    650650        if(m_pcEncCfg->getUseEarlySkipDetection())
    651651        {
    652 #if H_3D_IC
     652#if NH_3D_IC
    653653            rpcTempCU->setICFlagSubParts(bICFlag, 0, 0, uiDepth);
    654654#endif
     
    664664        }
    665665        // SKIP
    666 #if H_3D_IC
     666#if NH_3D_IC
    667667          rpcTempCU->setICFlagSubParts(bICFlag, 0, 0, uiDepth);
    668668#endif
     
    680680        {
    681681          // 2Nx2N, NxN
    682 #if H_3D_IC
     682#if NH_3D_IC
    683683            rpcTempCU->setICFlagSubParts(bICFlag, 0, 0, uiDepth);
    684684#endif
     
    709709          }
    710710        }
    711 #if H_3D_IC
     711#if NH_3D_IC
    712712        }
    713713#endif
     
    15771577    m_pcEntropyCoder->encodeARPW( pcCU , uiAbsPartIdx );
    15781578#endif
    1579 #if H_3D_IC
     1579#if NH_3D_IC
    15801580    m_pcEntropyCoder->encodeICFlag  ( pcCU, uiAbsPartIdx );
    15811581#endif
     
    16201620  m_pcEntropyCoder->encodeARPW( pcCU , uiAbsPartIdx );
    16211621#endif
    1622 #if H_3D_IC
     1622#if NH_3D_IC
    16231623  m_pcEntropyCoder->encodeICFlag  ( pcCU, uiAbsPartIdx );
    16241624#endif
     
    17771777  }
    17781778  UChar uhDepth = rpcTempCU->getDepth( 0 );
    1779 #if H_3D_IC
     1779#if NH_3D_IC
    17801780  Bool bICFlag = rpcTempCU->getICFlag( 0 );
    17811781#endif
     
    18621862    rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uhDepth ); // interprets depth relative to LCU level
    18631863    rpcTempCU->setARPWSubParts( (UChar)nARPW , 0 , uhDepth );
    1864 #if H_3D_IC
     1864#if NH_3D_IC
    18651865    rpcTempCU->setICFlagSubParts( bICFlag, 0, 0, uhDepth );
    18661866#endif
     
    19051905    for( UInt uiMergeCand = 0; uiMergeCand < numValidMergeCand; ++uiMergeCand )
    19061906    {
    1907 #if H_3D_IC
     1907#if NH_3D_IC
    19081908      if( rpcTempCU->getSlice()->getApplyIC() && rpcTempCU->getSlice()->getIcSkipParseFlag() )
    19091909      {
     
    19221922          // set MC parameters
    19231923          rpcTempCU->setPredModeSubParts( MODE_INTER, 0, uhDepth ); // interprets depth relative to CTU level
    1924 #if H_3D_IC
     1924#if NH_3D_IC
    19251925          rpcTempCU->setICFlagSubParts( bICFlag, 0, 0, uhDepth );
    19261926#endif
Note: See TracChangeset for help on using the changeset viewer.