Changeset 57 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder
- Timestamp:
- 4 Mar 2013, 23:56:02 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCu.cpp
r54 r57 1813 1813 #endif 1814 1814 1815 1815 #if (ENCODER_FAST_MODE) 1816 Void TEncCu::xCheckRDCostILRUni(TComDataCU *&rpcBestCU, TComDataCU *&rpcTempCU) 1817 { 1818 UChar uhDepth = rpcTempCU->getDepth( 0 ); 1819 1820 rpcTempCU->setDepthSubParts( uhDepth, 0 ); 1821 1822 #if SKIP_FLAG 1823 rpcTempCU->setSkipFlagSubParts( false, 0, uhDepth ); 1824 #endif 1825 1826 rpcTempCU->setPartSizeSubParts ( SIZE_2Nx2N, 0, uhDepth ); //2Nx2N 1827 rpcTempCU->setPredModeSubParts ( MODE_INTER, 0, uhDepth ); 1828 rpcTempCU->setCUTransquantBypassSubParts ( m_pcEncCfg->getCUTransquantBypassFlagValue(), 0, uhDepth ); 1829 1830 Bool exitILR = m_pcPredSearch->predInterSearchILRUni( rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvTemp[uhDepth], m_ppcResiYuvTemp[uhDepth], m_ppcRecoYuvTemp[uhDepth] ); 1831 1832 if(!exitILR) 1833 { 1834 return; 1835 } 1836 1837 m_pcPredSearch->encodeResAndCalcRdInterCU( rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvTemp[uhDepth], m_ppcResiYuvTemp[uhDepth], m_ppcResiYuvBest[uhDepth], m_ppcRecoYuvTemp[uhDepth], false ); 1838 1839 rpcTempCU->getTotalCost() = m_pcRdCost->calcRdCost( rpcTempCU->getTotalBits(), rpcTempCU->getTotalDistortion() ); 1840 1841 xCheckDQP( rpcTempCU ); 1842 xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth); 1843 1844 return; 1845 } 1846 #endif 1816 1847 1817 1848 -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncGOP.cpp
r54 r57 413 413 pcSlice->setNalUnitType(getNalUnitType(pocCurr)); 414 414 #if REF_IDX_FRAMEWORK 415 if( m_layerId > 0 && ( uiPOCCurr % m_pcCfg->getIntraPeriod() == 0) )415 if( m_layerId > 0 && (pocCurr % m_pcCfg->getIntraPeriod() == 0) ) 416 416 { 417 417 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA); -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncTop.cpp
r54 r57 1109 1109 if(m_layerId>0) 1110 1110 { 1111 Int numReorderPics[MAX_TLAYER]; 1112 Window &conformanceWindow = m_cSPS.getConformanceWindow(); 1113 Window defaultDisplayWindow = m_cSPS.getVuiParametersPresentFlag() ? m_cSPS.getVuiParameters()->getDefaultDisplayWindow() : Window(); 1114 1111 1115 if (m_cIlpPic[0] == NULL) 1112 1116 { … … 1116 1120 //m_cIlpPic[j]->createWithOutYuv(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true); 1117 1121 #if SVC_UPSAMPLING 1118 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true);1122 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true); 1119 1123 #else 1120 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, true);1124 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true); 1121 1125 #endif 1122 1126 #if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM
Note: See TracChangeset for help on using the changeset viewer.