Changeset 464 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2a/source/App/TAppEncoder/TAppEncTop.cpp
- Timestamp:
- 11 Jun 2013, 20:35:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2a/source/App/TAppEncoder/TAppEncTop.cpp
r446 r464 122 122 vps.initViewIndex(); 123 123 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 124 132 #endif 125 133 … … 166 174 m_cTEncTop.setDWeight ( isDepth ? m_iDWeight : 0 ); 167 175 #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 168 181 #endif // H_3D 169 182 … … 605 618 { 606 619 m_acTEncTopList[layer]->init( ); 620 #if H_3D_ARP 621 m_acTEncTopList[layer]->setTAppEncTop( this ); 622 #endif 607 623 } 608 624 #else
Note: See TracChangeset for help on using the changeset viewer.