Changeset 977 in SHVCSoftware for branches/SHM-upgrade/source/App/TAppEncoder
- Timestamp:
- 12 Jan 2015, 17:47:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncTop.cpp
r974 r977 205 205 //Populate PTL in VPS 206 206 TComVPS *pVPS = m_acTEncTop[0].getVPS(); 207 ProfileTierLevel& profileTierLevel = *(pVPS->getPTL(0)->getGeneralPTL());208 207 for( Int ii = 0; ii < m_numPTLInfo; ii++ ) 209 208 { 210 profileTierLevel = *(pVPS->getPTL(ii)->getGeneralPTL()); 211 212 profileTierLevel.setLevelIdc(m_levelList[ii]); 213 profileTierLevel.setTierFlag(m_levelTierList[ii]); 214 profileTierLevel.setProfileIdc(m_profileList[ii]); 215 profileTierLevel.setProfileCompatibilityFlag(m_profileCompatibility[ii], 1); 216 profileTierLevel.setProgressiveSourceFlag(m_progressiveSourceFlagList[ii]); 217 profileTierLevel.setInterlacedSourceFlag(m_interlacedSourceFlagList[ii]); 218 profileTierLevel.setNonPackedConstraintFlag(m_nonPackedConstraintFlagList[ii]); 219 profileTierLevel.setFrameOnlyConstraintFlag(m_frameOnlyConstraintFlagList[ii]); 209 pVPS->getPTL(ii)->getGeneralPTL()->setLevelIdc(m_levelList[ii]); 210 pVPS->getPTL(ii)->getGeneralPTL()->setTierFlag(m_levelTierList[ii]); 211 pVPS->getPTL(ii)->getGeneralPTL()->setProfileIdc(m_profileList[ii]); 212 pVPS->getPTL(ii)->getGeneralPTL()->setProfileCompatibilityFlag(m_profileCompatibility[ii], 1); 213 pVPS->getPTL(ii)->getGeneralPTL()->setProgressiveSourceFlag(m_progressiveSourceFlagList[ii]); 214 pVPS->getPTL(ii)->getGeneralPTL()->setInterlacedSourceFlag(m_interlacedSourceFlagList[ii]); 215 pVPS->getPTL(ii)->getGeneralPTL()->setNonPackedConstraintFlag(m_nonPackedConstraintFlagList[ii]); 216 pVPS->getPTL(ii)->getGeneralPTL()->setFrameOnlyConstraintFlag(m_frameOnlyConstraintFlagList[ii]); 220 217 } 221 218 pVPS->setNumProfileTierLevel(m_numPTLInfo);
Note: See TracChangeset for help on using the changeset viewer.