Changeset 1243 in 3DVCSoftware for branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 1 Jun 2015, 18:57:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComDataCU.cpp
r1227 r1243 657 657 memset( m_apSegmentDCOffset[0], 0, m_uiNumPartition * sizeof( *m_apSegmentDCOffset[0] ) ); 658 658 memset( m_apSegmentDCOffset[1], 0, m_uiNumPartition * sizeof( *m_apSegmentDCOffset[1] ) ); 659 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup660 m_apDmmPredictor[0] = 0;661 m_apDmmPredictor[1] = 0;662 #endif663 659 #endif 664 660 #if H_3D_DBBP … … 815 811 m_apSegmentDCOffset[0][ui] = 0; 816 812 m_apSegmentDCOffset[1][ui] = 0; 817 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup818 m_apDmmPredictor[0] = 0;819 m_apDmmPredictor[1] = 0;820 #endif821 813 #endif 822 814 #if H_3D_DBBP … … 921 913 memset( m_apSegmentDCOffset[0], 0, sizeof(Pel) * m_uiNumPartition ); 922 914 memset( m_apSegmentDCOffset[1], 0, sizeof(Pel) * m_uiNumPartition ); 923 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup924 m_apDmmPredictor[0] = 0;925 m_apDmmPredictor[1] = 0;926 #endif927 915 #endif 928 916 #if H_3D_DBBP … … 2391 2379 Bool TComDataCU::getSDCAvailable( UInt uiAbsPartIdx ) 2392 2380 { 2393 #if TEMP_SDC_CLEANUP // PM: consider this cleanup for DMM and SDC2394 2381 if( getSlice()->getIsDepth() && isIntra(uiAbsPartIdx) && getPartitionSize(uiAbsPartIdx) == SIZE_2Nx2N ) 2395 2382 { … … 2401 2388 } 2402 2389 return false; 2403 #else2404 // check general CU information2405 if( !getSlice()->getIsDepth() || !isIntra(uiAbsPartIdx) || getPartitionSize(uiAbsPartIdx) != SIZE_2Nx2N )2406 {2407 return false;2408 }2409 2410 if( isDmmMode( getLumaIntraDir( uiAbsPartIdx ) ) )2411 {2412 return true;2413 }2414 2415 if( getLumaIntraDir( uiAbsPartIdx ) < NUM_INTRA_MODE )2416 {2417 return true;2418 }2419 2420 return false;2421 // check prediction mode2422 UInt uiLumaPredMode = getLumaIntraDir( uiAbsPartIdx );2423 if( uiLumaPredMode == PLANAR_IDX || ( getDmmType( uiLumaPredMode ) == DMM1_IDX ) )2424 return true;2425 2426 // else2427 return false;2428 #endif2429 2390 } 2430 2391 #endif
Note: See TracChangeset for help on using the changeset viewer.