Changeset 611 in SHVCSoftware for branches/SHM-5.1-dev/source/App/TAppEncoder
- Timestamp:
- 11 Feb 2014, 23:35:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
r603 r611 1197 1197 // at the encoder, modify below 1198 1198 Int oldValue = vps->getMaxVpsDecPicBufferingMinus1( i, vps->getSubDpbAssigned( layerSetIdxForOutputLayerSet, k ), j ); 1199 oldValue += vps->getMaxVpsLayerDecPicBuffMinus1( i, k, j ) ;1199 oldValue += vps->getMaxVpsLayerDecPicBuffMinus1( i, k, j ) + 1; 1200 1200 vps->setMaxVpsDecPicBufferingMinus1( i, vps->getSubDpbAssigned( layerSetIdxForOutputLayerSet, k ), j, oldValue ); 1201 1201 #else … … 1204 1204 maxNumReorderPics = std::max( maxNumReorderPics, m_acTEncTop[layerId].getNumReorderPics(j)); 1205 1205 } 1206 #if RESOLUTION_BASED_DPB 1207 for(Int k = 0; k < vps->getNumSubDpbs(i); k++) 1208 { 1209 // Decrement m_maxVpsDecPicBufferingMinus1 1210 Int oldValue = vps->getMaxVpsDecPicBufferingMinus1( i, vps->getSubDpbAssigned( layerSetIdxForOutputLayerSet, k ), j ); 1211 vps->setMaxVpsDecPicBufferingMinus1( i, vps->getSubDpbAssigned( layerSetIdxForOutputLayerSet, k ), j, oldValue - 1 ); 1212 } 1213 #endif 1206 1214 vps->setMaxVpsNumReorderPics(i, j, maxNumReorderPics); 1207 1215 vps->determineSubDpbInfoFlags();
Note: See TracChangeset for help on using the changeset viewer.