Ignore:
Timestamp:
1 Jun 2015, 18:57:12 (9 years ago)
Author:
rwth
Message:
  • fixed problem when NH_3D_DMM=0
  • cleaned TEMP_SDC_CLEANUP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComDataCU.cpp

    r1227 r1243  
    657657    memset( m_apSegmentDCOffset[0],     0,                m_uiNumPartition * sizeof( *m_apSegmentDCOffset[0] ) );
    658658    memset( m_apSegmentDCOffset[1],     0,                m_uiNumPartition * sizeof( *m_apSegmentDCOffset[1] ) );
    659 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup
    660     m_apDmmPredictor[0] = 0;
    661     m_apDmmPredictor[1] = 0;
    662 #endif
    663659#endif
    664660#if H_3D_DBBP
     
    815811      m_apSegmentDCOffset[0][ui] = 0;
    816812      m_apSegmentDCOffset[1][ui] = 0;
    817 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup
    818       m_apDmmPredictor[0] = 0;
    819       m_apDmmPredictor[1] = 0;
    820 #endif
    821813#endif
    822814#if H_3D_DBBP
     
    921913  memset( m_apSegmentDCOffset[0], 0, sizeof(Pel) * m_uiNumPartition   );
    922914  memset( m_apSegmentDCOffset[1], 0, sizeof(Pel) * m_uiNumPartition   );
    923 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup
    924   m_apDmmPredictor[0] = 0;
    925   m_apDmmPredictor[1] = 0;
    926 #endif
    927915#endif
    928916#if H_3D_DBBP
     
    23912379Bool TComDataCU::getSDCAvailable( UInt uiAbsPartIdx )
    23922380{
    2393 #if TEMP_SDC_CLEANUP // PM: consider this cleanup for DMM and SDC
    23942381  if( getSlice()->getIsDepth() && isIntra(uiAbsPartIdx) && getPartitionSize(uiAbsPartIdx) == SIZE_2Nx2N )
    23952382  {
     
    24012388  }
    24022389  return false;
    2403 #else
    2404   // check general CU information
    2405   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 mode
    2422   UInt uiLumaPredMode = getLumaIntraDir( uiAbsPartIdx ); 
    2423   if( uiLumaPredMode == PLANAR_IDX || ( getDmmType( uiLumaPredMode ) == DMM1_IDX  ) )
    2424     return true;
    2425  
    2426   // else
    2427   return false;
    2428 #endif
    24292390}
    24302391#endif
Note: See TracChangeset for help on using the changeset viewer.