Changeset 1131 in 3DVCSoftware for branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
- Timestamp:
- 18 Feb 2015, 17:39:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
r1124 r1131 78 78 } 79 79 80 #if HHI_TOOL_PARAMETERS_I2_J010781 80 Void TEncEntropy::encodeSPS( TComSPS* pcSPS ) 82 81 { … … 84 83 return; 85 84 } 86 #else87 #if H_3D88 Void TEncEntropy::encodeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )89 {90 m_pcEntropyCoderIf->codeSPS( pcSPS, viewIndex, depthFlag );91 return;92 }93 #else94 Void TEncEntropy::encodeSPS( TComSPS* pcSPS )95 {96 m_pcEntropyCoderIf->codeSPS( pcSPS );97 return;98 }99 #endif100 #endif101 85 102 86 Void TEncEntropy::encodeCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) … … 130 114 Void TEncEntropy::encodeSingleDepthMode( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 131 115 { 132 #if ALIGN_J0060_J0107133 116 if(!pcCU->getSlice()->getIntraSingleFlag() ) 134 117 { 135 118 return; 136 119 } 137 #else138 if ( !pcCU->getSlice()->getIsDepth() )139 {140 return;141 }142 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060143 if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps()))144 {145 return;146 }147 #else148 if(!pcCU->getSlice()->getApplySingleDepthMode())149 {150 return;151 }152 #endif153 #endif154 120 if( bRD ) 155 121 { … … 289 255 290 256 #if H_3D_DBBP 291 #if SEC_DBBP_VIEW_REF_CHECK_J0037292 #if HHI_TOOL_PARAMETERS_I2_J0107293 257 if( pcCU->getSlice()->getDepthBasedBlkPartFlag() && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 && pcCU->getSlice()->getDefaultRefViewIdxAvailableFlag() ) 294 #else295 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 #endif297 #else298 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && (pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_2NxN || pcCU->getPartitionSize(uiAbsPartIdx) == SIZE_Nx2N) && pcCU->getWidth(uiAbsPartIdx) > 8 )299 #endif300 258 { 301 259 encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD); … … 809 767 Void TEncEntropy::encodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 810 768 { 811 #if HHI_TOOL_PARAMETERS_I2_J0107812 769 if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getInterSdcFlag() ) || 813 770 ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getIntraSdcWedgeFlag() ) ) 814 #else815 if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) ||816 ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getVpsDepthModesFlag( pcCU->getSlice()->getLayerIdInVps() ) ) )817 #endif818 771 { 819 772 return;
Note: See TracChangeset for help on using the changeset viewer.