Ignore:
Timestamp:
11 Jun 2013, 20:35:00 (11 years ago)
Author:
zhang
Message:

Implementation of ARP from QC

File:
1 edited

Legend:

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

    r446 r464  
    122122  vps.initViewIndex();
    123123  m_ivPicLists.setVPS      ( &vps );
     124#if H_3D_ARP
     125  for(Int i = 0; i < m_numberOfLayers; i++)
     126  {
     127    Bool isDepth = vps.getDepthId( i );
     128    vps.setUseAdvRP        ( i, ( isDepth || 0==i ) ? 0 : m_uiUseAdvResPred );
     129    vps.setARPStepNum      ( i, ( isDepth || 0==i ) ? 1 : H_3D_ARP_WFNR     );
     130  }
     131#endif
    124132#endif
    125133
     
    166174    m_cTEncTop.setDWeight                      ( isDepth ? m_iDWeight             : 0     );
    167175#endif // H_3D_VSO
     176#if H_3D_ARP
     177    //====== Advanced Inter-view Residual Prediction =========
     178    m_cTEncTop.setUseAdvRP                     ( ( isDepth || 0==layer ) ? 0 : m_uiUseAdvResPred );
     179    m_cTEncTop.setARPStepNum                   ( ( isDepth || 0==layer ) ? 1 : H_3D_ARP_WFNR     );
     180#endif
    168181#endif // H_3D
    169182
     
    605618  {
    606619    m_acTEncTopList[layer]->init( );
     620#if H_3D_ARP
     621    m_acTEncTopList[layer]->setTAppEncTop( this );
     622#endif
    607623  }
    608624#else
Note: See TracChangeset for help on using the changeset viewer.