Ignore:
Timestamp:
19 Feb 2013, 20:33:52 (12 years ago)
Author:
tech
Message:

Removed HM-6.1 related guard macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecGop.cpp

    r289 r294  
    7979Void TDecGop::destroy()
    8080{
    81 #if LCU_SYNTAX_ALF
    8281  m_alfParamSetPilot.releaseALFParam();
    83 #endif
    8482}
    8583
     
    120118// Private member functions
    121119// ====================================================================================================================
    122 #if LCU_SYNTAX_ALF
    123120Void TDecGop::patchAlfLCUParams(ALFParam*** alfLCUParam, AlfParamSet* alfParamSet, Int firstLCUAddr)
    124121{
     
    195192}
    196193
    197 #endif
    198194// ====================================================================================================================
    199195// Public member functions
     
    279275        if(pcSlice->getAlfEnabledFlag())
    280276        {
    281 #if LCU_SYNTAX_ALF
    282277          if(pcSlice->getSPS()->getUseALFCoefInSlice())
    283278          {
     
    289284          if( !pcSlice->getSPS()->getUseALFCoefInSlice())
    290285          {
    291 #endif
    292286          m_vAlfCUCtrlSlices.push_back(m_cAlfCUCtrlOneSlice);
    293 #if LCU_SYNTAX_ALF
    294287          }
    295 #endif
    296288        }
    297289      }
     
    323315    m_pcSliceDecoder->decompressSlice( pcBitstream, ppcSubstreams, rpcPic, m_pcSbacDecoder, m_pcSbacDecoders);
    324316    m_pcEntropyDecoder->setBitstream(  ppcSubstreams[uiNumSubstreams-1] );
    325 #if WPP_SIMPLIFICATION
    326317    if ( uiNumSubstreams > 1 )
    327 #else
    328     if ( pcSlice->getPPS()->getEntropyCodingSynchro() )
    329 #endif
    330318    {
    331319      // deallocate all created substreams, including internal buffers.
     
    356344    Bool bLFCrossTileBoundary = (pcSlice->getPPS()->getTileBehaviorControlPresentFlag() == 1)?
    357345                                (pcSlice->getPPS()->getLFCrossTileBoundaryFlag()):(pcSlice->getPPS()->getSPS()->getLFCrossTileBoundaryFlag());
    358 #if DBL_CONTROL
    359346    if (pcSlice->getPPS()->getDeblockingFilterControlPresent())
    360347    {
    361 #endif
    362348      if(pcSlice->getSPS()->getUseDF())
    363349      {
     
    372358        }
    373359      }
    374 #if DBL_CONTROL
    375360    }
    376361    m_pcLoopFilter->setCfg(pcSlice->getPPS()->getDeblockingFilterControlPresent(), pcSlice->getLoopFilterDisable(), pcSlice->getLoopFilterBetaOffset(), pcSlice->getLoopFilterTcOffset(), bLFCrossTileBoundary);
    377 #else
    378     m_pcLoopFilter->setCfg(pcSlice->getLoopFilterDisable(), pcSlice->getLoopFilterBetaOffset(), pcSlice->getLoopFilterTcOffset(), bLFCrossTileBoundary);
    379 #endif
    380362    m_pcLoopFilter->loopFilterPic( rpcPic );
    381363
     
    392374      if(pcSlice->getSaoEnabledFlag())
    393375      {
    394 #if SAO_UNIT_INTERLEAVING
    395376        if (pcSlice->getSaoInterleavingFlag())
    396377        {
     
    402383        }
    403384        m_pcSAO->setSaoInterleavingFlag(pcSlice->getAPS()->getSaoInterleavingFlag());
    404 #endif
    405385        m_pcSAO->createPicSaoInfo(rpcPic, m_uiILSliceCount);
    406386        m_pcSAO->SAOProcess(rpcPic, pcSlice->getAPS()->getSaoParam()); 
     
    413393    if( pcSlice->getSPS()->getUseALF() )
    414394    {
    415 #if LCU_SYNTAX_ALF
    416395      if( (pcSlice->getSPS()->getUseALFCoefInSlice())?(true):(pcSlice->getAlfEnabledFlag()))
    417 #else
    418       if(pcSlice->getAlfEnabledFlag())
    419 #endif
    420       {
    421 
    422 #if LCU_SYNTAX_ALF
     396      {
     397
    423398        if(!pcSlice->getSPS()->getUseALFCoefInSlice())
    424399        {
     
    427402        m_pcAdaptiveLoopFilter->createPicAlfInfo(rpcPic, m_uiILSliceCount, pcSlice->getSliceQp());
    428403        m_pcAdaptiveLoopFilter->ALFProcess(rpcPic, m_vAlfCUCtrlSlices, pcSlice->getSPS()->getUseALFCoefInSlice());
    429 #else
    430         m_pcAdaptiveLoopFilter->createPicAlfInfo(rpcPic, m_uiILSliceCount);
    431       m_pcAdaptiveLoopFilter->ALFProcess(rpcPic, pcSlice->getAPS()->getAlfParam(), m_vAlfCUCtrlSlices);
    432 #endif
    433404      m_pcAdaptiveLoopFilter->PCMLFDisableProcess(rpcPic);
    434405      m_pcAdaptiveLoopFilter->destroyPicAlfInfo();
    435406      }
    436 #if LCU_SYNTAX_ALF
    437407      m_pcAdaptiveLoopFilter->resetLCUAlfInfo(); //reset all LCU ALFParam->alf_flag = 0
    438 #endif   
    439408    }
    440409   
Note: See TracChangeset for help on using the changeset viewer.