Changeset 995 in 3DVCSoftware for branches/HTM-11.2-dev2-Sharp
- Timestamp:
- 16 Jul 2014, 07:26:51 (10 years ago)
- 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 543 543 pcCU->getSPAbsPartIdx(uiPartAddr, iSPWidth, iSPHeight, i, iNumSPInOneLine, uiSPAddr[i]); 544 544 } 545 #if SHARP_ARP_CHROMA_I0104 546 if( pcCU->getARPW( uiPartAddr ) != 0 ) 547 { 548 return; 549 } 550 #endif 545 551 // horizontal sub-PU merge 546 552 for (Int i=0; i<iNumSP; i++) … … 1322 1328 TComMv cMVwithDisparity = cMv + cDistparity.m_acNBDV; 1323 1329 pcCU->clipMv(cMVwithDisparity); 1330 #if SHARP_ARP_CHROMA_I0104 1331 if (iWidth <= 8) 1332 { 1333 pYuvB0->clear(); pYuvB1->clear(); 1334 } 1335 #endif 1324 1336 1325 1337 assert ( cDistparity.bDV ); … … 1332 1344 #if QC_I0129_ARP_FIX 1333 1345 xPredInterLumaBlk ( pcCU, pcPicYuvRef, uiPartAddr, &cNBDV, iWidth, iHeight, pYuvB0, true, true ); 1346 #if SHARP_ARP_CHROMA_I0104 1347 if (iWidth > 8) 1348 #endif 1334 1349 xPredInterChromaBlk( pcCU, pcPicYuvRef, uiPartAddr, &cNBDV, iWidth, iHeight, pYuvB0, true, true ); 1335 1350 #else … … 1346 1361 #if QC_I0129_ARP_FIX 1347 1362 xPredInterLumaBlk ( pcCU, pcPicYuvRef, uiPartAddr, &cMVwithDisparity, iWidth, iHeight, pYuvB1, true, true ); 1363 #if SHARP_ARP_CHROMA_I0104 1364 if (iWidth > 8) 1365 #endif 1348 1366 xPredInterChromaBlk( pcCU, pcPicYuvRef, uiPartAddr, &cMVwithDisparity, iWidth, iHeight, pYuvB1, true, true ); 1349 1367 #else … … 1584 1602 pcCU->clipMv(cBaseTMV); 1585 1603 pcCU->clipMv(cTempMv); 1604 #if SHARP_ARP_CHROMA_I0104 1605 if (iWidth <= 8) 1606 { 1607 pYuvCurrTRef->clear(); pYuvBaseTRef->clear(); 1608 } 1609 #endif 1586 1610 #if QC_I0129_ARP_FIX 1587 1611 xPredInterLumaBlk ( pcCU, pcYuvCurrTref, uiPartAddr, &cBaseTMV, iWidth, iHeight, pYuvCurrTRef, true, true); 1612 #if SHARP_ARP_CHROMA_I0104 1613 if (iWidth > 8) 1614 #endif 1588 1615 xPredInterChromaBlk( pcCU, pcYuvCurrTref, uiPartAddr, &cBaseTMV, iWidth, iHeight, pYuvCurrTRef, true, true); 1589 1616 xPredInterLumaBlk ( pcCU, pcYuvBaseTref, uiPartAddr, &cTempMv, iWidth, iHeight, pYuvBaseTRef, true, true); 1617 #if SHARP_ARP_CHROMA_I0104 1618 if (iWidth > 8) 1619 #endif 1590 1620 xPredInterChromaBlk( pcCU, pcYuvBaseTref, uiPartAddr, &cTempMv, iWidth, iHeight, pYuvBaseTRef, true, true); 1591 1621 #else -
branches/HTM-11.2-dev2-Sharp/source/Lib/TLibCommon/TComYuv.cpp
r985 r995 761 761 { 762 762 subtractARPLuma ( pcYuvSrc0, pcYuvSrc1, uiAbsPartIdx, uiWidth , uiHeight ); 763 #if SHARP_ARP_CHROMA_I0104 764 if (uiWidth > 8) 765 #endif 763 766 subtractARPChroma( pcYuvSrc0, pcYuvSrc1, uiAbsPartIdx, uiWidth>>1 , uiHeight>>1 ); 764 767 } … … 820 823 { 821 824 multiplyARPLuma( uiAbsPartIdx , uiWidth , uiHeight , dW ); 825 #if SHARP_ARP_CHROMA_I0104 826 if (uiWidth > 8) 827 #endif 822 828 multiplyARPChroma( uiAbsPartIdx , uiWidth >> 1 , uiHeight >> 1 , dW ); 823 829 } -
branches/HTM-11.2-dev2-Sharp/source/Lib/TLibCommon/TypeDef.h
r986 r995 285 285 #define QC_I0129_ARP_FIX 1 286 286 #define QC_I0051_ARP_SIMP 1 287 #define SHARP_ARP_CHROMA_I0104 1 287 288 #endif 288 289
Note: See TracChangeset for help on using the changeset viewer.