Ignore:
Timestamp:
8 Jul 2015, 01:10:28 (9 years ago)
Author:
seregin
Message:

macro cleanup: VPS_VUI_VST_PARAMS

File:
1 edited

Legend:

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

    r1165 r1166  
    34753475  else
    34763476  {
    3477 #if VPS_VUI_VST_PARAMS
    34783477    vps->setNumVideoSignalInfo(vps->getMaxLayers() - vps->getBaseLayerInternalFlag() ? 0 : 1);
    3479 #else
    3480     vps->setNumVideoSignalInfo(vps->getMaxLayers());
    3481 #endif
    34823478  }
    34833479
     
    34903486    READ_CODE(8, uiCode, "matrix_coeffs_vps" );vps->setMaxtrixCoeff(i,uiCode);
    34913487  }
    3492 #if VPS_VUI_VST_PARAMS
     3488
    34933489  if( vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 )
    34943490  {
     
    35123508    }
    35133509  }
    3514 #else
    3515   if(!vps->getVideoSigPresentVpsFlag())
    3516   {
    3517     for (i=0; i < vps->getMaxLayers(); i++)
    3518     {
    3519       vps->setVideoSignalInfoIdx(i,i);
    3520     }
    3521   }
    3522   else {
    3523     vps->setVideoSignalInfoIdx(0,0);
    3524     if (vps->getNumVideoSignalInfo() > 1 )
    3525     {
    3526       for (i=1; i < vps->getMaxLayers(); i++)
    3527         READ_CODE(4, uiCode, "vps_video_signal_info_idx" ); vps->setVideoSignalInfoIdx(i, uiCode);
    3528     }
    3529     else {
    3530       for (i=1; i < vps->getMaxLayers(); i++)
    3531       {
    3532         vps->setVideoSignalInfoIdx(i,0);
    3533       }
    3534     }
    3535   }
    3536 #endif
     3510
    35373511#endif
    35383512#if VPS_VUI_TILES_NOT_IN_USE__FLAG
Note: See TracChangeset for help on using the changeset viewer.