Ignore:
Timestamp:
28 Jan 2014, 13:32:51 (10 years ago)
Author:
hisilicon-htm
Message:

Integration of JCT3V-G0143, On neighbouring reference pixel selection for depth intra coding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev3-Hisilicon/source/Lib/TLibCommon/TComPrediction.cpp

    r781 r807  
    21032103  if( bL == bT )
    21042104  {
     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
    21052110    refDC1 = bL ? ( ptrSrc[iTR] + ptrSrc[iLB] )>>1 : 1<<( g_bitDepthY - 1 );
     2111#endif
    21062112    refDC2 =      ( ptrSrc[ -1] + ptrSrc[-(Int)srcStride] )>>1;
    21072113  }
Note: See TracChangeset for help on using the changeset viewer.