Changeset 356 in SHVCSoftware for branches


Ignore:
Timestamp:
21 Aug 2013, 01:46:08 (11 years ago)
Author:
seregin
Message:

indicate a collocated picture in the log

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  
    247247    for (Int iRefIndex = 0; iRefIndex < pcSlice->getNumRefIdx(RefPicList(iRefList)); iRefIndex++)
    248248    {
    249 #if REF_IDX_FRAMEWORK && VPS_EXTN_DIRECT_REF_LAYERS
     249#if REF_IDX_FRAMEWORK
     250#if VPS_EXTN_DIRECT_REF_LAYERS
    250251      if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR( m_layerId ) )
    251252      {
    252         printf( "%d(%d) ", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() );
     253        printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() );
    253254      }
    254255      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
    256267      printf ("%d ", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex));
     268#endif
    257269    }
    258270    printf ("] ");
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r352 r356  
    26252625    for (Int iRefIndex = 0; iRefIndex < pcSlice->getNumRefIdx(RefPicList(iRefList)); iRefIndex++)
    26262626    {
    2627 #if REF_IDX_FRAMEWORK && VPS_EXTN_DIRECT_REF_LAYERS
     2627#if REF_IDX_FRAMEWORK
     2628#if VPS_EXTN_DIRECT_REF_LAYERS
    26282629      if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR(m_layerId) )
    26292630      {
    2630         printf( "%d(%d) ", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR(), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() );
     2631        printf( "%d(%d)", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR(), pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId() );
    26312632      }
    26322633      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
    26342645      printf ("%d ", pcSlice->getRefPOC(RefPicList(iRefList), iRefIndex)-pcSlice->getLastIDR());
     2646#endif
    26352647    }
    26362648    printf("]");
Note: See TracChangeset for help on using the changeset viewer.