Changeset 923 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 14 Nov 2014, 12:22:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r912 r923 1631 1631 { 1632 1632 TComReferencePictureSet* nRPS = pcSlice->getSPS()->getRPSList()->getReferencePictureSet(ii); 1633 for(Int jj=0; jj<nRPS->getNumberOfPictures();jj++)1633 for(Int jj=0;(jj<nRPS->getNumberOfPictures() && isSTSA==true);jj++) 1634 1634 { 1635 1635 if(nRPS->getUsed(jj)) … … 1637 1637 Int tPoc=m_pcCfg->getGOPEntry(ii).m_POC+nRPS->getDeltaPOC(jj); 1638 1638 Int kk=0; 1639 for(kk=0;kk< m_pcCfg->getGOPSize();kk++)1639 for(kk=0;kk<iGOPid;kk++) 1640 1640 { 1641 1641 if(m_pcCfg->getGOPEntry(kk).m_POC==tPoc) 1642 { 1643 isSTSA=false; 1642 1644 break; 1645 } 1643 1646 } 1644 1647 Int tTid=m_pcCfg->getGOPEntry(kk).m_temporalId; … … 1790 1793 ) 1791 1794 { 1795 if(pcSlice->isStepwiseTemporalLayerSwitchingPointCandidate(rcListPic)) 1796 { 1792 1797 Bool isSTSA=true; 1793 1798 Bool isIntra=false; … … 1812 1817 { 1813 1818 TComReferencePictureSet* nRPS = pcSlice->getSPS()->getRPSList()->getReferencePictureSet(ii); 1814 for(Int jj=0; jj<nRPS->getNumberOfPictures();jj++)1819 for(Int jj=0;(jj<nRPS->getNumberOfPictures() && isSTSA==true);jj++) 1815 1820 { 1816 1821 if(nRPS->getUsed(jj)) … … 1818 1823 Int tPoc=m_pcCfg->getGOPEntry(ii).m_POC+nRPS->getDeltaPOC(jj); 1819 1824 Int kk=0; 1820 for(kk=0; kk<m_pcCfg->getGOPSize();kk++)1825 for(kk=0;kk<iGOPid;kk++) 1821 1826 { 1822 1827 if(m_pcCfg->getGOPEntry(kk).m_POC==tPoc) 1823 1828 { 1829 isSTSA=false; 1824 1830 break; 1825 1831 } … … 1846 1852 } 1847 1853 } 1854 } 1848 1855 } 1849 1856 #endif
Note: See TracChangeset for help on using the changeset viewer.