Ignore:
Timestamp:
15 Jul 2014, 15:44:07 (10 years ago)
Author:
hisilicon-htm
Message:

Integration of JCT3V-I0120 Remove "depth_dc_flag" signalling in DMM cases

Location:
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComDataCU.cpp

    r983 r994  
    26772677  }
    26782678
     2679#if HS_DMM_SIGNALLING_I0120
     2680  if( isDimMode( getLumaIntraDir( uiAbsPartIdx ) ) )
     2681#else
    26792682  if( isDimMode( getLumaIntraDir( uiAbsPartIdx ) ) && !isDimDeltaDC( getLumaIntraDir( uiAbsPartIdx ) ) )
     2683#endif
    26802684  {
    26812685    return true;
     
    26902694  // check prediction mode
    26912695  UInt uiLumaPredMode = getLumaIntraDir( uiAbsPartIdx ); 
     2696#if HS_DMM_SIGNALLING_I0120
     2697  if( uiLumaPredMode == PLANAR_IDX || ( getDimType( uiLumaPredMode ) == DMM1_IDX  ) )
     2698#else
    26922699  if( uiLumaPredMode == PLANAR_IDX || ( getDimType( uiLumaPredMode ) == DMM1_IDX && !isDimDeltaDC( uiLumaPredMode ) ) )
     2700#endif
    26932701    return true;
    26942702 
  • branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComPrediction.cpp

    r976 r994  
    423423
    424424  UInt dimType    = getDimType  ( uiIntraMode );
    425   Bool dimDeltaDC = isDimDeltaDC( uiIntraMode );   
     425#if !HS_DMM_SIGNALLING_I0120
     426  Bool dimDeltaDC = isDimDeltaDC( uiIntraMode );
     427#endif
    426428  Bool isDmmMode  = (dimType <  DMM_NUM_TYPE);
    427429
     
    474476  Pel segDC1 = 0;
    475477  Pel segDC2 = 0;
     478#if HS_DMM_SIGNALLING_I0120
     479  if( !pcCU->getSDCFlag( uiAbsPartIdx ) )
     480#else
    476481  if( dimDeltaDC )
     482#endif
    477483  {
    478484    Pel deltaDC1 = pcCU->getDimDeltaDC( dimType, 0, uiAbsPartIdx );
  • branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComWedgelet.h

    r773 r994  
    5858#define DIM_NO_IDX     MAX_UINT
    5959
     60#if HS_DMM_SIGNALLING_I0120
     61__inline UInt getDimType  ( Int intraMode )
     62{
     63    Int dimType = intraMode-DIM_OFFSET;
     64    return (dimType >= 0 && dimType < DIM_NUM_TYPE) ? (UInt)dimType : DIM_NO_IDX;
     65}
     66#else
    6067__inline UInt getDimType  ( Int intraMode ) { Int dimType = (intraMode-DIM_OFFSET)/2; return (dimType >= 0 && dimType < DIM_NUM_TYPE) ? (UInt)dimType : DIM_NO_IDX; }
     68#endif
    6169__inline Bool isDimMode   ( Int intraMode ) { return (getDimType( intraMode ) < DIM_NUM_TYPE); }
     70#if !HS_DMM_SIGNALLING_I0120
    6271__inline Bool isDimDeltaDC( Int intraMode ) { return (isDimMode( intraMode ) && ((intraMode-DIM_OFFSET)%2) == 1); }
     72#endif
    6373#endif
    6474
  • branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TypeDef.h

    r993 r994  
    294294#define H_3D_DIM_SDC                      1   // Simplified Depth Coding method
    295295#define H_3D_DIM_DLT                      1   // Depth Lookup Table
     296#define HS_DMM_SIGNALLING_I0120  1   
    296297
    297298#if H_3D_DIM_DLT
Note: See TracChangeset for help on using the changeset viewer.