Changeset 387 in 3DVCSoftware for branches


Ignore:
Timestamp:
9 May 2013, 08:35:35 (12 years ago)
Author:
mediatek-htm
Message:

Integration of JCT3V-D0110 enabled by macro "MTK_SAMPLE_BASED_SDC_D0110"
From: Jian-Liang Lin {jl.lin@…}

Location:
branches/HTM-6.2-dev3-Mediatek/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev3-Mediatek/source/Lib/TLibCommon/TypeDef.h

    r382 r387  
    7777
    7878#define PKU_QC_DEPTH_INTRA_UNI_D0195      1   // JCT3V-D0195: unified syntax table for depth intra coding tools
     79#define MTK_SAMPLE_BASED_SDC_D0110        1   // JCT3V-D0110: sample based SDC
    7980///// ***** TMVP/AMVP *********
    8081#define TMVP_DEPTH_SWITCH                 1   // JCT3V-B0092 additional encoder option only
  • branches/HTM-6.2-dev3-Mediatek/source/Lib/TLibDecoder/TDecCu.cpp

    r332 r387  
    10561056      UChar ucSegment = pMask?(UChar)pMask[uiX]:0;
    10571057      assert( ucSegment < uiNumSegments );
    1058      
     1058#if MTK_SAMPLE_BASED_SDC_D0110     
     1059      Pel pResiDC = apDCResiValues[ucSegment];
     1060
     1061      pReco    [ uiX ] = Clip( pPred[ uiX ] + pResiDC );
     1062#else
    10591063      Pel pPredVal= apDCPredValues[ucSegment];
    10601064      Pel pResiDC = apDCResiValues[ucSegment];
    10611065     
    10621066      pReco    [ uiX ] = Clip( pPredVal + pResiDC );
     1067#endif
    10631068      pRecIPred[ uiX ] = pReco[ uiX ];
    10641069    }
  • branches/HTM-6.2-dev3-Mediatek/source/Lib/TLibEncoder/TEncSearch.cpp

    r382 r387  
    17051705      UChar ucSegment = pMask?(UChar)pMask[uiX]:0;
    17061706      assert( ucSegment < uiNumSegments );
     1707#if MTK_SAMPLE_BASED_SDC_D0110     
     1708      Pel pResiDC = apDCResiValues[ucSegment];
    17071709     
     1710      pReco    [ uiX ] = Clip( pPred[ uiX ] + pResiDC );
     1711#else
    17081712      Pel pPredVal= apDCPredValues[ucSegment];
    17091713      Pel pResiDC = apDCResiValues[ucSegment];
    17101714     
    17111715      pReco    [ uiX ] = Clip( pPredVal + pResiDC );
     1716#endif
    17121717      pRecIPred[ uiX ] = pReco[ uiX ];
    17131718    }
Note: See TracChangeset for help on using the changeset viewer.