Ignore:
Timestamp:
4 Nov 2013, 16:32:06 (11 years ago)
Author:
zhang
Message:

JCT3V-F0132; JCT3V-F0171

Location:
branches/HTM-8.2-dev3-Qualcomm/source/Lib/TLibCommon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev3-Qualcomm/source/Lib/TLibCommon/ContextTables.h

    r655 r667  
    109109#define NUM_DEPTH_INTRA_MODE_CTX      8       ///< number of context models for depth intra modes
    110110#define NUM_DDC_FLAG_CTX              2       ///< number of context models for deltaDC flag (DMM or RBC)
     111#if QC_DIM_DELTADC_UNIFY_F0132
     112#define NUM_DDC_DATA_CTX              1       ///< number of context models for deltaDC data (DMM or RBC)
     113#else
    111114#define NUM_DDC_DATA_CTX              2       ///< number of context models for deltaDC data (DMM or RBC)
     115#endif
    112116#if H_3D_DIM_DMM
    113117#define NUM_DMM1_DATA_CTX             1       ///< number of context models for DMM1 data
     
    405409INIT_DDC_DATA[3][NUM_DDC_DATA_CTX] =
    406410{
     411#if QC_DIM_DELTADC_UNIFY_F0132
     412  { 154 },
     413  { 154 },
     414  { 154 },
     415#else
    407416  { CNU, CNU },
    408417  { CNU, CNU },
    409418  { CNU, CNU },
     419#endif
    410420};
    411421#if H_3D_DIM_DMM
  • branches/HTM-8.2-dev3-Qualcomm/source/Lib/TLibCommon/TComPrediction.cpp

    r655 r667  
    475475  assert( biSegPattern );
    476476  Int* piMask = NULL;
     477#if QC_DIM_DELTADC_UNIFY_F0132 || HHI_DIM_PREDSAMP_FIX_F0171
     478  piMask = pcCU->getPattern()->getAdiOrgBuf( iWidth, iHeight, m_piYuvExt ); // no filtering
     479#else
    477480  if( isDmmMode ) piMask = pcCU->getPattern()->getAdiOrgBuf( iWidth, iHeight, m_piYuvExt ); // no filtering for DMM
    478481  else            piMask = pcCU->getPattern()->getPredictorPtr( 0, g_aucConvertToBit[ iWidth ] + 2, m_piYuvExt );
     482#endif
    479483  assert( piMask );
    480484  Int maskStride = 2*iWidth + 1; 
     
    491495    Pel deltaDC2 = pcCU->getDimDeltaDC( dimType, 1, uiAbsPartIdx );
    492496#if H_3D_DIM_DMM
     497#if QC_DIM_DELTADC_UNIFY_F0132
     498    if( isDmmMode || isRbcMode)
     499#else
    493500    if( isDmmMode )
     501#endif
    494502    {
    495503#if H_3D_DIM_DLT
     
    502510    }
    503511#endif
    504 #if H_3D_DIM_RBC
     512#if H_3D_DIM_RBC && !QC_DIM_DELTADC_UNIFY_F0132
    505513    if( isRbcMode )
    506514    {
  • branches/HTM-8.2-dev3-Qualcomm/source/Lib/TLibCommon/TypeDef.h

    r655 r667  
    218218                                              // HHI_DEPTH_INTRA_SEARCH_RAU_C0160
    219219                                              // LG_ZEROINTRADEPTHRESI_A0087
     220#define QC_DIM_DELTADC_UNIFY_F0132        1   // Unify delta DC coding in depth intra modes
     221#define HHI_DIM_PREDSAMP_FIX_F0171        1
    220222#endif
    221223///// ***** VIEW SYNTHESIS PREDICTION *********
Note: See TracChangeset for help on using the changeset viewer.