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