Changeset 807 in 3DVCSoftware
- Timestamp:
- 28 Jan 2014, 13:32:51 (11 years ago)
- Location:
- branches/HTM-9.3-dev3-Hisilicon
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev3-Hisilicon/source/Lib/TLibCommon/TComPrediction.cpp
r781 r807 2103 2103 if( bL == bT ) 2104 2104 { 2105 #if SCU_HS_DEPTH_DC_PRED_G0143 2106 const Int iTRR = ( patternStride * 2 - 1 ) - srcStride; 2107 const Int iLBB = ( patternStride * 2 - 1 ) * srcStride - 1; 2108 refDC1 = bL ? ( ptrSrc[iTR] + ptrSrc[iLB] )>>1 : (abs(ptrSrc[iTRR] - ptrSrc[-(Int)srcStride]) > abs(ptrSrc[iLBB] - ptrSrc[ -1]) ? ptrSrc[iTRR] : ptrSrc[iLBB]); 2109 #else 2105 2110 refDC1 = bL ? ( ptrSrc[iTR] + ptrSrc[iLB] )>>1 : 1<<( g_bitDepthY - 1 ); 2111 #endif 2106 2112 refDC2 = ( ptrSrc[ -1] + ptrSrc[-(Int)srcStride] )>>1; 2107 2113 } -
branches/HTM-9.3-dev3-Hisilicon/source/Lib/TLibCommon/TypeDef.h
r799 r807 231 231 #define H_3D_DIM_SDC 1 // Simplified Depth Coding method 232 232 #define H_3D_DIM_DLT 1 // Depth Lookup Table 233 233 #define SCU_HS_DEPTH_DC_PRED_G0143 1 234 234 #if H_3D_DIM_DLT 235 235 #define H_3D_DELTA_DLT 1
Note: See TracChangeset for help on using the changeset viewer.