- Timestamp:
- 21 Aug 2013, 01:46:08 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecGop.cpp
r313 r356 247 247 for (Int iRefIndex = 0; iRefIndex < pcSlice->getNumRefIdx(RefPicList(iRefList)); iRefIndex++) 248 248 { 249 #if REF_IDX_FRAMEWORK && VPS_EXTN_DIRECT_REF_LAYERS 249 #if REF_IDX_FRAMEWORK 250 #if VPS_EXTN_DIRECT_REF_LAYERS 250 251 if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR( m_layerId ) ) 251 252 { 252 printf( "%d(%d) 253 printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() ); 253 254 } 254 255 else 255 #endif 256 { 257 printf ("%d", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)); 258 } 259 #endif 260 if( pcSlice->getEnableTMVPFlag() && iRefList == 1 - pcSlice->getColFromL0Flag() && iRefIndex == pcSlice->getColRefIdx() ) 261 { 262 printf( "c" ); 263 } 264 265 printf( " " ); 266 #else 256 267 printf ("%d ", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)); 268 #endif 257 269 } 258 270 printf ("] "); -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r352 r356 2625 2625 for (Int iRefIndex = 0; iRefIndex < pcSlice->getNumRefIdx(RefPicList(iRefList)); iRefIndex++) 2626 2626 { 2627 #if REF_IDX_FRAMEWORK && VPS_EXTN_DIRECT_REF_LAYERS 2627 #if REF_IDX_FRAMEWORK 2628 #if VPS_EXTN_DIRECT_REF_LAYERS 2628 2629 if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR(m_layerId) ) 2629 2630 { 2630 printf( "%d(%d) 2631 printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR(), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() ); 2631 2632 } 2632 2633 else 2633 #endif 2634 { 2635 printf ("%d", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR()); 2636 } 2637 #endif 2638 if( pcSlice->getEnableTMVPFlag() && iRefList == 1 - pcSlice->getColFromL0Flag() && iRefIndex == pcSlice->getColRefIdx() ) 2639 { 2640 printf( "c" ); 2641 } 2642 2643 printf( " " ); 2644 #else 2634 2645 printf ("%d ", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR()); 2646 #endif 2635 2647 } 2636 2648 printf("]");
Note: See TracChangeset for help on using the changeset viewer.