Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncEntropy.cpp
- Timestamp:
- 10 Nov 2014, 12:22:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncEntropy.cpp
r1084 r1124 78 78 } 79 79 80 #if HHI_TOOL_PARAMETERS_I2_J0107 81 Void TEncEntropy::encodeSPS( TComSPS* pcSPS ) 82 { 83 m_pcEntropyCoderIf->codeSPS( pcSPS ); 84 return; 85 } 86 #else 80 87 #if H_3D 81 88 Void TEncEntropy::encodeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag ) … … 91 98 } 92 99 #endif 100 #endif 93 101 94 102 Void TEncEntropy::encodeCUTransquantBypassFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) … … 122 130 Void TEncEntropy::encodeSingleDepthMode( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 123 131 { 132 #if ALIGN_J0060_J0107 133 if(!pcCU->getSlice()->getIntraSingleFlag() ) 134 { 135 return; 136 } 137 #else 124 138 if ( !pcCU->getSlice()->getIsDepth() ) 125 139 { 126 140 return; 127 141 } 142 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 143 if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps())) 144 { 145 return; 146 } 147 #else 128 148 if(!pcCU->getSlice()->getApplySingleDepthMode()) 129 149 { 130 150 return; 131 151 } 132 152 #endif 153 #endif 133 154 if( bRD ) 134 155 { … … 268 289 269 290 #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 270 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 271 300 { 272 301 encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD); … … 780 809 Void TEncEntropy::encodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 781 810 { 811 #if HHI_TOOL_PARAMETERS_I2_J0107 812 if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getInterSdcFlag() ) || 813 ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getIntraSdcWedgeFlag() ) ) 814 #else 782 815 if( ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getInterSDCFlag( pcCU->getSlice()->getLayerIdInVps() ) ) || 783 816 ( pcCU->isIntra( uiAbsPartIdx ) && !pcCU->getSlice()->getVPS()->getVpsDepthModesFlag( pcCU->getSlice()->getLayerIdInVps() ) ) ) 817 #endif 784 818 { 785 819 return;
Note: See TracChangeset for help on using the changeset viewer.