Changeset 1190 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
8 Jul 2015, 03:47:31 (10 years ago)
Author:
seregin
Message:

macro cleanup: O0109_VIEW_ID_LEN, VIEW_ID_RELATED_SIGNALING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1189 r1190  
    27252725  }
    27262726
    2727 #if VIEW_ID_RELATED_SIGNALING
    2728 #if O0109_VIEW_ID_LEN
    27292727  READ_CODE( 4, uiCode, "view_id_len" ); vps->setViewIdLen( uiCode );
    2730 #else
    2731   READ_CODE( 4, uiCode, "view_id_len_minus1" ); vps->setViewIdLenMinus1( uiCode );
    2732 #endif
    2733 
    2734 #if O0109_VIEW_ID_LEN
     2728
    27352729  if ( vps->getViewIdLen() > 0 )
    27362730  {
    2737     for(  i = 0; i < vps->getNumViews(); i++ )
     2731    for( i = 0; i < vps->getNumViews(); i++ )
    27382732    {
    27392733      READ_CODE( vps->getViewIdLen( ), uiCode, "view_id_val[i]" ); vps->setViewIdVal( i, uiCode );
    27402734    }
    27412735  }
    2742 #else
    2743   for(  i = 0; i < vps->getNumViews(); i++ )
    2744   {
    2745     READ_CODE( vps->getViewIdLenMinus1( ) + 1, uiCode, "view_id_val[i]" ); vps->setViewIdVal( i, uiCode );
    2746   }
    2747 #endif
    2748 #endif // view id related signaling
    27492736
    27502737  // For layer 0
Note: See TracChangeset for help on using the changeset viewer.