Changeset 1131 in 3DVCSoftware for branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncSbac.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/TEncSbac.cpp
r1124 r1131 255 255 curCost += m_CUTransquantBypassFlagSCModel.calcCost( curSliceType, qp, (UChar*)INIT_CU_TRANSQUANT_BYPASS_FLAG ); 256 256 #if H_3D_DIM 257 #if HHI_TOOL_PARAMETERS_I2_J0107258 257 if( m_pcSlice->getIntraSdcWedgeFlag() || m_pcSlice->getIntraContourFlag() ) 259 #else260 if( m_pcSlice->getVpsDepthModesFlag() || m_pcSlice->getIVPFlag() )261 #endif262 258 { 263 259 curCost += m_cDepthIntraModeSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DEPTH_INTRA_MODE ); … … 350 346 } 351 347 352 #if HHI_TOOL_PARAMETERS_I2_J0107353 348 Void TEncSbac::codeSPS( TComSPS* pcSPS ) 354 #else355 #if H_3D356 Void TEncSbac::codeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )357 #else358 Void TEncSbac::codeSPS( TComSPS* pcSPS )359 #endif360 #endif361 349 { 362 350 assert (0); … … 633 621 PartSize eSize = pcCU->getPartitionSize( uiAbsPartIdx ); 634 622 #if H_3D_QTLPC 635 #if HHI_TOOL_PARAMETERS_I2_J0107636 623 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 637 #else638 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS();639 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());640 #endif641 624 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 642 625 Bool bDepthMapDetect = (pcTexture != NULL); … … 1011 994 1012 995 1013 #if HHI_TOOL_PARAMETERS_I2_J01071014 996 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 1015 #else1016 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS();1017 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());1018 #endif1019 997 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 1020 998 Bool bDepthMapDetect = (pcTexture != NULL); … … 1077 1055 dir[j] = pcCU->getLumaIntraDir( absPartIdx+partOffset*j ); 1078 1056 #if H_3D_DIM 1079 #if HHI_TOOL_PARAMETERS_I2_J01071080 1057 if( pcCU->getSlice()->getIntraSdcWedgeFlag() || pcCU->getSlice()->getIntraContourFlag() ) 1081 #else1082 if( pcCU->getSlice()->getVpsDepthModesFlag() || pcCU->getSlice()->getIVPFlag() )1083 #endif1084 1058 { 1085 1059 codeIntraDepth( pcCU, absPartIdx+partOffset*j ); … … 1227 1201 } 1228 1202 //mode coding 1229 #if HHI_TOOL_PARAMETERS_I2_J01071230 1203 if( pcCU->getSlice()->getIntraSdcWedgeFlag() && pcCU->getSlice()->getIntraContourFlag()) 1231 #else1232 if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag())1233 #endif1234 1204 { 1235 1205 m_pcBinIf->encodeBin( uiCodeIdx == 0 ? 0 : 1, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) ); … … 2330 2300 PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx ); 2331 2301 AOF( ePartSize == SIZE_2NxN || ePartSize == SIZE_Nx2N ); 2332 #if HHI_TOOL_PARAMETERS_I2_J01072333 2302 AOF( pcCU->getSlice()->getDepthBasedBlkPartFlag() ); 2334 #else2335 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );2336 #endif2337 2303 AOF( !pcCU->getSlice()->getIsDepth() ); 2338 2304
Note: See TracChangeset for help on using the changeset viewer.