Changeset 348 in 3DVCSoftware for branches/HTM-6.2-dev1-Samsung/source/Lib
- Timestamp:
- 30 Apr 2013, 03:53:05 (12 years ago)
- Location:
- branches/HTM-6.2-dev1-Samsung/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.cpp
r332 r348 5322 5322 */ 5323 5323 #if H3D_IVMP 5324 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 5324 5325 Void TComDataCU::fillMvpCand ( UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, AMVPInfo* pInfo, Int iMVPIdx) 5325 5326 { 5327 fillMvpCandBase(uiPartIdx, uiPartAddr, eRefPicList, iRefIdx, pInfo); 5328 } 5329 #else 5330 Void TComDataCU::fillMvpCand ( UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, AMVPInfo* pInfo, Int iMVPIdx) 5331 { 5332 5326 5333 if (!m_pcSlice->getSPS()->getViewId() || !m_pcSlice->getSPS()->getMultiviewMvPredMode()) 5327 5334 { … … 5402 5409 } 5403 5410 } 5411 #endif 5404 5412 5405 5413 -
branches/HTM-6.2-dev1-Samsung/source/Lib/TLibCommon/TypeDef.h
r332 r348 84 84 // QC_C0051_FIXED_BY_MTK 1 // Bug fix for C0051 implementation 85 85 // QC_AMVP_MRG_UNIFY_IVCAN_C0051 1 86 #define SEC_TWO_CANDIDATES_FOR_AMVP_D0122 1 // SEC_TWO_CANDIDATES_FOR_AMVP_D0122, fixing # of AMVP candidates 3 to 2 86 87 87 88 -
branches/HTM-6.2-dev1-Samsung/source/Lib/TLibDecoder/TDecEntropy.cpp
r332 r348 479 479 { 480 480 #if H3D_IVMP 481 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 482 const Int iNumAMVPCands = AMVP_MAX_NUM_CANDS; 483 #else 481 484 const Int iNumAMVPCands = AMVP_MAX_NUM_CANDS + ( pcSubCU->getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); 485 #endif 482 486 m_pcEntropyDecoderIf->parseMVPIdx( iMVPIdx, iNumAMVPCands ); 483 487 #else -
branches/HTM-6.2-dev1-Samsung/source/Lib/TLibEncoder/TEncEntropy.cpp
r332 r348 1351 1351 { 1352 1352 #if H3D_IVMP 1353 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 1354 const Int iNumCands = AMVP_MAX_NUM_CANDS; 1355 #else 1353 1356 const Int iNumCands = AMVP_MAX_NUM_CANDS + ( pcCU->getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); 1357 #endif 1354 1358 m_pcEntropyCoderIf->codeMVPIdx( pcCU, uiAbsPartIdx, eRefList, iNumCands ); 1355 1359 #else -
branches/HTM-6.2-dev1-Samsung/source/Lib/TLibEncoder/TEncSearch.cpp
r332 r348 206 206 207 207 #if H3D_IVMP 208 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 209 const Int iNumAMVPCands = AMVP_MAX_NUM_CANDS; 210 #else 208 211 const Int iNumAMVPCands = AMVP_MAX_NUM_CANDS + 1; 212 #endif 209 213 for( Int iNum = 0; iNum < iNumAMVPCands+1; iNum++) 210 214 for( Int iIdx = 0; iIdx < iNumAMVPCands; iIdx++) … … 3109 3113 3110 3114 #if H3D_IVMP 3115 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 3116 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS; 3117 #else 3111 3118 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS + ( pcCU->getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); 3119 #endif 3112 3120 #endif 3113 3121 … … 3799 3807 { 3800 3808 #if H3D_IVMP 3809 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 3810 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS; 3811 #else 3801 3812 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS + ( pcCU->getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); 3813 #endif 3802 3814 #if ZERO_MVD_EST 3803 3815 (*puiDistBiP) = xGetTemplateCost( pcCU, uiPartIdx, uiPartAddr, pcOrgYuv, &m_cYuvPredTemp, rcMvPred, 0, iNumAMVPCands, eRefPicList, iRefIdx, iRoiWidth, iRoiHeight, uiDist ); … … 3834 3846 UInt uiTmpCost; 3835 3847 #if H3D_IVMP 3848 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 3849 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS; 3850 #else 3836 3851 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS + ( pcCU->getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); 3852 #endif 3837 3853 #if ZERO_MVD_EST 3838 3854 uiTmpCost = xGetTemplateCost( pcCU, uiPartIdx, uiPartAddr, pcOrgYuv, &m_cYuvPredTemp, pcAMVPInfo->m_acMvCand[i], i, iNumAMVPCands, eRefPicList, iRefIdx, iRoiWidth, iRoiHeight, uiDist ); … … 3967 3983 3968 3984 #if H3D_IVMP 3985 #if SEC_TWO_CANDIDATES_FOR_AMVP_D0122 3986 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS; 3987 #else 3969 3988 Int iNumAMVPCands = AMVP_MAX_NUM_CANDS + ( pcCU->getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); 3989 #endif 3970 3990 #endif 3971 3991
Note: See TracChangeset for help on using the changeset viewer.