Changeset 348 in 3DVCSoftware for branches/HTM-6.2-dev1-Samsung/source/Lib/TLibEncoder
- Timestamp:
- 30 Apr 2013, 03:53:05 (12 years ago)
- Location:
- branches/HTM-6.2-dev1-Samsung/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.