Ignore:
Timestamp:
26 May 2015, 07:13:47 (9 years ago)
Author:
etri-htm
Message:

Reactive_MLC (the MACRO is "NH_3D_MLC")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev3-ETRI/source/Lib/TLibDecoder/TDecCu.cpp

    r1217 r1233  
    385385    UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS_MEM];
    386386#else
     387#if NH_3D_MLC
     388    TComMvField cMvFieldNeighbours[MRG_MAX_NUM_CANDS_MEM << 1]; // double length for mv of both lists
     389    UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS_MEM];
     390#else
    387391    TComMvField cMvFieldNeighbours[MRG_MAX_NUM_CANDS << 1]; // double length for mv of both lists
    388392    UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS];
     393#endif
    389394#endif
    390395    Int numValidMergeCand = 0;
     
    402407#endif
    403408
     409
    404410#if H_3D_VSP
    405411    Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
    406412    memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
     413#endif
    407414#if H_3D_SPIVMP
    408415    Bool bSPIVMPFlag[MRG_MAX_NUM_CANDS_MEM];
     
    413420    puhInterDirSP = new UChar[pcCU->getPic()->getPicSym()->getNumPartition()];
    414421#endif
     422
     423#if NH_3D_MLC
    415424    m_ppcCU[uiDepth]->initAvailableFlags();
     425#endif
    416426    m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
     427#if NH_3D_MLC
    417428    m_ppcCU[uiDepth]->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours
    418429#if H_3D_SPIVMP
     
    421432      , numValidMergeCand, uiMergeIndex );
    422433
    423     m_ppcCU[uiDepth]->buildMCL( cMvFieldNeighbours, uhInterDirNeighbours, vspFlag
     434    m_ppcCU[uiDepth]->buildMCL( cMvFieldNeighbours, uhInterDirNeighbours
     435#if H_3D_VSP
     436      , vspFlag
     437#endif
    424438#if H_3D_SPIVMP
    425439      , bSPIVMPFlag
    426440#endif
    427441      , numValidMergeCand );
     442#endif
     443#if H_3D_VSP
    428444    pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiAbsPartIdx, 0, uiDepth );
    429 #else
    430 #if H_3D
    431     m_ppcCU[uiDepth]->initAvailableFlags();
    432     m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
    433     m_ppcCU[uiDepth]->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
    434 #else
    435     m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
    436 #endif
    437 #endif
     445#endif
     446
    438447    pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiAbsPartIdx, 0, uiDepth );
    439448
Note: See TracChangeset for help on using the changeset viewer.