Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncEntropy.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/TLibEncoder/TEncEntropy.cpp

    r1084 r1124  
    7878}
    7979
     80#if HHI_TOOL_PARAMETERS_I2_J0107
     81Void TEncEntropy::encodeSPS( TComSPS* pcSPS )
     82{
     83  m_pcEntropyCoderIf->codeSPS( pcSPS );
     84  return;
     85}
     86#else
    8087#if H_3D
    8188Void TEncEntropy::encodeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )
     
    9198}
    9299#endif
     100#endif
    93101
    94102Void TEncEntropy::encodeCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
     
    122130Void TEncEntropy::encodeSingleDepthMode( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
    123131{
     132#if ALIGN_J0060_J0107
     133  if(!pcCU->getSlice()->getIntraSingleFlag() )
     134  {
     135    return;
     136  }
     137#else
    124138  if ( !pcCU->getSlice()->getIsDepth() )
    125139  {
    126140    return;
    127141  }
     142#if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
     143  if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps()))
     144  {
     145     return;
     146  }
     147#else
    128148  if(!pcCU->getSlice()->getApplySingleDepthMode())
    129149  {
    130150     return;
    131151  }
    132  
     152#endif
     153#endif
    133154  if( bRD )
    134155  {
     
    268289 
    269290#if H_3D_DBBP
     291#if SEC_DBBP_VIEW_REF_CHECK_J0037
     292#if HHI_TOOL_PARAMETERS_I2_J0107
     293  if( pcCU->getSlice()->getDepthBasedBlkPartFlag() && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 && pcCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
     294#else
     295  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 && pcCU->getSlice()->getDefaultRefViewIdxAvailableFlag() )
     296#endif
     297#else
    270298  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 )
     299#endif
    271300  {
    272301    encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD);
     
    780809Void TEncEntropy::encodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
    781810{
     811#if HHI_TOOL_PARAMETERS_I2_J0107
     812  if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getInterSdcFlag() ) ||
     813    ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getIntraSdcWedgeFlag() ) )
     814#else
    782815  if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) ||
    783816    ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getVpsDepthModesFlag( pcCU->getSlice()->getLayerIdInVps() ) ) )
     817#endif
    784818  {
    785819    return;
Note: See TracChangeset for help on using the changeset viewer.