Ignore:
Timestamp:
16 May 2013, 09:23:44 (12 years ago)
Author:
lg
Message:

D0135->D0092->D0091

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev1-LG/source/Lib/TLibDecoder/TDecEntropy.cpp

    r384 r408  
    301301      UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx);
    302302#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
    303310      Int iVSPIndexTrue[3] = {-1, -1, -1};
     311#endif
    304312      pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, uiDepth, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, iVSPIndexTrue, uiMergeIndex );
    305313
     
    326334      {
    327335        Int iVSPIdx = 0;
     336#if LGE_VSP_INHERIT_D0092
     337        if (iVSPIndexTrue[uiMergeIndex] == 1)
     338        {
     339            iVSPIdx = 1;
     340        }
     341#else
    328342        Int numVspIdx;
    329343        numVspIdx = 3;
     
    336350            }
    337351        }
     352#endif
    338353        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) 
    341356       {
    342357         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.