Changeset 840 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 25 Jul 2014, 21:20:46 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp
r713 r840 218 218 if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR( m_layerId ) ) 219 219 { 220 printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() ); 220 UInt refLayerId = pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId(); 221 UInt refLayerIdc = pcSlice->getInterLayerPredLayerIdc(refLayerId); 222 assert( g_posScalingFactor[refLayerIdc][0] ); 223 assert( g_posScalingFactor[refLayerIdc][1] ); 224 225 printf( "%d(%d, \{%1.2f, %1.2f\}x)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), refLayerId, 65536.0/g_posScalingFactor[refLayerIdc][0], 65536.0/g_posScalingFactor[refLayerIdc][1] ); 221 226 } 222 227 else -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r825 r840 3962 3962 { 3963 3963 #if POC_RESET_IDC_ENCODER 3964 printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() ); 3964 UInt refLayerId = pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId(); 3965 UInt refLayerIdc = pcSlice->getInterLayerPredLayerIdc(refLayerId); 3966 assert( g_posScalingFactor[refLayerIdc][0] ); 3967 assert( g_posScalingFactor[refLayerIdc][1] ); 3968 3969 printf( "%d(%d, \{%1.2f, %1.2f\}x)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), refLayerId, 65536.0/g_posScalingFactor[refLayerIdc][0], 65536.0/g_posScalingFactor[refLayerIdc][1] ); 3965 3970 #else 3966 3971 printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR(), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() );
Note: See TracChangeset for help on using the changeset viewer.