Changeset 171 in SHVCSoftware for branches/SHM-2.0-dev/source
- Timestamp:
- 9 May 2013, 20:21:30 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r170 r171 185 185 if(layerId) 186 186 { 187 m_aiNumILRRefIdx = 1; // to be set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]187 m_aiNumILRRefIdx = m_pcVPS->getNumDirectRefLayers( layerId ); 188 188 #if JCTVC_M0458 189 189 m_aiActiveNumILRRefIdx = 1; -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r164 r171 483 483 #if SVC_EXTENSION 484 484 pcPic->setLayerId( m_layerId ); 485 #endif 485 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getSPS(), m_pcEncTop->getPPS(), m_pcEncTop->getVPS() ); 486 #else 486 487 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getSPS(), m_pcEncTop->getPPS() ); 488 #endif 487 489 pcSlice->setLastIDR(m_iLastIDR); 488 490 pcSlice->setSliceIdx(0); -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r147 r171 178 178 \param pPPS PPS associated with the slice 179 179 */ 180 #if SVC_EXTENSION 181 //\param vps VPS associated with the slice 182 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComSPS* pSPS, TComPPS *pPPS, TComVPS *vps ) 183 #else 180 184 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComSPS* pSPS, TComPPS *pPPS ) 185 #endif 181 186 { 182 187 Double dQP; … … 189 194 rpcSlice->setPic( pcPic ); 190 195 #if SVC_EXTENSION 196 rpcSlice->setVPS( vps ); 191 197 rpcSlice->initSlice( pcPic->getLayerId() ); 192 198 #else -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncSlice.h
r147 r171 116 116 117 117 /// preparation of slice encoding (reference marking, QP and lambda) 118 #if SVC_EXTENSION 119 Void initEncSlice ( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, 120 Int iGOPid, TComSlice*& rpcSlice, TComSPS* pSPS, TComPPS *pPPS, TComVPS *vps ); 121 #else 118 122 Void initEncSlice ( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, 119 123 Int iGOPid, TComSlice*& rpcSlice, TComSPS* pSPS, TComPPS *pPPS ); 124 #endif 125 120 126 #if RATE_CONTROL_LAMBDA_DOMAIN 121 127 Void resetQP ( TComPic* pic, Int sliceQP, Double lambda );
Note: See TracChangeset for help on using the changeset viewer.