Ignore:
Timestamp:
18 Jun 2013, 23:24:53 (11 years ago)
Author:
tech
Message:
  • changed IV-MERGE HLS to match Test Model 4 spec
  • incorporated iv-refpic list to TComSlice
  • removed TComDepthMapGenerator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.cpp

    r478 r479  
    121121#if H_3D
    122122  vps.initViewIndex();
     123#if H_3D_GEN
     124  xSetVPSExtension2        ( vps );
     125#endif
    123126  m_ivPicLists.setVPS      ( &vps );
    124127#endif
     
    166169    m_cTEncTop.setDWeight                      ( isDepth ? m_iDWeight             : 0     );
    167170#endif // H_3D_VSO
    168 #if H_3D_IV_MERGE
    169     m_cTEncTop.setMultiviewMvPredMode          ( m_uiMultiviewMvPredMode     );
    170     m_cTEncTop.setPredDepthMapGeneration       ( m_uiPredDepthMapGeneration );
    171 #endif
    172171#endif // H_3D
    173172
     
    211210    m_cTEncTop.setNumReorderPics             ( m_numReorderPics[i], i );
    212211    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  }
    231213#endif
    232214  for( UInt uiLoop = 0; uiLoop < MAX_TLAYER; ++uiLoop )
     
    625607  for(Int layer=0; layer<m_numberOfLayers; layer++)
    626608  {
    627 #if H_3D_IV_MERGE
    628     m_acTEncTopList[layer]->init(this );
    629 #else
    630609    m_acTEncTopList[layer]->init( );
    631 #endif
    632610  }
    633611#else
     
    10571035}
    10581036#endif
     1037#if H_3D_GEN
     1038Void 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      {
    10591046#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}
    10811053#endif
    10821054//! \}
Note: See TracChangeset for help on using the changeset viewer.