Ticket #17: bugfix_do not use sps for layer ID.patch
File bugfix_do not use sps for layer ID.patch, 1.9 KB (added by adarsh, 10 years ago) |
---|
-
TLibCommon/TComSlice.cpp
847 847 Int numRpsCurrTempList = 0; 848 848 849 849 #if SVC_EXTENSION 850 if( m_eSliceType == I_SLICE || ( m_pcSPS->getLayerId() &&850 if( m_eSliceType == I_SLICE || ( getLayerId() && 851 851 (m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && 852 852 (m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) ) ) 853 853 #else -
TLibDecoder/TDecCAVLC.cpp
2336 2336 rpcSlice->setActiveNumILRRefIdx(0); 2337 2337 #if ILP_SSH_SIG 2338 2338 #if ILP_SSH_SIG_FIX 2339 if(( sps->getLayerId() > 0) && !(rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (rpcSlice->getNumILRRefIdx() > 0) )2339 if((rpcSlice->getLayerId() > 0) && !(rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (rpcSlice->getNumILRRefIdx() > 0) ) 2340 2340 #else 2341 2341 if((sps->getLayerId() > 0) && rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (rpcSlice->getNumILRRefIdx() > 0) ) 2342 2342 #endif -
TLibEncoder/TEncCavlc.cpp
1767 1767 #if SVC_EXTENSION 1768 1768 #if ILP_SSH_SIG 1769 1769 #if ILP_SSH_SIG_FIX 1770 if((pcSlice->get SPS()->getLayerId() > 0) && !(pcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) )1770 if((pcSlice->getLayerId() > 0) && !(pcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) ) 1771 1771 #else 1772 1772 if((pcSlice->getSPS()->getLayerId() > 0) && pcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (pcSlice->getNumILRRefIdx() > 0) ) 1773 1773 #endif