Changeset 1166 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 01:10:28 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1165 r1166 49 49 #define NON_REF_NAL_TYPE_DISCARDABLE 1 ///< JCTVC-P0041 -- If discardable picture is a non-IRAP, it must be a non-referenced sub-layer picture 50 50 #define VPS_RESERVED_FLAGS 1 ///< vps_base_layer_internal_flag and vps_base_layer_available_flag 51 #define VPS_VUI_VST_PARAMS 1 ///< JCTVC-R0227: Related to signalling of VST parameters of the base layer.52 51 #define VPS_VUI_OFFSET 1 ///< N0085: Signal VPS VUI offset in the VPS extension 53 52 #define POC_RESET_RESTRICTIONS 1 ///< Restrictions on semantics of POC reset-related syntax elements, including one item from R0223 -
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 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1165 r1166 2446 2446 } 2447 2447 2448 if (vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 ) 2449 { 2450 #if VPS_VUI_VST_PARAMS 2451 for(i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++) 2448 if( vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 ) 2449 { 2450 for( i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++ ) 2452 2451 { 2453 2452 WRITE_CODE( vps->getVideoSignalInfoIdx(i), 4, "vps_video_signal_info_idx" ); 2454 2453 } 2455 #else2456 for (i=1; i < vps->getMaxLayers(); i++)2457 WRITE_CODE(vps->getVideoSignalInfoIdx(i), 4, "vps_video_signal_info_idx" );2458 #endif2459 2454 } 2460 2455 #endif
Note: See TracChangeset for help on using the changeset viewer.