Changeset 967 in 3DVCSoftware for branches/HTM-11.1-dev0/source/Lib/TLibDecoder


Ignore:
Timestamp:
5 Jul 2014, 08:19:26 (11 years ago)
Author:
tech
Message:

Cleanup part 1.

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  
    481481            READ_FLAG(uiCode, "inter_view_dlt_pred_enable_flag[ i ]");
    482482
    483 #if  MTK_DLT_CODING_FIX_H0091
    484483            if( uiCode )
    485484            {
    486485                assert( pcDLT->getUseDLTFlag( 1 ));
    487486            }
    488 #endif
    489 
    490487            pcDLT->setInterViewDltPredEnableFlag( i, (uiCode == 1) ? true : false );
    491488
  • branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecCu.cpp

    r964 r967  
    797797    }
    798798   
    799 #if RWTH_DBBP_NO_SPU_H0057
    800799    AOF( pcCU->getARPW(uiPartAddr) == 0 );
    801800    AOF( pcCU->getICFlag(uiPartAddr) == false );
    802801    AOF( pcCU->getSPIVMPFlag(uiPartAddr) == false );
    803802    AOF( pcCU->getVSPFlag(uiPartAddr) == 0 );
    804 #else
    805     pDBBPTmpData->ahVSPFlag[uiSegment] = pcCU->getVSPFlag( uiPartAddr );
    806     pDBBPTmpData->acDvInfo[uiSegment] = pcCU->getDvInfo( uiPartAddr );
    807 #endif
    808803  }
    809804 
     
    814809  {
    815810    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 
    822812    for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
    823813    {
     
    839829   
    840830    pcCU->setDBBPFlagSubParts(true, uiPartAddr, uiSegment, uiDepth);
    841    
    842 #if !RWTH_DBBP_NO_SPU_H0057
    843     pcCU->setVSPFlagSubParts( pDBBPTmpData->ahVSPFlag[uiSegment], uiPartAddr, uiSegment, uiDepth );
    844     pcCU->setDvInfoSubParts( pDBBPTmpData->acDvInfo[uiSegment], uiPartAddr, uiSegment, uiDepth );
    845 #endif
    846    
    847831    pcCU->setInterDirSubParts(pDBBPTmpData->auhInterDir[uiSegment], uiPartAddr, uiSegment, uiDepth); // interprets depth relative to LCU level
    848832   
     
    946930    for( UInt uiX = 0; uiX < uiWidth; uiX++ )
    947931    {
    948 #if H_3D && !SEC_NO_RESI_DLT_H0105
    949       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       else
    954       {
    955         pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
    956       }
    957 #else
    958932      pReco    [ uiX ] = ClipY( pPred[ uiX ] + pResi[ uiX ] );
    959 #endif
    960933      pRecIPred[ uiX ] = pReco[ uiX ];
    961934    }
     
    12571230  // get DC prediction for each segment
    12581231  Pel apDCPredValues[2];
    1259 #if HS_DMM_SDC_PREDICTOR_UNIFY_H0108
    12601232  if ( getDimType( uiLumaPredMode ) == DMM1_IDX || getDimType( uiLumaPredMode ) == DMM4_IDX )
    12611233  {
     
    12641236  }
    12651237  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  }
    12681241 
    12691242  // reconstruct residual based on mask + DC residuals
  • branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp

    r950 r967  
    140140#if H_3D_DBBP
    141141
    142 #if MTK_DBBP_SIGNALING_H0094
    143142  if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) )
    144 #else
    145   if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE )
    146 #endif
    147143  {
    148144    decodeDBBPFlag(pcCU, uiAbsPartIdx, uiDepth);
     
    150146    if( pcCU->getDBBPFlag(uiAbsPartIdx) )
    151147    {
    152 #if !MTK_DBBP_SIGNALING_H0094
    153       AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE );
    154 #endif
    155148     
    156149      // get collocated depth block
     
    169162      pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth);
    170163     
    171 #if RWTH_DBBP_NO_SPU_H0057
    172164      // make sure that DBBP flag is set for both segments
    173165      UInt uiPUOffset = ( g_auiPUOffset[UInt( eVirtualPartSize )] << ( ( pcCU->getSlice()->getSPS()->getMaxCUDepth() - uiDepth ) << 1 ) ) >> 4;
    174166      pcCU->setDBBPFlagSubParts(true, uiAbsPartIdx, 0, uiDepth);
    175167      pcCU->setDBBPFlagSubParts(true, uiAbsPartIdx+uiPUOffset, 1, uiDepth);
    176 #endif
    177168    }
    178169  }
  • branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecSbac.cpp

    r964 r967  
    386386    uiCount++;
    387387  }
    388 #if QC_SIMP_DELTADC_CODING_H0131
    389388  while( uiSymbol && ( uiCount != 3 ) );
    390 #else
    391   while( uiSymbol && ( uiCount != 13 ) );
    392 #endif
    393389  ruiSymbol = uiCount - 1;
    394390
     
    11371133  if( ( pcCU->getSlice()->getSPS()->getMaxCUWidth() >> pcCU->getDepth( absPartIdx ) ) < 64 ) //DMM and HEVC intra modes are both allowed
    11381134  {
    1139 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135
    11401135    m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, 0 ) );
    1141 #else
    1142     m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, pcCU->getCtxAngleFlag( absPartIdx ) ) );
    1143 #endif
    11441136  }
    11451137  else
     
    21562148Void TDecSbac::parseDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
    21572149{
    2158 #if !MTK_DBBP_SIGNALING_H0094
    2159   PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
    2160 #endif
    21612150  AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
    21622151  AOF( !pcCU->getSlice()->getIsDepth() );
    2163 #if !MTK_DBBP_SIGNALING_H0094
    2164   AOF( ePartSize == RWTH_DBBP_PACK_MODE );
    2165 #endif
    21662152 
    21672153  UInt uiSymbol = 0;
  • branches/HTM-11.1-dev0/source/Lib/TLibDecoder/TDecSlice.cpp

    r950 r967  
    221221    }
    222222  }
    223 #if  MTK_DLT_CODING_FIX_H0091
     223#if  H_3D
    224224  if( pcSlice->getPPS()->getDLT() != NULL )
    225225  {
Note: See TracChangeset for help on using the changeset viewer.