Changeset 1247 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
14 Jul 2015, 00:28:39 (10 years ago)
Author:
seregin
Message:

port rev 4241

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1246 r1247  
    8585 * \param uiPartIdx
    8686 * \param uiAbsPartIdx
    87  * \param puhInterDirNeighbours pointer to list of inter direction from the casual neighbours
    88  * \param pcMvFieldNeighbours pointer to list of motion vector field from the casual neighbours
    8987 * \param uiDepth
    9088 * \returns Void
     
    196194  }
    197195  Int numValidMergeCand = 0;
    198   Bool isMerged = false;
     196  Bool hasMergedCandList = false;
    199197
    200198  pcSubCU->copyInterPredInfoFrom( pcCU, uiAbsPartIdx, REF_PIC_LIST_0 );
     
    217215      if ( pcCU->getSlice()->getPPS()->getLog2ParallelMergeLevelMinus2() && ePartSize != SIZE_2Nx2N && pcSubCU->getWidth( 0 ) <= 8 )
    218216      {
    219         pcSubCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth );
    220         if ( !isMerged )
     217        if ( !hasMergedCandList )
    221218        {
     219          pcSubCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); // temporarily set.
    222220          pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand );
    223           isMerged = true;
     221          pcSubCU->setPartSizeSubParts( ePartSize, 0, uiDepth ); // restore.
     222          hasMergedCandList = true;
    224223        }
    225         pcSubCU->setPartSizeSubParts( ePartSize, 0, uiDepth );
    226224      }
    227225      else
Note: See TracChangeset for help on using the changeset viewer.