Ignore:
Timestamp:
30 Mar 2014, 19:00:36 (10 years ago)
Author:
ntt
Message:

bug fix for ticket#54

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev0/source/Lib/TLibCommon/TComDataCU.cpp

    r884 r888  
    33343334          cMv.setVer(0);
    33353335        }
     3336#if !(NTT_BUG_FIX_TK54)
    33363337        clipMv( cMv );
     3338#endif
    33373339
    33383340        rightShiftMergeCandList( pcMvFieldNeighbours, puhInterDirNeighbours, vspFlag, inheritedVSPDisInfo, iCount, (5-iCount), iCount3DV);
     
    41104112              {
    41114113                TComMv cMv = cTexMvField.getMv() + cMvRounding;
    4112                 cMv >>=2;
     4114                cMv >>=2;         
     4115#if !(NTT_BUG_FIX_TK54)
    41134116                this->clipMv( cMv );
     4117#endif
    41144118                pcMvFieldSP[2*iPartition + uiCurrRefListId].setMvField(cMv, iValidDepRef);
    41154119              }
     
    42614265            cMVField.getMv() += cAdd;
    42624266            cMVField.getMv() >>= 2;
     4267#if !(NTT_BUG_FIX_TK54)
    42634268            clipMv( cMVField.getMv() );
     4269#endif
    42644270            tmpMV[ 0 ].setMvField( cMVField.getMv(), iValidDepRef );
    42654271            tmpDir = 1;
     
    42844290            cMVField.getMv() += cAdd;
    42854291            cMVField.getMv() >>= 2;
     4292#if !(NTT_BUG_FIX_TK54)
    42864293            clipMv( cMVField.getMv() );
     4294#endif
    42874295            tmpMV[ 1 ].setMvField( cMVField.getMv(), iValidDepRef );
    42884296            tmpDir = 2;
     
    62276235      if( bCheck )
    62286236      {
     6237#if !(NTT_BUG_FIX_TK54)
    62296238        clipMv(cColMv);
     6239#endif
    62306240        pDInfo->m_acNBDV = cColMv;
    62316241        pDInfo->m_aVIdxCan  = iTargetViewIdx;
     
    62966306        {
    62976307          TComMv cDispVec = cIDVInfo.m_acMvCand[iList][ curPos ];
     6308#if !(NTT_BUG_FIX_TK54)
    62986309          clipMv( cDispVec );
     6310#endif
    62996311          pDInfo->m_acNBDV = cDispVec;
    63006312          pDInfo->m_aVIdxCan = cIDVInfo.m_aVIdxCan[iList][ curPos ];
     
    64266438    Pel iDisp = getMcpFromDM( pcBaseViewDepthPicYuv, cMvPred, iBlkX, iBlkY, iWidth, iHeight, aiShiftLUT );
    64276439    cMvPred->setHor( iDisp );
     6440#if !(NTT_BUG_FIX_TK54)
    64286441    clipMv(*cMvPred);
     6442#endif
    64296443  }
    64306444}
     
    64526466        if (refViewIdx != m_pcSlice->getViewIndex())
    64536467        {
     6468#if !(NTT_BUG_FIX_TK54)
    64546469          clipMv(cMvPred);
     6470#endif
    64556471          pNbDvInfo->m_acNBDV = cMvPred;
    64566472          pNbDvInfo->m_aVIdxCan = refViewIdx;
     
    68596875#endif
    68606876#endif
     6877#if !(NTT_BUG_FIX_TK54)
    68616878                    clipMv( cMv );
     6879#endif
    68626880                    paiPdmRefIdx  [ uiCurrRefListId ] = iPdmRefIdx;
    68636881                    pacPdmMv      [ uiCurrRefListId ] = cMv;
     
    69176935                            cMv.setIDVVId    (iViewIndex);
    69186936                          }
    6919 
     6937                         
     6938#if !(NTT_BUG_FIX_TK54)
    69206939                          clipMv( cMv );
     6940#endif
    69216941                          bLoop_stop = true;
    69226942
     
    70187038#endif
    70197039#endif
     7040#if !(NTT_BUG_FIX_TK54)
    70207041                  clipMv( cMv );
     7042#endif
    70217043                  paiPdmRefIdx  [ (uiCurrRefListId + (iLoopCan<<2)) ] = iPdmRefIdx;
    70227044                  pacPdmMv      [ (uiCurrRefListId + (iLoopCan<<2)) ] = cMv;
     
    70717093#endif
    70727094            cMv.setVer( 0 );
     7095#if !(NTT_BUG_FIX_TK54)
    70737096            clipMv( cMv );
     7097#endif
    70747098            pacPdmMv      [iRefListId + 2 + (iLoopCan<<2)] = cMv;
    70757099          }
Note: See TracChangeset for help on using the changeset viewer.