Ignore:
Timestamp:
24 Jul 2014, 06:42:46 (10 years ago)
Author:
samsung-htm
Message:

Integration of JCT3V-I0085: Separate enabling flag for intra-view prediction mode (DMM4)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev3-Samsung/source/Lib/TLibDecoder/TDecSbac.cpp

    r994 r1015  
    10491049  {
    10501050#if H_3D_DIM
     1051#if SEPARATE_FLAG_I0085
     1052    if( pcCU->getSlice()->getVpsDepthModesFlag() || pcCU->getSlice()->getIVPFlag() )
     1053#else
    10511054    if( pcCU->getSlice()->getVpsDepthModesFlag() )
     1055#endif
    10521056    {
    10531057      parseIntraDepth( pcCU, absPartIdx+partOffset*j, depth );
     
    11911195  if( uiIsDimMode )
    11921196  {
    1193     m_pcTDecBinIf->decodeBin( uiSymbol, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) );
    1194     if( !uiSymbol )
     1197#if SEPARATE_FLAG_I0085
     1198    if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag() )
     1199    {
     1200      m_pcTDecBinIf->decodeBin( uiSymbol, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) );
     1201      if( !uiSymbol )
     1202      {
     1203#if HS_DMM_SIGNALLING_I0120
     1204        pcCU->setLumaIntraDirSubParts( DIM_OFFSET, absPartIdx, depth );
     1205#else
     1206        pcCU->setLumaIntraDirSubParts( ( 2 * DMM1_IDX + DIM_OFFSET ), absPartIdx, depth );
     1207#endif
     1208      }
     1209      else
     1210      {
     1211#if HS_DMM_SIGNALLING_I0120
     1212        pcCU->setLumaIntraDirSubParts( ( 1+ DIM_OFFSET ), absPartIdx, depth );
     1213#else
     1214        pcCU->setLumaIntraDirSubParts( ( 2 * DMM4_IDX + DIM_OFFSET ), absPartIdx, depth );
     1215#endif
     1216      }
     1217    }
     1218    else if ( pcCU->getSlice()->getVpsDepthModesFlag() )
    11951219    {
    11961220#if HS_DMM_SIGNALLING_I0120
     
    12001224#endif
    12011225    }
    1202     else
     1226    else if( pcCU->getSlice()->getIVPFlag() )
    12031227    {
    12041228#if HS_DMM_SIGNALLING_I0120
     
    12081232#endif
    12091233    }
     1234#else
     1235    m_pcTDecBinIf->decodeBin( uiSymbol, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) );
     1236    if( !uiSymbol )
     1237    {
     1238#if HS_DMM_SIGNALLING_I0120
     1239      pcCU->setLumaIntraDirSubParts( DIM_OFFSET, absPartIdx, depth );
     1240#else
     1241      pcCU->setLumaIntraDirSubParts( ( 2 * DMM1_IDX + DIM_OFFSET ), absPartIdx, depth );
     1242#endif
     1243    }
     1244    else
     1245    {
     1246#if HS_DMM_SIGNALLING_I0120
     1247      pcCU->setLumaIntraDirSubParts( ( 1+ DIM_OFFSET ), absPartIdx, depth );
     1248#else
     1249      pcCU->setLumaIntraDirSubParts( ( 2 * DMM4_IDX + DIM_OFFSET ), absPartIdx, depth );
     1250#endif
     1251    }
     1252#endif
    12101253  }
    12111254}
Note: See TracChangeset for help on using the changeset viewer.