Changeset 1131 in 3DVCSoftware for branches/HTM-13.0-dev0/source/Lib/TLibDecoder/TDecSbac.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/TLibDecoder/TDecSbac.cpp
r1124 r1131 703 703 704 704 705 #if HHI_TOOL_PARAMETERS_I2_J0107706 705 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 707 #else708 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS();709 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());710 #endif711 706 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 712 707 Bool bDepthMapDetect = (pcTexture != NULL); … … 762 757 Bool bParsePartSize = true; 763 758 764 #if HHI_TOOL_PARAMETERS_I2_J0107765 759 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 766 #else767 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS();768 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());769 #endif770 760 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 771 761 Bool bDepthMapDetect = (pcTexture != NULL); … … 992 982 { 993 983 #if H_3D_DIM 994 #if HHI_TOOL_PARAMETERS_I2_J0107995 984 if( pcCU->getSlice()->getIntraSdcWedgeFlag() || pcCU->getSlice()->getIntraContourFlag() ) 996 #else997 if( pcCU->getSlice()->getVpsDepthModesFlag() || pcCU->getSlice()->getIVPFlag() )998 #endif999 985 { 1000 986 parseIntraDepth( pcCU, absPartIdx+partOffset*j, depth ); … … 1111 1097 xParseDmm1WedgeIdx( uiTabIdx, g_dmm1TabIdxBits[pcCU->getIntraSizeIdx(absPartIdx)] ); 1112 1098 1113 #if MTK_J00331114 1099 assert( uiTabIdx < g_dmmWedgeLists[ g_aucConvertToBit[ pcCU->getDMM1BasePatternWidth( pcCU->getWidth( absPartIdx ) )]].size()); 1115 #endif1116 1100 1117 1101 pcCU->setDmmWedgeTabIdxSubParts( uiTabIdx, dimType, absPartIdx, depth ); … … 1143 1127 if( uiIsDimMode ) 1144 1128 { 1145 #if HHI_TOOL_PARAMETERS_I2_J01071146 1129 if( pcCU->getSlice()->getIntraSdcWedgeFlag() && pcCU->getSlice()->getIntraContourFlag() ) 1147 #else1148 if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag() )1149 #endif1150 1130 { 1151 1131 m_pcTDecBinIf->decodeBin( uiSymbol, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) ); … … 1159 1139 } 1160 1140 } 1161 #if HHI_TOOL_PARAMETERS_I2_J01071162 1141 else if ( pcCU->getSlice()->getIntraSdcWedgeFlag() ) 1163 #else1164 else if ( pcCU->getSlice()->getVpsDepthModesFlag() )1165 #endif1166 1142 { 1167 1143 pcCU->setLumaIntraDirSubParts( DIM_OFFSET, absPartIdx, depth ); 1168 1144 } 1169 #if HHI_TOOL_PARAMETERS_I2_J01071170 1145 else if( pcCU->getSlice()->getIntraContourFlag() ) 1171 #else1172 else if( pcCU->getSlice()->getIVPFlag() )1173 #endif1174 1146 { 1175 1147 pcCU->setLumaIntraDirSubParts( ( 1+ DIM_OFFSET ), absPartIdx, depth ); … … 2151 2123 Void TDecSbac::parseDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2152 2124 { 2153 #if HHI_TOOL_PARAMETERS_I2_J01072154 2125 AOF( pcCU->getSlice()->getDepthBasedBlkPartFlag() ); 2155 #else2156 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );2157 #endif2158 2126 AOF( !pcCU->getSlice()->getIsDepth() ); 2159 2127
Note: See TracChangeset for help on using the changeset viewer.