Changeset 1001 in 3DVCSoftware for branches/HTM-11.2-dev3-Sharp/source/Lib/TLibCommon/TComPrediction.cpp
- Timestamp:
- 18 Jul 2014, 06:18:17 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev3-Sharp/source/Lib/TLibCommon/TComPrediction.cpp
r994 r1001 440 440 case( DMM1_IDX ): 441 441 { 442 #if SHARP_DMM1_I0110 443 dmmSegmentation = pcCU->isDMM1UpscaleMode((UInt)iWidth) ? 444 &(g_dmmWedgeLists[ g_aucConvertToBit[pcCU->getDMM1BasePatternWidth((UInt)iWidth)] ][ pcCU->getDmmWedgeTabIdx( dimType, uiAbsPartIdx ) ]) : 445 &(g_dmmWedgeLists[ g_aucConvertToBit[iWidth] ][ pcCU->getDmmWedgeTabIdx( dimType, uiAbsPartIdx ) ]); 446 #else 442 447 dmmSegmentation = &(g_dmmWedgeLists[ g_aucConvertToBit[iWidth] ][ pcCU->getDmmWedgeTabIdx( dimType, uiAbsPartIdx ) ]); 448 #endif 443 449 } break; 444 450 case( DMM4_IDX ): … … 458 464 } 459 465 assert( dmmSegmentation ); 466 #if SHARP_DMM1_I0110 467 if( dimType == DMM1_IDX && pcCU->isDMM1UpscaleMode((UInt)iWidth) ) 468 { 469 biSegPattern = dmmSegmentation->getScaledPattern((UInt)iWidth); 470 patternStride = iWidth; 471 } 472 else 473 { 474 biSegPattern = dmmSegmentation->getPattern(); 475 patternStride = dmmSegmentation->getStride (); 476 } 477 #else 460 478 biSegPattern = dmmSegmentation->getPattern(); 461 479 patternStride = dmmSegmentation->getStride (); 480 #endif 462 481 } 463 482 #endif
Note: See TracChangeset for help on using the changeset viewer.