Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncSbac.cpp
- Timestamp:
- 10 Nov 2014, 12:22:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncSbac.cpp
r1084 r1124 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_J0107 258 if( m_pcSlice->getIntraSdcWedgeFlag() || m_pcSlice->getIntraContourFlag() ) 259 #else 257 260 if( m_pcSlice->getVpsDepthModesFlag() || m_pcSlice->getIVPFlag() ) 261 #endif 258 262 { 259 263 curCost += m_cDepthIntraModeSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DEPTH_INTRA_MODE ); … … 346 350 } 347 351 352 #if HHI_TOOL_PARAMETERS_I2_J0107 353 Void TEncSbac::codeSPS( TComSPS* pcSPS ) 354 #else 348 355 #if H_3D 349 356 Void TEncSbac::codeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag ) 350 357 #else 351 358 Void TEncSbac::codeSPS( TComSPS* pcSPS ) 359 #endif 352 360 #endif 353 361 { … … 625 633 PartSize eSize = pcCU->getPartitionSize( uiAbsPartIdx ); 626 634 #if H_3D_QTLPC 635 #if HHI_TOOL_PARAMETERS_I2_J0107 636 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 637 #else 627 638 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS(); 628 639 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId()); 640 #endif 629 641 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 630 642 Bool bDepthMapDetect = (pcTexture != NULL); … … 998 1010 Bool bCodeSplitFlag = true; 999 1011 1012 1013 #if HHI_TOOL_PARAMETERS_I2_J0107 1014 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 1015 #else 1000 1016 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS(); 1001 1017 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId()); 1018 #endif 1002 1019 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 1003 1020 Bool bDepthMapDetect = (pcTexture != NULL); … … 1060 1077 dir[j] = pcCU->getLumaIntraDir( absPartIdx+partOffset*j ); 1061 1078 #if H_3D_DIM 1079 #if HHI_TOOL_PARAMETERS_I2_J0107 1080 if( pcCU->getSlice()->getIntraSdcWedgeFlag() || pcCU->getSlice()->getIntraContourFlag() ) 1081 #else 1062 1082 if( pcCU->getSlice()->getVpsDepthModesFlag() || pcCU->getSlice()->getIVPFlag() ) 1083 #endif 1063 1084 { 1064 1085 codeIntraDepth( pcCU, absPartIdx+partOffset*j ); … … 1206 1227 } 1207 1228 //mode coding 1229 #if HHI_TOOL_PARAMETERS_I2_J0107 1230 if( pcCU->getSlice()->getIntraSdcWedgeFlag() && pcCU->getSlice()->getIntraContourFlag()) 1231 #else 1208 1232 if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag()) 1233 #endif 1209 1234 { 1210 1235 m_pcBinIf->encodeBin( uiCodeIdx == 0 ? 0 : 1, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) ); … … 2305 2330 PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx ); 2306 2331 AOF( ePartSize == SIZE_2NxN || ePartSize == SIZE_Nx2N ); 2332 #if HHI_TOOL_PARAMETERS_I2_J0107 2333 AOF( pcCU->getSlice()->getDepthBasedBlkPartFlag() ); 2334 #else 2307 2335 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ); 2336 #endif 2308 2337 AOF( !pcCU->getSlice()->getIsDepth() ); 2309 2338
Note: See TracChangeset for help on using the changeset viewer.