Ignore:
Timestamp:
11 Aug 2015, 20:47:57 (9 years ago)
Author:
seregin
Message:

port rev 4588

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1433 r1434  
    635635    seiMessages.push_back(sei);
    636636  }
     637  if(m_pcCfg->getChromaResamplingFilterHintEnabled())
     638  {
     639    SEIChromaResamplingFilterHint *seiChromaResamplingFilterHint = new SEIChromaResamplingFilterHint;
     640    m_seiEncoder.initSEIChromaResamplingFilterHint(seiChromaResamplingFilterHint, m_pcCfg->getChromaResamplingHorFilterIdc(), m_pcCfg->getChromaResamplingVerFilterIdc());
     641    seiMessages.push_back(seiChromaResamplingFilterHint);
     642  }
    637643
    638644#if SVC_EXTENSION
     
    890896    m_seiEncoder.initSEIRecoveryPoint(recoveryPointSEI, slice);
    891897    seiMessages.push_back(recoveryPointSEI);
    892 
    893     if(m_pcCfg->getDecodingRefreshType() == 3)
    894     {
    895       m_iLastRecoveryPicPOC = slice->getPOC();
    896     }
    897898  }
    898899  if (m_pcCfg->getTemporalLevel0IndexSEIEnabled())
     
    901902    m_seiEncoder.initTemporalLevel0IndexSEI(temporalLevel0IndexSEI, slice);
    902903    seiMessages.push_back(temporalLevel0IndexSEI);
    903   }
    904 
    905   if(slice->getSPS()->getVuiParametersPresentFlag() && m_pcCfg->getChromaSamplingFilterHintEnabled() && ( slice->getSliceType() == I_SLICE ))
    906   {
    907     SEIChromaSamplingFilterHint *seiChromaSamplingFilterHint = new SEIChromaSamplingFilterHint;
    908     m_seiEncoder.initSEIChromaSamplingFilterHint(seiChromaSamplingFilterHint, m_pcCfg->getChromaSamplingHorFilterIdc(), m_pcCfg->getChromaSamplingVerFilterIdc());
    909     seiMessages.push_back(seiChromaSamplingFilterHint);
    910904  }
    911905
     
    17141708      pcSlice->setMFMEnabledFlag(false);
    17151709    }
    1716 #endif //SVC_EXTENSION   
     1710#endif //SVC_EXTENSION
     1711
    17171712    pcSlice->setLastIDR(m_iLastIDR);
    17181713    pcSlice->setSliceIdx(0);
     
    19161911      }
    19171912    }
     1913
    19181914    if (m_pcCfg->getEfficientFieldIRAPEnabled())
    19191915    {
Note: See TracChangeset for help on using the changeset viewer.