Changeset 57 in SHVCSoftware
- Timestamp:
- 4 Mar 2013, 23:56:02 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.cpp
r54 r57 135 135 136 136 /* there are no SEI messages associated with this picture initially */ 137 m_SEIs = NULL;137 m_SEIs.clear(); 138 138 m_bUsedByCurr = false; 139 139 return; -
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp
r54 r57 2106 2106 { 2107 2107 pIlpPicList[i]->setIsLongTerm(1); //mark ilp as long-term reference 2108 pIlpPicList[i]->setIsUsedAsLongTerm(1); //mark ilp as long-term reference2109 2108 m_apcRefPicList[REF_PIC_LIST_0][iOffset + i] = pIlpPicList[i]; 2110 2109 m_aiNumRefIdx[REF_PIC_LIST_0]++; … … 2118 2117 { 2119 2118 pIlpPicList[i]->setIsLongTerm(1); //mark ilp as long-term reference 2120 pIlpPicList[i]->setIsUsedAsLongTerm(1); //mark ilp as long-term reference2121 2119 m_apcRefPicList[REF_PIC_LIST_1][iOffset + i] = pIlpPicList[i]; 2122 2120 m_aiNumRefIdx[REF_PIC_LIST_1]++; -
branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecTop.cpp
r54 r57 144 144 if(m_layerId>0) 145 145 { 146 Int numReorderPics[MAX_TLAYER]; 147 Window &conformanceWindow = pcSPS->getConformanceWindow(); 148 Window defaultDisplayWindow = pcSPS->getVuiParametersPresentFlag() ? pcSPS->getVuiParameters()->getDefaultDisplayWindow() : Window(); 149 146 150 if (m_cIlpPic[0] == NULL) 147 151 { … … 151 155 //m_cIlpPic[j]->createWithOutYuv(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true); 152 156 #if SVC_UPSAMPLING 153 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, pcSPS, true);154 #else 155 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, true);157 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, pcSPS, true); 158 #else 159 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, true); 156 160 #endif 157 161 #if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || REF_IDX_MFM -
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.