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

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

Location:
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder
Files:
2 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 )
  • branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibEncoder/TEncSearch.cpp

    r993 r994  
    31573157            pcCU->setDimDeltaDC( dmmType, 1, uiPartOffset, deltaDC2 );
    31583158
     3159#if HS_DMM_SIGNALLING_I0120
     3160            uiRdModeList[ numModesForFullRD++ ] = (dmmType  +DIM_OFFSET);
     3161#else
    31593162            uiRdModeList[ numModesForFullRD++ ] = (2*dmmType  +DIM_OFFSET);
    31603163            uiRdModeList[ numModesForFullRD++ ] = (2*dmmType+1+DIM_OFFSET);
     3164#endif
    31613165
    31623166            if( DMM4_IDX == dmmType ) { biSegmentation->destroy(); delete biSegmentation; }
     
    32133217      if (uiMode < numModesForFullRD)
    32143218      {   
    3215            uiOrgMode = uiRdModeList[uiMode];
     3219         uiOrgMode = uiRdModeList[uiMode];
    32163220      }
    32173221      else
     
    32263230           {
    32273231              if (uiOrgMode != uiBestPUModeConv && uiOrgMode != uiSecondBestPUModeConv && uiOrgMode != uiThirdBestPUModeConv
    3228                  && uiOrgMode > 1 && uiOrgMode < NUM_INTRA_MODE && varCU < 4)
     3232                  && uiOrgMode > 1 && uiOrgMode < NUM_INTRA_MODE && varCU < 4)
    32293233              continue;
    32303234           }
Note: See TracChangeset for help on using the changeset viewer.