Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecSbac.cpp
- Timestamp:
- 10 Nov 2014, 12:22:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecSbac.cpp
r1084 r1124 702 702 Bool bParseSplitFlag = true; 703 703 704 705 #if HHI_TOOL_PARAMETERS_I2_J0107 706 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 707 #else 704 708 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS(); 705 709 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId()); 710 #endif 706 711 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 707 712 Bool bDepthMapDetect = (pcTexture != NULL); … … 756 761 #if H_3D_QTLPC 757 762 Bool bParsePartSize = true; 763 764 #if HHI_TOOL_PARAMETERS_I2_J0107 765 Bool bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag(); 766 #else 758 767 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS(); 759 768 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId()); 769 #endif 760 770 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 761 771 Bool bDepthMapDetect = (pcTexture != NULL); … … 982 992 { 983 993 #if H_3D_DIM 994 #if HHI_TOOL_PARAMETERS_I2_J0107 995 if( pcCU->getSlice()->getIntraSdcWedgeFlag() || pcCU->getSlice()->getIntraContourFlag() ) 996 #else 984 997 if( pcCU->getSlice()->getVpsDepthModesFlag() || pcCU->getSlice()->getIVPFlag() ) 998 #endif 985 999 { 986 1000 parseIntraDepth( pcCU, absPartIdx+partOffset*j, depth ); … … 1096 1110 UInt uiTabIdx = 0; 1097 1111 xParseDmm1WedgeIdx( uiTabIdx, g_dmm1TabIdxBits[pcCU->getIntraSizeIdx(absPartIdx)] ); 1112 1113 #if MTK_J0033 1114 assert( uiTabIdx < g_dmmWedgeLists[ g_aucConvertToBit[ pcCU->getDMM1BasePatternWidth( pcCU->getWidth( absPartIdx ) )]].size()); 1115 #endif 1116 1098 1117 pcCU->setDmmWedgeTabIdxSubParts( uiTabIdx, dimType, absPartIdx, depth ); 1099 1118 } break; … … 1124 1143 if( uiIsDimMode ) 1125 1144 { 1145 #if HHI_TOOL_PARAMETERS_I2_J0107 1146 if( pcCU->getSlice()->getIntraSdcWedgeFlag() && pcCU->getSlice()->getIntraContourFlag() ) 1147 #else 1126 1148 if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag() ) 1149 #endif 1127 1150 { 1128 1151 m_pcTDecBinIf->decodeBin( uiSymbol, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) ); … … 1136 1159 } 1137 1160 } 1161 #if HHI_TOOL_PARAMETERS_I2_J0107 1162 else if ( pcCU->getSlice()->getIntraSdcWedgeFlag() ) 1163 #else 1138 1164 else if ( pcCU->getSlice()->getVpsDepthModesFlag() ) 1165 #endif 1139 1166 { 1140 1167 pcCU->setLumaIntraDirSubParts( DIM_OFFSET, absPartIdx, depth ); 1141 1168 } 1169 #if HHI_TOOL_PARAMETERS_I2_J0107 1170 else if( pcCU->getSlice()->getIntraContourFlag() ) 1171 #else 1142 1172 else if( pcCU->getSlice()->getIVPFlag() ) 1173 #endif 1143 1174 { 1144 1175 pcCU->setLumaIntraDirSubParts( ( 1+ DIM_OFFSET ), absPartIdx, depth ); … … 2120 2151 Void TDecSbac::parseDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2121 2152 { 2153 #if HHI_TOOL_PARAMETERS_I2_J0107 2154 AOF( pcCU->getSlice()->getDepthBasedBlkPartFlag() ); 2155 #else 2122 2156 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ); 2157 #endif 2123 2158 AOF( !pcCU->getSlice()->getIsDepth() ); 2124 2159
Note: See TracChangeset for help on using the changeset viewer.