Changeset 680 in SHVCSoftware for branches/SHM-6-dev
- Timestamp:
- 15 Apr 2014, 21:28:58 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r677 r680 1091 1091 #if VPS_TSLAYERS 1092 1092 vps->setMaxTSLayersPresentFlag(true); 1093 for( i = 0; i < MAX_VPS_LAYER_ID_PLUS1 - 1; i++ )1094 { 1095 1093 for( i = 0; i < vps->getMaxLayers(); i++ ) 1094 { 1095 vps->setMaxTSLayersMinus1(i, vps->getMaxTLayers()-1); 1096 1096 } 1097 1097 #endif … … 1104 1104 if (vps->getMaxTidRefPresentFlag()) 1105 1105 { 1106 for( i = 0; i < MAX_VPS_LAYER_ID_PLUS1- 1; i++ )1106 for( i = 0; i < vps->getMaxLayers() - 1; i++ ) 1107 1107 { 1108 1108 #if N0120_MAX_TID_REF_CFG 1109 1109 #if O0225_MAX_TID_FOR_REF_LAYERS 1110 for( Int j = i+1; j < = MAX_VPS_LAYER_ID_PLUS1 - 1; j++)1110 for( Int j = i+1; j < vps->getMaxLayers(); j++) 1111 1111 { 1112 1112 vps->setMaxTidIlRefPicsPlus1(i, j, m_acTEncTop[i].getMaxTidIlRefPicsPlus1()); … … 1117 1117 #else 1118 1118 #if O0225_MAX_TID_FOR_REF_LAYERS 1119 for( Int j = i+1; j < = MAX_VPS_LAYER_ID_PLUS1 - 1; j++)1119 for( Int j = i+1; j < vps->getMaxLayers(); j++) 1120 1120 { 1121 1121 vps->setMaxTidIlRefPicsPlus1(i, j, vps->getMaxTLayers()+1); … … 1129 1129 else 1130 1130 { 1131 for( i = 0; i < MAX_VPS_LAYER_ID_PLUS1- 1; i++ )1131 for( i = 0; i < vps->getMaxLayers() - 1; i++ ) 1132 1132 { 1133 1133 #if O0225_MAX_TID_FOR_REF_LAYERS 1134 for( Int j = i+1; j < = MAX_VPS_LAYER_ID_PLUS1 - 1; j++)1134 for( Int j = i+1; j < vps->getMaxLayers(); j++) 1135 1135 { 1136 1136 vps->setMaxTidIlRefPicsPlus1(i, j, 7); -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h
r677 r680 581 581 #if VPS_TSLAYERS 582 582 Bool m_maxTSLayersPresentFlag; 583 UInt m_maxTSLayerMinus1[MAX_ VPS_LAYER_ID_PLUS1 - 1];583 UInt m_maxTSLayerMinus1[MAX_LAYERS]; 584 584 #endif 585 585 #if M0040_ADAPTIVE_RESOLUTION_CHANGE
Note: See TracChangeset for help on using the changeset viewer.