Ignore:
Timestamp:
20 Jan 2014, 04:34:18 (10 years ago)
Author:
qualcomm
Message:

integration of JCT3V-G0122 (generalize SDC to all depth intra modes) by Qualcomm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev3-Qualcomm/source/Lib/TLibDecoder/TDecCu.cpp

    r773 r781  
    932932  pcCU->getPattern()->initPattern   ( pcCU, 0, uiAbsPartIdx );
    933933  pcCU->getPattern()->initAdiPattern( pcCU, uiAbsPartIdx, 0, m_pcPrediction->getPredicBuf(), m_pcPrediction->getPredicBufWidth(), m_pcPrediction->getPredicBufHeight(), bAboveAvail, bLeftAvail );
    934  
     934#if QC_GENERIC_SDC_G0122
     935  TComWedgelet* dmm4Segmentation = new TComWedgelet( uiWidth, uiHeight );
     936#endif
    935937  //===== get prediction signal =====
    936938#if H_3D_DIM
    937939  if( isDimMode( uiLumaPredMode ) )
    938940  {
    939     m_pcPrediction->predIntraLumaDepth( pcCU, uiAbsPartIdx, uiLumaPredMode, piPred, uiStride, uiWidth, uiHeight );
     941    m_pcPrediction->predIntraLumaDepth( pcCU, uiAbsPartIdx, uiLumaPredMode, piPred, uiStride, uiWidth, uiHeight
     942#if QC_GENERIC_SDC_G0122
     943      , false, dmm4Segmentation
     944#endif
     945      );
    940946  }
    941947  else
     
    963969    uiMaskStride = pcWedgelet->getStride();
    964970  }
    965  
     971#if QC_GENERIC_SDC_G0122
     972  if( getDimType( uiLumaPredMode ) == DMM4_IDX )
     973  {
     974    uiNumSegments = 2;
     975    pbMask  = dmm4Segmentation->getPattern();
     976    uiMaskStride = dmm4Segmentation->getStride();
     977  }
     978#endif
    966979  // get DC prediction for each segment
    967980  Pel apDCPredValues[2];
     
    10251038    pRecCr += uiStrideC;
    10261039  }
     1040#if QC_GENERIC_SDC_G0122
     1041  dmm4Segmentation->destroy(); delete dmm4Segmentation;
     1042#endif
    10271043}
    10281044#endif
Note: See TracChangeset for help on using the changeset viewer.