Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecEntropy.cpp


Ignore:
Timestamp:
10 Nov 2014, 12:22:20 (9 years ago)
Author:
tech
Message:

Merged branch 12.2-dev0@1123

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1084 r1124  
    5555Void TDecEntropy::decodeSingleDepthMode( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
    5656{
     57  if( !pcCU->getSlice()->getIntraSingleFlag() )
     58  {
     59    return;
     60  } 
     61#if ALIGN_J0060_J0107
     62#else
    5763  if ( !pcCU->getSlice()->getIsDepth() )
    5864  {
    5965    return;
    6066  }
     67#if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
     68  if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps()))
     69  {
     70     return;
     71  }
     72#else
    6173  if(!pcCU->getSlice()->getApplySingleDepthMode())
    6274  {
    6375     return;
    6476  }
     77#endif
     78#endif
     79
    6580  m_pcEntropyDecoderIf->parseSingleDepthMode( pcCU, uiAbsPartIdx, uiDepth );
    6681}
     
    152167 
    153168#if H_3D_DBBP
     169#if SEC_DBBP_VIEW_REF_CHECK_J0037
     170  #if HHI_TOOL_PARAMETERS_I2_J0107
     171if( pcCU->getSlice()->getDepthBasedBlkPartFlag() && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 && pcCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
     172#else
     173if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 && pcCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
     174#endif
     175#else
    154176  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 )
     177#endif
    155178  {
    156179    decodeDBBPFlag(pcCU, uiAbsPartIdx, uiDepth);
     
    337360      }
    338361      pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
    339 
     362#if !LGE_DDD_REMOVAL_J0042_J0030
    340363#if H_3D_DDD
    341364      if( uiMergeIndex == pcSubCU->getUseDDDCandIdx() )
     
    349372          pcCU->setUseDDD( false, uiSubPartIdx, uiPartIdx, uiDepth );
    350373      }
     374#endif
    351375#endif
    352376
     
    828852  pcCU->setSDCFlagSubParts( false, uiAbsPartIdx, uiDepth );
    829853
     854#if HHI_TOOL_PARAMETERS_I2_J0107
     855  if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getInterSdcFlag() ) ||
     856    ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getIntraSdcWedgeFlag() ) )
     857#else
    830858  if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) ||
    831859    ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getVpsDepthModesFlag( pcCU->getSlice()->getLayerIdInVps() ) ) )
     860#endif
    832861  {
    833862    return;
Note: See TracChangeset for help on using the changeset viewer.