Changeset 1308 in SHVCSoftware
- Timestamp:
- 21 Jul 2015, 01:22:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1307 r1308 3211 3211 { 3212 3212 const ComponentID ch=ComponentID(chan); 3213 const Pel* pOrg = (conversion!=IPCOLOURSPACE_UNCHANGED) ? pcPic ->getPicYuvTrueOrg()->getAddr(ch) : pcPic ->getPicYuvOrg()->getAddr(ch); 3214 Pel* pRec = picd.getAddr(ch); 3215 const Int iStride = pcPicD->getStride(ch); 3216 3213 const TComPicYuv *pOrgPicYuv =(conversion!=IPCOLOURSPACE_UNCHANGED) ? pcPic ->getPicYuvTrueOrg() : pcPic ->getPicYuvOrg(); 3214 const Pel* pOrg = pOrgPicYuv->getAddr(ch); 3215 const Int iOrgStride = pOrgPicYuv->getStride(ch); 3216 Pel* pRec = picd.getAddr(ch); 3217 const Int iRecStride = picd.getStride(ch); 3217 3218 const Int iWidth = pcPicD->getWidth (ch) - (m_pcEncTop->getPad(0) >> pcPic->getComponentScaleX(ch)); 3218 3219 const Int iHeight = pcPicD->getHeight(ch) - ((m_pcEncTop->getPad(1) >> (pcPic->isField()?1:0)) >> pcPic->getComponentScaleY(ch)); … … 3228 3229 uiSSDtemp += iDiff * iDiff; 3229 3230 } 3230 pOrg += i Stride;3231 pRec += i Stride;3231 pOrg += iOrgStride; 3232 pRec += iRecStride; 3232 3233 } 3233 3234 #if SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.