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/TLibEncoder/TEncSearch.cpp

    r1019 r1038  
    40094009#if H_3D_VSP
    40104010                                 , Int* vspFlag
     4011#if !FIX_TICKET_79
    40114012                                 , InheritedVSPDisInfo*  inheritedVSPDisInfo
     4013#endif
    40124014#endif
    40134015#if H_3D_SPIVMP
     
    40694071      pcCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand);
    40704072      pcCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours
    4071 #if H_3D_VSP
     4073#if H_3D_VSP && !FIX_TICKET_79
    40724074                                        , inheritedVSPDisInfo
    40734075#endif
     
    40994101    pcCU->getInterMergeCandidates( uiAbsPartIdx, iPUIdx, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand);
    41004102    pcCU->xGetInterMergeCandidates( uiAbsPartIdx, iPUIdx, cMvFieldNeighbours, uhInterDirNeighbours
    4101 #if H_3D_VSP
     4103#if H_3D_VSP && !FIX_TICKET_79
    41024104                                      , inheritedVSPDisInfo
    41034105#endif
     
    41224124#endif
    41234125  }
    4124 #if H_3D_VSP
     4126#if H_3D_VSP && !FIX_TICKET_75
    41254127  xRestrictBipredMergeCand( pcCU, iPUIdx, cMvFieldNeighbours, uhInterDirNeighbours,vspFlag, numValidMergeCand );
    41264128#else
     
    41544156#if H_3D_VSP
    41554157    pcCU->setVSPFlagSubParts( vspFlag[uiMergeCand], uiAbsPartIdx, iPUIdx, pcCU->getDepth( uiAbsPartIdx ) );
     4158#if !FIX_TICKET_79
    41564159    pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMergeCand].m_acDvInfo, uiAbsPartIdx, iPUIdx, pcCU->getDepth( uiAbsPartIdx ) );
     4160#endif
    41574161#endif
    41584162
     
    42544258 * \returns Void
    42554259 */
    4256 #if H_3D_VSP
     4260#if H_3D_VSP && !FIX_TICKET_75
    42574261Void TEncSearch::xRestrictBipredMergeCand( TComDataCU* pcCU, UInt puIdx, TComMvField* mvFieldNeighbours, UChar* interDirNeighbours, Int* vspFlag, Int numValidMergeCand )
    42584262#else
     
    42644268    for( UInt mergeCand = 0; mergeCand < numValidMergeCand; ++mergeCand )
    42654269    {
    4266 #if H_3D_VSP
     4270#if H_3D_VSP && !FIX_TICKET_75
    42674271      if ( (interDirNeighbours[mergeCand] == 3) && (vspFlag[mergeCand] == false) )
    42684272#else
     
    48904894      Int vspFlag[MRG_MAX_NUM_CANDS_MEM];
    48914895      memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM);
     4896#if !FIX_TICKET_79
    48924897      InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM];
     4898#endif
    48934899      UInt uiAbsPartIdx = 0;
    48944900      Int iWidth = 0;
     
    49084914#if H_3D_VSP
    49094915                      , vspFlag
     4916#if !FIX_TICKET_79
    49104917                      , inheritedVSPDisInfo
     4918#endif
    49114919#endif
    49124920#if H_3D_SPIVMP
     
    49224930#if H_3D_VSP
    49234931        pcCU->setVSPFlagSubParts( vspFlag[uiMRGIndex], uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
     4932#if !FIX_TICKET_79
    49244933        pcCU->setDvInfoSubParts(inheritedVSPDisInfo[uiMRGIndex].m_acDvInfo, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) );
     4934#endif
    49254935#endif
    49264936#if H_3D_DDD
Note: See TracChangeset for help on using the changeset viewer.