Changeset 879 in 3DVCSoftware for branches/HTM-10.1-dev0/source/Lib/TLibCommon/TComPrediction.cpp
- Timestamp:
- 27 Mar 2014, 22:31:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.1-dev0/source/Lib/TLibCommon/TComPrediction.cpp
r878 r879 2472 2472 if( bL == bT ) 2473 2473 { 2474 #if SCU_HS_DEPTH_DC_PRED_G01432475 2474 const Int iTRR = ( patternStride * 2 - 1 ) - srcStride; 2476 2475 const Int iLBB = ( patternStride * 2 - 1 ) * srcStride - 1; 2477 2476 refDC1 = bL ? ( ptrSrc[iTR] + ptrSrc[iLB] )>>1 : (abs(ptrSrc[iTRR] - ptrSrc[-(Int)srcStride]) > abs(ptrSrc[iLBB] - ptrSrc[ -1]) ? ptrSrc[iTRR] : ptrSrc[iLBB]); 2478 #else2479 refDC1 = bL ? ( ptrSrc[iTR] + ptrSrc[iLB] )>>1 : 1<<( g_bitDepthY - 1 );2480 #endif2481 2477 refDC2 = ( ptrSrc[ -1] + ptrSrc[-(Int)srcStride] )>>1; 2482 2478 }
Note: See TracChangeset for help on using the changeset viewer.