Ignore:
Timestamp:
7 Nov 2013, 08:47:42 (11 years ago)
Author:
lg
Message:

JCT3V-F0159; JCT3V-F0160
Bugfix is included. (JCT3V-F0158)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev3-LG/source/Lib/TLibEncoder/TEncSearch.cpp

    r667 r673  
    11261126      for( UInt uiX = 0; uiX < uiWidth; uiX++ )
    11271127      {
     1128#if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159
     1129          if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
     1130              pResi[ uiX ] = pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pOrg[ uiX ] ) - pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] );
     1131          else
     1132              pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ];
     1133#else
    11281134        pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ];
     1135#endif
    11291136      }
    11301137      pOrg  += uiStride;
     
    11901197      for( UInt uiX = 0; uiX < uiWidth; uiX++ )
    11911198      {
     1199#if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159
     1200          if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
     1201              pReco    [ uiX ] = pcCU->getSlice()->getVPS()->idx2DepthValue( pcCU->getSlice()->getLayerIdInVps(), Clip3( 0, pcCU->getSlice()->getVPS()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() ) - 1, pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ) + pResi[ uiX ] ) );
     1202          else
     1203              pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
     1204#else
    11921205        pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
     1206#endif
    11931207        pRecQt   [ uiX ] = pReco[ uiX ];
    11941208        pRecIPred[ uiX ] = pReco[ uiX ];
     
    29792993      Bool bTestZeroResi = false;
    29802994#if H_3D_DIM_ENC
     2995#if LGE_BUGFIX_F0158
     2996      bTestZeroResi |= pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP();
     2997#else
    29812998      bTestZeroResi |= pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->isIRAP();
     2999#endif
    29823000#endif
    29833001#if H_3D_DIM_SDC
Note: See TracChangeset for help on using the changeset viewer.