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/TLibEncoder/TEncSbac.cpp

    r983 r994  
    23242324  }
    23252325
     2326#if HS_DMM_SIGNALLING_I0120
     2327  UInt uiNumSegments = isDimMode( pcCU->getLumaIntraDir( absPartIdx ) ) ? 2 : 1;
     2328  UInt dimDeltaDC = 1;
     2329#else
    23262330  UInt uiNumSegments = 0;
    23272331  UInt dimDeltaDC = 0;
    2328 
     2332#endif
     2333
     2334#if HS_DMM_SIGNALLING_I0120
     2335  if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx ))
     2336  {
     2337#else
    23292338  if( pcCU->isIntra( absPartIdx ) )
    23302339  {
     
    23342343    if( pcCU->getSDCFlag( absPartIdx ) )
    23352344    {
     2345#endif
    23362346      if( uiNumSegments == 1 )
    23372347      {
     
    23422352        dimDeltaDC = ( pcCU->getSDCSegmentDCOffset( 0, absPartIdx ) || pcCU->getSDCSegmentDCOffset( 1, absPartIdx ) ) ? 1 : 0;
    23432353      }
     2354#if !HS_DMM_SIGNALLING_I0120
    23442355    }
    23452356    else
     
    23472358      dimDeltaDC = isDimDeltaDC( dir );
    23482359    }
     2360#endif
    23492361    m_pcBinIf->encodeBin( dimDeltaDC, m_cDdcFlagSCModel.get( 0, 0, 0 ) );
    23502362  }
     2363#if !HS_DMM_SIGNALLING_I0120
    23512364  else //all-zero inter SDC is not allowed
    23522365  {
     
    23542367    dimDeltaDC = 1;
    23552368  }
     2369#endif
    23562370
    23572371  if( dimDeltaDC )
Note: See TracChangeset for help on using the changeset viewer.