Changeset 995 in 3DVCSoftware for branches/HTM-11.2-dev2-Sharp


Ignore:
Timestamp:
16 Jul 2014, 07:26:51 (10 years ago)
Author:
sharpjp-htm
Message:

Integration of JCT3V-I0104

Location:
branches/HTM-11.2-dev2-Sharp
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev2-Sharp/source/Lib/TLibCommon/TComPrediction.cpp

    r986 r995  
    543543    pcCU->getSPAbsPartIdx(uiPartAddr, iSPWidth, iSPHeight, i, iNumSPInOneLine, uiSPAddr[i]);
    544544  }
     545#if SHARP_ARP_CHROMA_I0104
     546  if( pcCU->getARPW( uiPartAddr ) != 0 )
     547  {
     548    return;
     549  }
     550#endif
    545551  // horizontal sub-PU merge
    546552  for (Int i=0; i<iNumSP; i++)
     
    13221328    TComMv cMVwithDisparity = cMv + cDistparity.m_acNBDV;
    13231329    pcCU->clipMv(cMVwithDisparity);
     1330#if SHARP_ARP_CHROMA_I0104
     1331    if (iWidth <= 8)
     1332    {
     1333      pYuvB0->clear(); pYuvB1->clear();
     1334    }
     1335#endif
    13241336
    13251337    assert ( cDistparity.bDV );
     
    13321344#if QC_I0129_ARP_FIX
    13331345    xPredInterLumaBlk  ( pcCU, pcPicYuvRef, uiPartAddr, &cNBDV, iWidth, iHeight, pYuvB0, true, true );
     1346#if SHARP_ARP_CHROMA_I0104
     1347    if (iWidth > 8)
     1348#endif
    13341349    xPredInterChromaBlk( pcCU, pcPicYuvRef, uiPartAddr, &cNBDV, iWidth, iHeight, pYuvB0, true, true );
    13351350#else
     
    13461361#if QC_I0129_ARP_FIX
    13471362    xPredInterLumaBlk  ( pcCU, pcPicYuvRef, uiPartAddr, &cMVwithDisparity, iWidth, iHeight, pYuvB1, true, true );
     1363#if SHARP_ARP_CHROMA_I0104
     1364    if (iWidth > 8)
     1365#endif
    13481366    xPredInterChromaBlk( pcCU, pcPicYuvRef, uiPartAddr, &cMVwithDisparity, iWidth, iHeight, pYuvB1, true, true );
    13491367#else
     
    15841602    pcCU->clipMv(cBaseTMV);
    15851603    pcCU->clipMv(cTempMv);
     1604#if SHARP_ARP_CHROMA_I0104
     1605    if (iWidth <= 8)
     1606    {
     1607      pYuvCurrTRef->clear(); pYuvBaseTRef->clear();
     1608    }
     1609#endif
    15861610#if QC_I0129_ARP_FIX
    15871611    xPredInterLumaBlk  ( pcCU, pcYuvCurrTref, uiPartAddr, &cBaseTMV, iWidth, iHeight, pYuvCurrTRef, true,   true);
     1612#if SHARP_ARP_CHROMA_I0104
     1613    if (iWidth > 8)
     1614#endif
    15881615    xPredInterChromaBlk( pcCU, pcYuvCurrTref, uiPartAddr, &cBaseTMV, iWidth, iHeight, pYuvCurrTRef, true,   true);
    15891616    xPredInterLumaBlk  ( pcCU, pcYuvBaseTref, uiPartAddr, &cTempMv,  iWidth, iHeight, pYuvBaseTRef, true,   true);
     1617#if SHARP_ARP_CHROMA_I0104
     1618    if (iWidth > 8)
     1619#endif
    15901620    xPredInterChromaBlk( pcCU, pcYuvBaseTref, uiPartAddr, &cTempMv,  iWidth, iHeight, pYuvBaseTRef, true,   true);
    15911621#else
  • branches/HTM-11.2-dev2-Sharp/source/Lib/TLibCommon/TComYuv.cpp

    r985 r995  
    761761{
    762762  subtractARPLuma  ( pcYuvSrc0, pcYuvSrc1,  uiAbsPartIdx, uiWidth    , uiHeight    );
     763#if SHARP_ARP_CHROMA_I0104
     764  if (uiWidth > 8)
     765#endif
    763766  subtractARPChroma( pcYuvSrc0, pcYuvSrc1,  uiAbsPartIdx, uiWidth>>1 , uiHeight>>1 );
    764767}
     
    820823{
    821824  multiplyARPLuma( uiAbsPartIdx , uiWidth , uiHeight , dW );
     825#if SHARP_ARP_CHROMA_I0104
     826  if (uiWidth > 8)
     827#endif
    822828  multiplyARPChroma( uiAbsPartIdx , uiWidth >> 1 , uiHeight >> 1 , dW );
    823829}
  • branches/HTM-11.2-dev2-Sharp/source/Lib/TLibCommon/TypeDef.h

    r986 r995  
    285285#define QC_I0129_ARP_FIX                  1
    286286#define QC_I0051_ARP_SIMP                 1
     287#define SHARP_ARP_CHROMA_I0104            1
    287288#endif
    288289
Note: See TracChangeset for help on using the changeset viewer.