Changeset 807 in 3DVCSoftware


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

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

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  
    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  }
  • branches/HTM-9.3-dev3-Hisilicon/source/Lib/TLibCommon/TypeDef.h

    r799 r807  
    231231#define H_3D_DIM_SDC                      1   // Simplified Depth Coding method
    232232#define H_3D_DIM_DLT                      1   // Depth Lookup Table
    233 
     233#define SCU_HS_DEPTH_DC_PRED_G0143        1
    234234#if H_3D_DIM_DLT
    235235#define H_3D_DELTA_DLT                    1
Note: See TracChangeset for help on using the changeset viewer.