Changeset 1150 in 3DVCSoftware


Ignore:
Timestamp:
27 Feb 2015, 01:48:58 (10 years ago)
Author:
qualcomm
Message:

JCT3V-K0053 integration: bug fix for tmvp scaling.

Location:
branches/HTM-13.1-dev1-Qualcomm
Files:
3 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.1-dev1-Qualcomm/source/Lib/TLibCommon/TComDataCU.cpp

    r1147 r1150  
    57545754  }
    57555755
    5756   if ( bIsCurrRefLongTerm || bIsColRefLongTerm )
     5756  if ( bIsCurrRefLongTerm || bIsColRefLongTerm ) // CY: this condition equals to both bIsCurrRefLongTerm and bIsColRefLongTerm being 1
    57575757  {
    57585758#if H_3D_TMVP
     
    57615761    Int iColViewId     = pColCU->getSlice()->getViewIndex();
    57625762    Int iColRefViewId  = pColCU->getSlice()->getRefPic( eColRefPicList, pColCU->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewIndex();
     5763#if H_3D_TMVP_SCALING_FIX_K0053
     5764    iScale = 4096;
     5765    if ( iCurrRefViewId != iCurrViewId && iColViewId != iColRefViewId )
     5766#endif
    57635767    iScale = xGetDistScaleFactor( iCurrViewId, iCurrRefViewId, iColViewId, iColRefViewId );
    57645768
     
    57755779#endif
    57765780  }
    5777   else
     5781  else // CY: both bIsCurrRefLongTerm and bIsColRefLongTerm are 0
    57785782  {
    57795783    iScale = xGetDistScaleFactor(iCurrPOC, iCurrRefPOC, iColPOC, iColRefPOC);
  • branches/HTM-13.1-dev1-Qualcomm/source/Lib/TLibCommon/TypeDef.h

    r1147 r1150  
    194194#define H_3D_TMVP                         1   // QC_TMVP_C0047
    195195                                              // Sony_M23639
     196#if H_3D_TMVP
     197#define H_3D_TMVP_SCALING_FIX_K0053       1   // QC/CY for K0053
     198#endif
    196199
    197200#define H_3D_DIM                          1   // DIM, Depth intra modes, includes:
Note: See TracChangeset for help on using the changeset viewer.