Changeset 464 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2a/source/Lib/TLibCommon/TComSlice.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/Lib/TLibCommon/TComSlice.cpp
r446 r464 1486 1486 m_dimensionId[i][j] = 0; 1487 1487 } 1488 1489 #if H_3D_ARP 1490 m_uiUseAdvResPred[i] = 0; 1491 m_uiARPStepNum[i] = 1; 1492 #endif 1488 1493 } 1489 1494 #endif … … 2257 2262 } 2258 2263 } 2264 2265 #if H_3D_ARP 2266 Void TComSlice::setARPStepNum() 2267 { 2268 Bool bAllIvRef = true; 2269 2270 if(!getVPS()->getUseAdvRP(getLayerId())) 2271 { 2272 m_nARPStepNum = 0; 2273 } 2274 else 2275 { 2276 for( Int iRefListId = 0; iRefListId < 2; iRefListId++ ) 2277 { 2278 RefPicList eRefPicList = RefPicList( iRefListId ); 2279 Int iNumRefIdx = getNumRefIdx(eRefPicList); 2280 2281 if( iNumRefIdx <= 0 ) 2282 { 2283 continue; 2284 } 2285 2286 for ( Int i = 0; i < iNumRefIdx; i++ ) 2287 { 2288 if( getRefPic( eRefPicList, i)->getPOC() != getPOC() ) 2289 { 2290 bAllIvRef = false; 2291 break; 2292 } 2293 } 2294 2295 if( bAllIvRef == false ) { break; } 2296 } 2297 m_nARPStepNum = !bAllIvRef ? getVPS()->getARPStepNum(getLayerId()) : 0; 2298 } 2299 } 2300 #endif 2259 2301 #endif 2260 2302 /** get scaling matrix from RefMatrixID
Note: See TracChangeset for help on using the changeset viewer.