Ignore:
Timestamp:
1 Aug 2014, 10:01:00 (10 years ago)
Author:
sharpjp-htm
Message:

Fix tickets #75 Bi-pred restriction bug in VSP
Fix tickets #79 Unused VSP code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1029 r1038  
    311311          Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
    312312          memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
     313#if !FIX_TICKET_79
    313314          InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM];
     315#endif
    314316#if H_3D_SPIVMP
    315317          memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM);
     
    318320          pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand);
    319321          pcSubCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours
     322#if !FIX_TICKET_79
    320323            , inheritedVSPDisInfo
     324#endif
    321325#if H_3D_SPIVMP
    322326            , pcMvFieldSP, puhInterDirSP
     
    330334          pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
    331335
     336#if !FIX_TICKET_79
    332337          if(vspFlag[uiMergeIndex])
    333338          {
    334339            pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMergeIndex].m_acDvInfo, uiSubPartIdx, uiPartIdx, uiDepth);
    335340          }
     341#endif
    336342#else
    337343#if H_3D
     
    354360        Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
    355361        memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
     362#if !FIX_TICKET_79
    356363        InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM];
     364#endif
    357365#if H_3D_SPIVMP
    358366        memset(bSPIVMPFlag, false, sizeof(Bool)*MRG_MAX_NUM_CANDS_MEM);
     
    361369        pcSubCU->getInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, uiMergeIndex );
    362370        pcSubCU->xGetInterMergeCandidates( uiSubPartIdx-uiAbsPartIdx, uiPartIdx, cMvFieldNeighbours, uhInterDirNeighbours
     371#if !FIX_TICKET_79
    363372          , inheritedVSPDisInfo
     373#endif
    364374#if H_3D_SPIVMP
    365375          , pcMvFieldSP, puhInterDirSP
     
    372382          ,numValidMergeCand );
    373383        pcCU->setVSPFlagSubParts( vspFlag[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
     384#if !FIX_TICKET_79
    374385        if(vspFlag[uiMergeIndex])
    375386        {
    376387          pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMergeIndex].m_acDvInfo, uiSubPartIdx, uiPartIdx, uiDepth);
    377388        }
     389#endif
    378390#else
    379391#if H_3D
     
    473485#endif
    474486    }
    475 #if H_3D_VSP
     487#if H_3D_VSP && !FIX_TICKET_75
    476488    if ( (pcCU->getInterDir(uiSubPartIdx) == 3) && pcSubCU->isBipredRestriction(uiPartIdx) && (pcCU->getVSPFlag(uiSubPartIdx) == 0))
    477489#else
Note: See TracChangeset for help on using the changeset viewer.