Changeset 840 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
25 Jul 2014, 21:20:46 (11 years ago)
Author:
seregin
Message:

print scalability ratio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r825 r840  
    39623962      {
    39633963#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] );
    39653970#else
    39663971        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.