Changeset 408 in 3DVCSoftware for branches/HTM-6.2-dev1-LG/source/Lib/TLibDecoder/TDecEntropy.cpp
- Timestamp:
- 16 May 2013, 09:23:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev1-LG/source/Lib/TLibDecoder/TDecEntropy.cpp
r384 r408 301 301 UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx); 302 302 #if MERL_VSP_C0152 303 #if LGE_VSP_INHERIT_D0092 304 Int iVSPIndexTrue[MRG_MAX_NUM_CANDS_MEM]; 305 for (Int i=0; i<MRG_MAX_NUM_CANDS_MEM; i++) 306 { 307 iVSPIndexTrue[i] = 0; 308 } 309 #else 303 310 Int iVSPIndexTrue[3] = {-1, -1, -1}; 311 #endif 304 312 pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, uiDepth, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, iVSPIndexTrue, uiMergeIndex ); 305 313 … … 326 334 { 327 335 Int iVSPIdx = 0; 336 #if LGE_VSP_INHERIT_D0092 337 if (iVSPIndexTrue[uiMergeIndex] == 1) 338 { 339 iVSPIdx = 1; 340 } 341 #else 328 342 Int numVspIdx; 329 343 numVspIdx = 3; … … 336 350 } 337 351 } 352 #endif 338 353 pcCU->setVSPIndexSubParts( iVSPIdx, uiSubPartIdx, uiPartIdx, uiDepth ); //Initialize the VSP, may change later in get InterMergeCandidates() 339 #if QC_BVSP_CleanUP_D0191 340 if(iVSPIdx != 0) 354 #if QC_BVSP_CleanUP_D0191 && !LGE_VSP_INHERIT_D0092 355 if(iVSPIdx != 0) 341 356 { 342 357 Int iIVCIdx = pcCU->getSlice()->getRefPic(REF_PIC_LIST_0, 0)->getPOC()==pcCU->getSlice()->getPOC() ? 0: pcCU->getSlice()->getNewRefIdx(REF_PIC_LIST_0);
Note: See TracChangeset for help on using the changeset viewer.