Ignore:
Timestamp:
18 Feb 2015, 17:39:40 (10 years ago)
Author:
tech
Message:

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp

    r1124 r1131  
    7878}
    7979
    80 #if HHI_TOOL_PARAMETERS_I2_J0107
    8180Void TEncEntropy::encodeSPS( TComSPS* pcSPS )
    8281{
     
    8483  return;
    8584}
    86 #else
    87 #if H_3D
    88 Void TEncEntropy::encodeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )
    89 {
    90   m_pcEntropyCoderIf->codeSPS( pcSPS, viewIndex, depthFlag );
    91   return;
    92 }
    93 #else
    94 Void TEncEntropy::encodeSPS( TComSPS* pcSPS )
    95 {
    96   m_pcEntropyCoderIf->codeSPS( pcSPS );
    97   return;
    98 }
    99 #endif
    100 #endif
    10185
    10286Void TEncEntropy::encodeCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
     
    130114Void TEncEntropy::encodeSingleDepthMode( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
    131115{
    132 #if ALIGN_J0060_J0107
    133116  if(!pcCU->getSlice()->getIntraSingleFlag() )
    134117  {
    135118    return;
    136119  }
    137 #else
    138   if ( !pcCU->getSlice()->getIsDepth() )
    139   {
    140     return;
    141   }
    142 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
    143   if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps()))
    144   {
    145      return;
    146   }
    147 #else
    148   if(!pcCU->getSlice()->getApplySingleDepthMode())
    149   {
    150      return;
    151   }
    152 #endif
    153 #endif
    154120  if( bRD )
    155121  {
     
    289255 
    290256#if H_3D_DBBP
    291 #if SEC_DBBP_VIEW_REF_CHECK_J0037
    292 #if HHI_TOOL_PARAMETERS_I2_J0107
    293257  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
    298   if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 )
    299 #endif
    300258  {
    301259    encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD);
     
    809767Void TEncEntropy::encodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD )
    810768{
    811 #if HHI_TOOL_PARAMETERS_I2_J0107
    812769  if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getInterSdcFlag() ) ||
    813770    ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getIntraSdcWedgeFlag() ) )
    814 #else
    815   if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) ||
    816     ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getVpsDepthModesFlag( pcCU->getSlice()->getLayerIdInVps() ) ) )
    817 #endif
    818771  {
    819772    return;
Note: See TracChangeset for help on using the changeset viewer.