Changeset 967 in 3DVCSoftware for branches/HTM-11.1-dev0/source/Lib/TLibDecoder
- Timestamp:
- 5 Jul 2014, 08:19:26 (11 years ago)
- Location:
- branches/HTM-11.1-dev0/source/Lib/TLibDecoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r964 r967 481 481 READ_FLAG(uiCode, "inter_view_dlt_pred_enable_flag[ i ]"); 482 482 483 #if MTK_DLT_CODING_FIX_H0091484 483 if( uiCode ) 485 484 { 486 485 assert( pcDLT->getUseDLTFlag( 1 )); 487 486 } 488 #endif489 490 487 pcDLT->setInterViewDltPredEnableFlag( i, (uiCode == 1) ? true : false ); 491 488 -
branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecCu.cpp
r964 r967 797 797 } 798 798 799 #if RWTH_DBBP_NO_SPU_H0057800 799 AOF( pcCU->getARPW(uiPartAddr) == 0 ); 801 800 AOF( pcCU->getICFlag(uiPartAddr) == false ); 802 801 AOF( pcCU->getSPIVMPFlag(uiPartAddr) == false ); 803 802 AOF( pcCU->getVSPFlag(uiPartAddr) == 0 ); 804 #else805 pDBBPTmpData->ahVSPFlag[uiSegment] = pcCU->getVSPFlag( uiPartAddr );806 pDBBPTmpData->acDvInfo[uiSegment] = pcCU->getDvInfo( uiPartAddr );807 #endif808 803 } 809 804 … … 814 809 { 815 810 pcCU->setInterDirSubParts( pDBBPTmpData->auhInterDir[uiSegment], 0, 0, uiDepth ); 816 817 #if !RWTH_DBBP_NO_SPU_H0057 818 pcCU->setVSPFlagSubParts( pDBBPTmpData->ahVSPFlag[uiSegment], 0, 0, uiDepth ); 819 pcCU->setDvInfoSubParts( pDBBPTmpData->acDvInfo[uiSegment], 0, 0, uiDepth ); 820 #endif 821 811 822 812 for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ ) 823 813 { … … 839 829 840 830 pcCU->setDBBPFlagSubParts(true, uiPartAddr, uiSegment, uiDepth); 841 842 #if !RWTH_DBBP_NO_SPU_H0057843 pcCU->setVSPFlagSubParts( pDBBPTmpData->ahVSPFlag[uiSegment], uiPartAddr, uiSegment, uiDepth );844 pcCU->setDvInfoSubParts( pDBBPTmpData->acDvInfo[uiSegment], uiPartAddr, uiSegment, uiDepth );845 #endif846 847 831 pcCU->setInterDirSubParts(pDBBPTmpData->auhInterDir[uiSegment], uiPartAddr, uiSegment, uiDepth); // interprets depth relative to LCU level 848 832 … … 946 930 for( UInt uiX = 0; uiX < uiWidth; uiX++ ) 947 931 { 948 #if H_3D && !SEC_NO_RESI_DLT_H0105949 if ( useDltFlag )950 {951 pReco [ uiX ] = pcCU->getSlice()->getPPS()->getDLT()->idx2DepthValue( pcCU->getSlice()->getLayerIdInVps(), Clip3( 0, pcCU->getSlice()->getPPS()->getDLT()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() ) - 1, pcCU->getSlice()->getPPS()->getDLT()->depthValue2idx( pcCU->getSlice()->getLayerIdInVps(), pPred[ uiX ] ) + pResi[ uiX ] ) );952 }953 else954 {955 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );956 }957 #else958 932 pReco [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] ); 959 #endif960 933 pRecIPred[ uiX ] = pReco[ uiX ]; 961 934 } … … 1257 1230 // get DC prediction for each segment 1258 1231 Pel apDCPredValues[2]; 1259 #if HS_DMM_SDC_PREDICTOR_UNIFY_H01081260 1232 if ( getDimType( uiLumaPredMode ) == DMM1_IDX || getDimType( uiLumaPredMode ) == DMM4_IDX ) 1261 1233 { … … 1264 1236 } 1265 1237 else 1266 #endif 1267 m_pcPrediction->analyzeSegmentsSDC(piPred, uiStride, uiWidth, apDCPredValues, uiNumSegments, pbMask, uiMaskStride, uiLumaPredMode); 1238 { 1239 m_pcPrediction->analyzeSegmentsSDC(piPred, uiStride, uiWidth, apDCPredValues, uiNumSegments, pbMask, uiMaskStride, uiLumaPredMode); 1240 } 1268 1241 1269 1242 // reconstruct residual based on mask + DC residuals -
branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp
r950 r967 140 140 #if H_3D_DBBP 141 141 142 #if MTK_DBBP_SIGNALING_H0094143 142 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ) 144 #else145 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE )146 #endif147 143 { 148 144 decodeDBBPFlag(pcCU, uiAbsPartIdx, uiDepth); … … 150 146 if( pcCU->getDBBPFlag(uiAbsPartIdx) ) 151 147 { 152 #if !MTK_DBBP_SIGNALING_H0094153 AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE );154 #endif155 148 156 149 // get collocated depth block … … 169 162 pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth); 170 163 171 #if RWTH_DBBP_NO_SPU_H0057172 164 // make sure that DBBP flag is set for both segments 173 165 UInt uiPUOffset = ( g_auiPUOffset[UInt( eVirtualPartSize )] << ( ( pcCU->getSlice()->getSPS()->getMaxCUDepth() - uiDepth ) << 1 ) ) >> 4; 174 166 pcCU->setDBBPFlagSubParts(true, uiAbsPartIdx, 0, uiDepth); 175 167 pcCU->setDBBPFlagSubParts(true, uiAbsPartIdx+uiPUOffset, 1, uiDepth); 176 #endif177 168 } 178 169 } -
branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecSbac.cpp
r964 r967 386 386 uiCount++; 387 387 } 388 #if QC_SIMP_DELTADC_CODING_H0131389 388 while( uiSymbol && ( uiCount != 3 ) ); 390 #else391 while( uiSymbol && ( uiCount != 13 ) );392 #endif393 389 ruiSymbol = uiCount - 1; 394 390 … … 1137 1133 if( ( pcCU->getSlice()->getSPS()->getMaxCUWidth() >> pcCU->getDepth( absPartIdx ) ) < 64 ) //DMM and HEVC intra modes are both allowed 1138 1134 { 1139 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H01351140 1135 m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, 0 ) ); 1141 #else1142 m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, pcCU->getCtxAngleFlag( absPartIdx ) ) );1143 #endif1144 1136 } 1145 1137 else … … 2156 2148 Void TDecSbac::parseDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2157 2149 { 2158 #if !MTK_DBBP_SIGNALING_H00942159 PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );2160 #endif2161 2150 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ); 2162 2151 AOF( !pcCU->getSlice()->getIsDepth() ); 2163 #if !MTK_DBBP_SIGNALING_H00942164 AOF( ePartSize == RWTH_DBBP_PACK_MODE );2165 #endif2166 2152 2167 2153 UInt uiSymbol = 0; -
branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecSlice.cpp
r950 r967 221 221 } 222 222 } 223 #if MTK_DLT_CODING_FIX_H0091223 #if H_3D 224 224 if( pcSlice->getPPS()->getDLT() != NULL ) 225 225 {
Note: See TracChangeset for help on using the changeset viewer.