Ignore:
Timestamp:
15 Jul 2014, 15:44:07 (10 years ago)
Author:
hisilicon-htm
Message:

Integration of JCT3V-I0120 Remove "depth_dc_flag" signalling in DMM cases

File:
1 edited

Legend:

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

    r983 r994  
    11941194    if( !uiSymbol )
    11951195    {
     1196#if HS_DMM_SIGNALLING_I0120
     1197      pcCU->setLumaIntraDirSubParts( DIM_OFFSET, absPartIdx, depth );
     1198#else
    11961199      pcCU->setLumaIntraDirSubParts( ( 2 * DMM1_IDX + DIM_OFFSET ), absPartIdx, depth );
     1200#endif
    11971201    }
    11981202    else
    11991203    {
     1204#if HS_DMM_SIGNALLING_I0120
     1205      pcCU->setLumaIntraDirSubParts( ( 1+ DIM_OFFSET ), absPartIdx, depth );
     1206#else
    12001207      pcCU->setLumaIntraDirSubParts( ( 2 * DMM4_IDX + DIM_OFFSET ), absPartIdx, depth );
     1208#endif
    12011209    }
    12021210  }
     
    21122120  }
    21132121
     2122#if HS_DMM_SIGNALLING_I0120
     2123  UInt symbol = 1;
     2124  UInt uiNumSegments = isDimMode( pcCU->getLumaIntraDir( absPartIdx ) ) ? 2 : 1;
     2125#else
    21142126  UInt symbol = 0;
    21152127  UInt uiNumSegments = 0;
    2116 
     2128#endif
     2129
     2130#if HS_DMM_SIGNALLING_I0120
     2131  if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx ))
     2132  {
     2133#else
    21172134  if( pcCU->isIntra( absPartIdx ) )
    21182135  {
    21192136    UInt dir     = pcCU->getLumaIntraDir( absPartIdx );
    21202137    uiNumSegments = isDimMode( dir ) ? 2 : 1;
     2138#endif
    21212139    m_pcTDecBinIf->decodeBin( symbol, m_cDdcFlagSCModel.get( 0, 0, 0 ) );
     2140#if !HS_DMM_SIGNALLING_I0120
    21222141    if( pcCU->getSDCFlag( absPartIdx ) )
    21232142    {
     2143#endif
    21242144      assert( pcCU->getPartitionSize( absPartIdx ) == SIZE_2Nx2N );
    21252145      pcCU->setTrIdxSubParts( 0, absPartIdx, depth );
    21262146      pcCU->setCbfSubParts( 1, 1, 1, absPartIdx, depth );
    21272147    }
     2148#if !HS_DMM_SIGNALLING_I0120
    21282149    else
    21292150    {
     
    21362157    symbol = 1;
    21372158  }
     2159#endif
    21382160
    21392161
Note: See TracChangeset for help on using the changeset viewer.