Changeset 1308 in SHVCSoftware


Ignore:
Timestamp:
21 Jul 2015, 01:22:32 (9 years ago)
Author:
seregin
Message:

port rev 4379

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1307 r1308  
    32113211  {
    32123212    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);
    32173218    const Int   iWidth  = pcPicD->getWidth (ch) - (m_pcEncTop->getPad(0) >> pcPic->getComponentScaleX(ch));
    32183219    const Int   iHeight = pcPicD->getHeight(ch) - ((m_pcEncTop->getPad(1) >> (pcPic->isField()?1:0)) >> pcPic->getComponentScaleY(ch));
     
    32283229        uiSSDtemp   += iDiff * iDiff;
    32293230      }
    3230       pOrg += iStride;
    3231       pRec += iStride;
     3231      pOrg += iOrgStride;
     3232      pRec += iRecStride;
    32323233    }
    32333234#if SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.