Changeset 479 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.cpp
- Timestamp:
- 18 Jun 2013, 23:24:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.cpp
r478 r479 121 121 #if H_3D 122 122 vps.initViewIndex(); 123 #if H_3D_GEN 124 xSetVPSExtension2 ( vps ); 125 #endif 123 126 m_ivPicLists.setVPS ( &vps ); 124 127 #endif … … 166 169 m_cTEncTop.setDWeight ( isDepth ? m_iDWeight : 0 ); 167 170 #endif // H_3D_VSO 168 #if H_3D_IV_MERGE169 m_cTEncTop.setMultiviewMvPredMode ( m_uiMultiviewMvPredMode );170 m_cTEncTop.setPredDepthMapGeneration ( m_uiPredDepthMapGeneration );171 #endif172 171 #endif // H_3D 173 172 … … 211 210 m_cTEncTop.setNumReorderPics ( m_numReorderPics[i], i ); 212 211 m_cTEncTop.setMaxDecPicBuffering ( m_maxDecPicBuffering[i], i ); 213 #if H_3D_IV_MERGE 214 m_acTEncDepthTopList[iViewIdx]->setNumReorderPics ( m_numReorderPics[iViewIdx][i], i ); 215 m_acTEncDepthTopList[iViewIdx]->setMaxDecPicBuffering ( m_maxDecPicBuffering[iViewIdx][i], i ); 216 #endif 217 } 218 #if H_3D_IV_MERGE 219 m_acTEncDepthTopList[iViewIdx]->setQP ( m_aiQP[1] ); 220 221 m_acTEncDepthTopList[iViewIdx]->setTemporalLayerQPOffset ( m_aiTLayerQPOffset ); 222 m_acTEncDepthTopList[iViewIdx]->setPad ( m_aiPad ); 223 224 m_acTEncDepthTopList[iViewIdx]->setMaxTempLayer ( m_maxTempLayer[iViewIdx] ); 225 226 m_acTEncDepthTopList[iViewIdx]->setDisInter4x4 ( m_bDisInter4x4); 227 228 m_acTEncDepthTopList[iViewIdx]->setUseNSQT( m_enableNSQT ); 229 m_acTEncDepthTopList[iViewIdx]->setUseAMP( m_enableAMP ); 230 #endif 212 } 231 213 #endif 232 214 for( UInt uiLoop = 0; uiLoop < MAX_TLAYER; ++uiLoop ) … … 625 607 for(Int layer=0; layer<m_numberOfLayers; layer++) 626 608 { 627 #if H_3D_IV_MERGE628 m_acTEncTopList[layer]->init(this );629 #else630 609 m_acTEncTopList[layer]->init( ); 631 #endif632 610 } 633 611 #else … … 1057 1035 } 1058 1036 #endif 1037 #if H_3D_GEN 1038 Void TAppEncTop::xSetVPSExtension2( TComVPS& vps ) 1039 { 1040 for ( Int layer = 0; layer < vps.getMaxLayers(); layer++ ) 1041 { 1042 if ( layer != 0 ) 1043 { 1044 if( ( vps.getDepthId( layer ) == 0 ) ) 1045 { 1059 1046 #if H_3D_IV_MERGE 1060 // GT: This function is not necessary anymore m_ivPicLists should be used instead 1061 TComPic* TAppEncTop::xGetPicFromView( Int viewIdx, Int poc, Bool isDepth ) 1062 { 1063 assert( ( viewIdx >= 0 ) && ( viewIdx < m_iNumberOfViews ) ); 1064 1065 TComList<TComPic*>* apcListPic = m_acTEncTopList[(isDepth ? 1 : 0) + viewIdx * 2]->getListPic() ; 1066 1067 1068 1069 TComPic* pcPic = NULL; 1070 for(TComList<TComPic*>::iterator it=apcListPic->begin(); it!=apcListPic->end(); it++) 1071 { 1072 if( (*it)->getPOC() == poc ) 1073 { 1074 pcPic = *it ; 1075 break ; 1076 } 1077 } 1078 1079 return pcPic; 1080 }; 1047 vps.setIvMvPredFlag( layer, m_ivMvPredFlag ); 1048 #endif 1049 } 1050 } 1051 } 1052 } 1081 1053 #endif 1082 1054 //! \}
Note: See TracChangeset for help on using the changeset viewer.