Changeset 698 in 3DVCSoftware for branches/HTM-8.2-dev3-Samsung/source


Ignore:
Timestamp:
15 Nov 2013, 03:59:16 (11 years ago)
Author:
samsung-htm
Message:

Bug-fix in rev.697

Location:
branches/HTM-8.2-dev3-Samsung/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev3-Samsung/source/Lib/TLibDecoder/TDecCu.cpp

    r697 r698  
    695695#if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159
    696696        if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
     697        {
    697698            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 ] ) );
     699        }
    698700        else
     701        {
    699702            pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
     703        }
    700704#else
    701705      pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
  • branches/HTM-8.2-dev3-Samsung/source/Lib/TLibEncoder/TEncSearch.cpp

    r697 r698  
    11281128#if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159
    11291129          if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
     1130          {
    11301131              pResi[ uiX ] = pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pOrg[ uiX ] ) - pcCU->getSlice()->getVPS()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] );
     1132          }
    11311133          else
     1134          {
    11321135              pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ];
     1136          }
    11331137#else
    11341138        pResi[ uiX ] = pOrg[ uiX ] - pPred[ uiX ];
     
    11991203#if LGE_PRED_RES_CODING_DLT_DOMAIN_F0159
    12001204          if( (isDimMode( uiLumaPredMode ) || uiLumaPredMode == HOR_IDX || uiLumaPredMode == VER_IDX || uiLumaPredMode == DC_IDX) && pcCU->getSlice()->getIsDepth() && pcCU->getSlice()->getVPS()->getUseDLTFlag(pcCU->getSlice()->getLayerIdInVps()) )
     1205          {
    12011206              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 ] ) );
     1207          }
    12021208          else
     1209          {
    12031210              pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
     1211          }
    12041212#else
    12051213        pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
Note: See TracChangeset for help on using the changeset viewer.