Ignore:
Timestamp:
5 May 2013, 12:09:11 (11 years ago)
Author:
sharpjp-htm
Message:

D0060: Removal of IC's parsing dependency

Location:
branches/HTM-6.2-dev1-Sharp/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev1-Sharp/source/Lib/TLibEncoder/TEncCavlc.cpp

    r332 r374  
    790790      WRITE_FLAG( pcSlice->getApplyIC() ? 1 : 0, "applying IC flag" );
    791791    }
     792#if SHARP_ILLUCOMP_PARSE_D0060
     793    if (pcSlice->getApplyIC())
     794    {
     795      WRITE_FLAG( pcSlice->getIcSkipParseFlag() ? 1 : 0, "ic_skip_mergeidx0" );
     796    }
     797#endif
    792798  }
    793799#endif
  • branches/HTM-6.2-dev1-Sharp/source/Lib/TLibEncoder/TEncCu.cpp

    r355 r374  
    665665
    666666#if LGE_ILLUCOMP_B0045
     667#if SHARP_ILLUCOMP_PARSE_D0060
     668    bICEnabled = false;
     669#else
    667670    bICEnabled = rpcBestCU->getICFlag(0);
     671#endif
    668672#endif
    669673
     
    720724          Bool bResPredFlag  = ( uiResPrdId > 0 );
    721725#if LGE_ILLUCOMP_B0045
     726#if SHARP_ILLUCOMP_PARSE_D0060
     727          {
     728            Bool bICFlag = false;
     729            rpcTempCU->setICFlagSubParts(bICFlag, 0, 0, uiDepth);
     730#else
    722731          for(UInt uiICId = 0; uiICId < (bICEnabled ? 2 : 1); uiICId++)
    723732          {
    724733            Bool bICFlag = (uiICId ? true : false);
    725734            rpcTempCU->setICFlagSubParts(bICFlag, 0, 0, uiDepth);
     735#endif
    726736#endif
    727737#endif
     
    18751885    {
    18761886      TComYuv* pcPredYuvTemp = NULL;
     1887#if SHARP_ILLUCOMP_PARSE_D0060
     1888      if (rpcTempCU->getSlice()->getApplyIC() && rpcTempCU->getSlice()->getIcSkipParseFlag())
     1889      {
     1890        if (bICFlag && uiMergeCand == 0)
     1891        {
     1892          continue;
     1893        }
     1894      }
     1895#endif
    18771896#if LOSSLESS_CODING
    18781897      UInt iteration;
  • branches/HTM-6.2-dev1-Sharp/source/Lib/TLibEncoder/TEncSlice.cpp

    r332 r374  
    778778  {
    779779    pcSlice ->xSetApplyIC();
     780#if SHARP_ILLUCOMP_PARSE_D0060
     781    if (pcSlice->getApplyIC())
     782    {
     783      pcSlice->setIcSkipParseFlag(rpcPic->getCurrSlice()->getPOC() % m_pcCfg->getIntraPeriod() != 0);
     784    }
     785#endif
    780786  }
    781787#endif
Note: See TracChangeset for help on using the changeset viewer.