Changeset 994 in 3DVCSoftware for branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon
- Timestamp:
- 15 Jul 2014, 15:44:07 (10 years ago)
- 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 2677 2677 } 2678 2678 2679 #if HS_DMM_SIGNALLING_I0120 2680 if( isDimMode( getLumaIntraDir( uiAbsPartIdx ) ) ) 2681 #else 2679 2682 if( isDimMode( getLumaIntraDir( uiAbsPartIdx ) ) && !isDimDeltaDC( getLumaIntraDir( uiAbsPartIdx ) ) ) 2683 #endif 2680 2684 { 2681 2685 return true; … … 2690 2694 // check prediction mode 2691 2695 UInt uiLumaPredMode = getLumaIntraDir( uiAbsPartIdx ); 2696 #if HS_DMM_SIGNALLING_I0120 2697 if( uiLumaPredMode == PLANAR_IDX || ( getDimType( uiLumaPredMode ) == DMM1_IDX ) ) 2698 #else 2692 2699 if( uiLumaPredMode == PLANAR_IDX || ( getDimType( uiLumaPredMode ) == DMM1_IDX && !isDimDeltaDC( uiLumaPredMode ) ) ) 2700 #endif 2693 2701 return true; 2694 2702 -
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComPrediction.cpp
r976 r994 423 423 424 424 UInt dimType = getDimType ( uiIntraMode ); 425 Bool dimDeltaDC = isDimDeltaDC( uiIntraMode ); 425 #if !HS_DMM_SIGNALLING_I0120 426 Bool dimDeltaDC = isDimDeltaDC( uiIntraMode ); 427 #endif 426 428 Bool isDmmMode = (dimType < DMM_NUM_TYPE); 427 429 … … 474 476 Pel segDC1 = 0; 475 477 Pel segDC2 = 0; 478 #if HS_DMM_SIGNALLING_I0120 479 if( !pcCU->getSDCFlag( uiAbsPartIdx ) ) 480 #else 476 481 if( dimDeltaDC ) 482 #endif 477 483 { 478 484 Pel deltaDC1 = pcCU->getDimDeltaDC( dimType, 0, uiAbsPartIdx ); -
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComWedgelet.h
r773 r994 58 58 #define DIM_NO_IDX MAX_UINT 59 59 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 60 67 __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 61 69 __inline Bool isDimMode ( Int intraMode ) { return (getDimType( intraMode ) < DIM_NUM_TYPE); } 70 #if !HS_DMM_SIGNALLING_I0120 62 71 __inline Bool isDimDeltaDC( Int intraMode ) { return (isDimMode( intraMode ) && ((intraMode-DIM_OFFSET)%2) == 1); } 72 #endif 63 73 #endif 64 74 -
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TypeDef.h
r993 r994 294 294 #define H_3D_DIM_SDC 1 // Simplified Depth Coding method 295 295 #define H_3D_DIM_DLT 1 // Depth Lookup Table 296 #define HS_DMM_SIGNALLING_I0120 1 296 297 297 298 #if H_3D_DIM_DLT
Note: See TracChangeset for help on using the changeset viewer.