Changeset 1166 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 8 Jul 2015, 01:10:28 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1165 r1166 3475 3475 else 3476 3476 { 3477 #if VPS_VUI_VST_PARAMS3478 3477 vps->setNumVideoSignalInfo(vps->getMaxLayers() - vps->getBaseLayerInternalFlag() ? 0 : 1); 3479 #else3480 vps->setNumVideoSignalInfo(vps->getMaxLayers());3481 #endif3482 3478 } 3483 3479 … … 3490 3486 READ_CODE(8, uiCode, "matrix_coeffs_vps" );vps->setMaxtrixCoeff(i,uiCode); 3491 3487 } 3492 #if VPS_VUI_VST_PARAMS 3488 3493 3489 if( vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 ) 3494 3490 { … … 3512 3508 } 3513 3509 } 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 3537 3511 #endif 3538 3512 #if VPS_VUI_TILES_NOT_IN_USE__FLAG
Note: See TracChangeset for help on using the changeset viewer.