Changeset 1213 in 3DVCSoftware
- Timestamp:
- 16 May 2015, 02:53:38 (10 years ago)
- Location:
- branches/HTM-14.1-update-dev2-Qualcomm/source/Lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibCommon/TComDataCU.cpp
r1200 r1213 3520 3520 if ( getSlice()->isInterB() ) 3521 3521 { 3522 #if H_3D_TMVP3522 #if NH_3D_TMVP //to be changed to NH_3D_TMVP in future migration 3523 3523 iRefIdx = 0; 3524 3524 #endif … … 4767 4767 if ( getSlice()->isInterB() ) 4768 4768 { 4769 #if NH_3D_TMVP 4770 iRefIdx =0; 4771 #endif 4769 4772 bExistMV = ctuRsAddr >= 0 && xGetColMVP( REF_PIC_LIST_1, ctuRsAddr, uiAbsPartAddr, cColMv, iRefIdx); 4770 4773 if( bExistMV == false ) … … 5083 5086 } 5084 5087 if ( ctuRsAddr >= 0 && xGetColMVP( eRefPicList, ctuRsAddr, uiAbsPartAddr, cColMv, iRefIdx_Col 5085 #if H_3D_TMVP5088 #if NH_3D_TMVP 5086 5089 , 0 5087 5090 #endif … … 5095 5098 xDeriveCenterIdx( uiPartIdx, uiPartIdxCenter ); 5096 5099 if (xGetColMVP( eRefPicList, getCtuRsAddr(), uiPartIdxCenter, cColMv, iRefIdx_Col 5097 #if H_3D_TMVP5100 #if NH_3D_TMVP 5098 5101 , 0 5099 5102 #endif … … 5447 5450 5448 5451 Bool TComDataCU::xGetColMVP( RefPicList eRefPicList, Int ctuRsAddr, Int uiPartUnitIdx, TComMv& rcMv, Int& riRefIdx 5449 #if H_3D_TMVP5452 #if NH_3D_TMVP 5450 5453 , Bool bMRG 5451 5454 #endif … … 5499 5502 if ( bIsCurrRefLongTerm != bIsColRefLongTerm ) 5500 5503 { 5501 #if H_3D_TMVP5504 #if NH_3D_TMVP 5502 5505 Int iAlterRefIdx = m_pcSlice->getAlterRefIdx(eRefPicList); 5503 5506 if(bMRG && iAlterRefIdx > 0) … … 5512 5515 #endif 5513 5516 return false; 5514 #if H_3D_TMVP5517 #if NH_3D_TMVP 5515 5518 } 5516 5519 #endif … … 5519 5522 if ( bIsCurrRefLongTerm || bIsColRefLongTerm ) 5520 5523 { 5521 #if H_3D_TMVP5524 #if NH_3D_TMVP 5522 5525 Int iCurrViewId = m_pcSlice->getViewId (); 5523 5526 Int iCurrRefViewId = m_pcSlice->getRefPic(eRefPicList, riRefIdx)->getViewId (); 5524 Int iColViewId = pColC U->getSlice()->getViewId();5525 Int iColRefViewId = pColC U->getSlice()->getRefPic( eColRefPicList, pColCU->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewId();5527 Int iColViewId = pColCtu->getSlice()->getViewId(); 5528 Int iColRefViewId = pColCtu->getSlice()->getRefPic( eColRefPicList, pColCtu->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewId(); 5526 5529 iScale = 4096; 5527 5530 if ( iCurrRefViewId != iCurrViewId && iColViewId != iColRefViewId ) … … 5537 5540 #endif 5538 5541 rcMv = cColMv; 5539 #if H_3D_TMVP5542 #if NH_3D_TMVP 5540 5543 } 5541 5544 #endif -
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibCommon/TComDataCU.h
r1200 r1213 244 244 Void deriveRightBottomIdx ( UInt uiPartIdx, UInt& ruiPartIdxRB ); 245 245 Bool xGetColMVP( RefPicList eRefPicList, Int ctuRsAddr, Int uiPartUnitIdx, TComMv& rcMv, Int& riRefIdx 246 #if H_3D_TMVP246 #if NH_3D_TMVP 247 247 , Bool bMRG = true 248 248 #endif -
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibCommon/TComSlice.cpp
r1200 r1213 224 224 m_aaiCodedScale [i].resize(MAX_NUM_LAYERS); 225 225 } 226 226 #if 0 //NH_3D_TMVP 227 m_aiAlterRefIdx[0] = -1; 228 m_aiAlterRefIdx[1] = -1; 229 #endif 227 230 #endif 228 231 … … 289 292 m_cabacInitFlag = false; 290 293 m_enableTMVPFlag = true; 291 #if H_3D_TMVP294 #if NH_3D_TMVP 292 295 m_aiAlterRefIdx[0] = -1; 293 296 m_aiAlterRefIdx[1] = -1; … … 824 827 } 825 828 } 826 #if H_3D827 #if H_3D_TMVP829 #if NH_3D 830 #if NH_3D_TMVP 828 831 Void TComSlice::generateAlterRefforTMVP() 829 832 { -
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibCommon/TComSlice.h
r1200 r1213 2591 2591 IntAry2d m_aaiCodedOffset; 2592 2592 #endif 2593 #if H_3D_TMVP2593 #if NH_3D_TMVP 2594 2594 Int m_aiAlterRefIdx [2]; 2595 2595 #endif … … 2920 2920 Int getViewIndex () const { return m_viewIndex; } 2921 2921 #if NH_3D 2922 #if H_3D_TMVP2922 #if NH_3D_TMVP 2923 2923 Void generateAlterRefforTMVP (); 2924 2924 Void setAlterRefIdx ( RefPicList e, Int i ) { m_aiAlterRefIdx[e] = i; } -
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibCommon/TypeDef.h
r1201 r1213 69 69 #if NH_3D 70 70 #define NH_3D_VSO 1 71 #define NH_3D_TMVP 1 // QC_TMVP_C0047 72 // Sony_M23639 73 // H_3D_TMVP_SCALING_FIX_K0053 1 // QC/CY for K0053 71 74 #endif 72 75 -
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibDecoder/TDecTop.cpp
r1200 r1213 1226 1226 //--------------- 1227 1227 pcSlice->setRefPOCList(); 1228 #if H_3D_TMVP1228 #if NH_3D_TMVP 1229 1229 if(pcSlice->getLayerId()) 1230 1230 { -
branches/HTM-14.1-update-dev2-Qualcomm/source/Lib/TLibEncoder/TEncGOP.cpp
r1200 r1213 1547 1547 1548 1548 pcSlice->setList1IdxToList0Idx(); 1549 #if H_3D_TMVP1549 #if NH_3D_TMVP 1550 1550 if(pcSlice->getLayerId()) 1551 1551 pcSlice->generateAlterRefforTMVP();
Note: See TracChangeset for help on using the changeset viewer.