Changeset 566 in 3DVCSoftware for branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibDecoder
- Timestamp:
- 12 Aug 2013, 11:11:06 (12 years ago)
- Location:
- branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibDecoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibDecoder/TDecCu.cpp
r531 r566 366 366 Int vspFlag[MRG_MAX_NUM_CANDS_MEM]; 367 367 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 368 368 #if MTK_VSP_FIX_E0172 369 Int vspDir[MRG_MAX_NUM_CANDS_MEM]; 370 memset(vspDir, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 371 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag,vspDir, numValidMergeCand, uiMergeIndex ); 372 pcCU->setVSPDirSubParts( vspDir[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 373 #else 369 374 m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, numValidMergeCand, uiMergeIndex ); 375 #endif 370 376 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiAbsPartIdx, 0, uiDepth ); 371 377 #else -
branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibDecoder/TDecEntropy.cpp
r531 r566 243 243 Int vspFlag[MRG_MAX_NUM_CANDS_MEM]; 244 244 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 245 #if MTK_VSP_FIX_E0172 246 Int vspDir[MRG_MAX_NUM_CANDS_MEM]; 247 memset(vspDir, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 248 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, vspDir, numValidMergeCand ); 249 pcCU->setVSPDirSubParts( vspDir[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 250 #else 245 251 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, numValidMergeCand ); 252 #endif 246 253 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 247 254 #else … … 258 265 Int vspFlag[MRG_MAX_NUM_CANDS_MEM]; 259 266 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 267 #if MTK_VSP_FIX_E0172 268 Int vspDir[MRG_MAX_NUM_CANDS_MEM]; 269 memset(vspDir, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 270 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, vspDir,numValidMergeCand, uiMergeIndex ); 271 pcCU->setVSPDirSubParts( vspDir[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 272 #else 260 273 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, vspFlag, numValidMergeCand, uiMergeIndex ); 274 #endif 261 275 pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth ); 262 276 #else … … 291 305 } 292 306 } 307 #if MTK_VSP_FIX_E0172 308 if ( (pcCU->getInterDir(uiSubPartIdx) == 3) && pcSubCU->isBipredRestriction(uiPartIdx) && (pcCU->getVSPFlag(uiSubPartIdx) == false)) 309 #else 293 310 if ( (pcCU->getInterDir(uiSubPartIdx) == 3) && pcSubCU->isBipredRestriction(uiPartIdx) ) 311 #endif 294 312 { 295 313 pcCU->getCUMvField( REF_PIC_LIST_1 )->setAllMv( TComMv(0,0), ePartSize, uiSubPartIdx, uiDepth, uiPartIdx); -
branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibDecoder/TDecGop.cpp
r542 r566 159 159 } 160 160 #endif 161 #if MTK_NBDV_TN_FIX_E0172 162 if(pcSlice->getViewIndex() && !pcSlice->getIsDepth() && !pcSlice->isIntra()) //Notes from QC: this condition shall be changed once the configuration is completed, e.g. in pcSlice->getSPS()->getMultiviewMvPredMode() || ARP in prev. HTM. Remove this comment once it is done. 163 { 164 rpcPic->checkTemporalIVRef(); 165 } 166 #endif 161 167 #if H_3D 162 168 pcSlice->setDepthToDisparityLUTs();
Note: See TracChangeset for help on using the changeset viewer.