Changeset 1247 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 14 Jul 2015, 00:28:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.cpp
r1246 r1247 85 85 * \param uiPartIdx 86 86 * \param uiAbsPartIdx 87 * \param puhInterDirNeighbours pointer to list of inter direction from the casual neighbours88 * \param pcMvFieldNeighbours pointer to list of motion vector field from the casual neighbours89 87 * \param uiDepth 90 88 * \returns Void … … 196 194 } 197 195 Int numValidMergeCand = 0; 198 Bool isMerged= false;196 Bool hasMergedCandList = false; 199 197 200 198 pcSubCU->copyInterPredInfoFrom( pcCU, uiAbsPartIdx, REF_PIC_LIST_0 ); … … 217 215 if ( pcCU->getSlice()->getPPS()->getLog2ParallelMergeLevelMinus2() && ePartSize != SIZE_2Nx2N && pcSubCU->getWidth( 0 ) <= 8 ) 218 216 { 219 pcSubCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); 220 if ( !isMerged ) 217 if ( !hasMergedCandList ) 221 218 { 219 pcSubCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); // temporarily set. 222 220 pcSubCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand ); 223 isMerged = true; 221 pcSubCU->setPartSizeSubParts( ePartSize, 0, uiDepth ); // restore. 222 hasMergedCandList = true; 224 223 } 225 pcSubCU->setPartSizeSubParts( ePartSize, 0, uiDepth );226 224 } 227 225 else
Note: See TracChangeset for help on using the changeset viewer.