Changeset 188 in 3DVCSoftware for branches/HTM-4.1-dev0/source/Lib/TLibEncoder


Ignore:
Timestamp:
15 Nov 2012, 21:36:12 (12 years ago)
Author:
tech
Message:

Removed old macro switches.

Location:
branches/HTM-4.1-dev0/source/Lib/TLibEncoder
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncCfg.h

    r181 r188  
    279279  Int       m_iColumnRowInfoPresent;
    280280  Int       m_iUniformSpacingIdr;
    281 #if FIX_REMOVE_TILE_DEPENDENCE
    282 #else
    283   Int       m_iTileBoundaryIndependenceIdr;
    284 #endif
    285281  Int       m_iNumColumnsMinus1;
    286282  UInt*     m_puiColumnWidth;
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncCu.cpp

    r187 r188  
    13481348
    13491349#if HHI_VSO
    1350 #if HHI_VSO_SET_OPTIM
    1351 #else
    1352           if( m_pcRdCost->getUseRenModel() ) // necessary ??
    1353           {
    1354             UInt  uiWidth     = m_ppcRecoYuvBest[uhNextDepth]->getWidth   (  );
    1355             UInt  uiHeight    = m_ppcRecoYuvBest[uhNextDepth]->getHeight  (   );
    1356             Pel*  piSrc       = m_ppcRecoYuvBest[uhNextDepth]->getLumaAddr( 0 );
    1357             UInt  uiSrcStride = m_ppcRecoYuvBest[uhNextDepth]->getStride  (   );
    1358             m_pcRdCost->setRenModelData( pcSubBestPartCU, 0, piSrc, uiSrcStride, uiWidth, uiHeight );
    1359           }
    1360 #endif
    13611350#endif
    13621351        }
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncGOP.cpp

    r187 r188  
    449449#endif
    450450
    451 #if HHI_VSO_SPEEDUP_A0033
    452 #else
    453     if ( iVSOMode == 4 )
    454     {
    455       m_pcEncTop->getEncTop()->setupRenModel( pcSlice->getPOC(), pcSlice->getViewId(), m_pcEncTop->isDepthCoder() ? 1 : 0 );
    456     }
    457     else
    458     {
    459       AOT(true);
    460     }
    461 #endif
    462451
    463452#if SAIT_VSO_EST_A0033
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncGOP.h

    r101 r188  
    137137 
    138138  Void  preLoopFilterPicAll  ( TComPic* pcPic, UInt64& ruiDist, UInt64& ruiBits );
    139 #if HHI_VSO_SPEEDUP_A0033
    140139  TEncTop* getEncTop() { return m_pcEncTop; }
    141 #endif
    142140 
    143141  TEncSlice*  getSliceEncoder()   { return m_pcSliceEncoder; }
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncSbac.cpp

    r187 r188  
    307307  } 
    308308
    309   #if CABAC_INIT_FLAG && POZNAN_CABAC_INIT_FLAG_FIX
     309  #if CABAC_INIT_FLAG && FIX_POZNAN_CABAC_INIT_FLAG
    310310    m_pcSlice->getPPS()->setEncPrevPOC( m_pcSlice->getPOC() );
    311311  #endif
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncSearch.cpp

    r187 r188  
    65136513       
    65146514        Dist uiActDist = RDO_DIST_MAX;
    6515 #if FIX_RDO_MACRO
    65166515#if SAIT_VSO_EST_A0033
    65176516        if ( m_pcRdCost->getUseEstimatedVSD() )
     
    65446543#endif // LGE_WVSO_A0119
    65456544        }
    6546 #else // FIX_RDO_MACRO
    6547 #if SAIT_VSO_EST_A0033
    6548         if ( m_pcRdCost->getUseEstimatedVSD() )
    6549         {         
    6550           TComPicYuv* pcVirRec = m_pcRdCost->getVideoRecPicYuv();
    6551           TComPicYuv* pcVirOrg = m_pcRdCost->getDepthPicYuv();
    6552           uiActDist = m_pcRdCost->getDistPart( piPredic, uiStride, piOrig, uiStride, pcVirRec->getLumaAddr(pcCU->getAddr(),pcCU->getZorderIdxInCU()), pcVirOrg->getLumaAddr(pcCU->getAddr(),pcCU->getZorderIdxInCU()), pcVirRec->getStride(), uiWidth, uiHeight );
    6553 #if LGE_WVSO_A0119
    6554           if ( m_pcRdCost->getUseWVSO() )
    6555           {   
    6556             Int iDWeight = m_pcRdCost->getDWeight() * m_pcRdCost->getDWeight();
    6557             Int iVSDWeight = m_pcRdCost->getVSDWeight() * m_pcRdCost->getVSDWeight();
    6558             Dist iD = (Dist) m_pcRdCost->getDistPart( piPredic, uiStride, piOrig, uiStride, uiWidth, uiHeight, false, DF_SAD );
    6559             uiActDist = (iDWeight * iD + iVSDWeight * (Dist) uiActDist) / ( iDWeight + iVSDWeight);
    6560           }
    6561 #endif // LGE_WVSO_A0119
    6562         }
    6563         else       
    6564 #else  // SAIT_VSO_EST_A0033 <-- wrong #else statement should be #endif
    6565         {       
    6566           uiActDist = m_pcRdCost->getDistVS( pcCU, 0, piPredic, uiStride,  piOrig, uiStride, uiWidth, uiHeight, false, 0 );
    6567 #if LGE_WVSO_A0119
    6568           if ( m_pcRdCost->getUseWVSO() )
    6569           {   
    6570             Int iDWeight = m_pcRdCost->getDWeight() * m_pcRdCost->getDWeight();
    6571             Int iVSOWeight = m_pcRdCost->getVSOWeight() * m_pcRdCost->getVSOWeight();
    6572             Dist iD = (Dist) m_pcRdCost->getDistPart( piPredic, uiStride, piOrig, uiStride, uiWidth, uiHeight, false, DF_SAD );
    6573             uiActDist = (iDWeight * iD + iVSOWeight * (Dist) uiActDist) / ( iDWeight + iVSOWeight);
    6574           }
    6575 #endif // LGE_WVSO_A0119
    6576         }
    6577 #endif // SAIT_VSO_EST_A0033 <-- wrong #endif should be removed
    6578 #endif // FIX_RDO_MACRO
    65796545
    65806546        if( uiActDist < uiBestDist || uiBestDist == RDO_DIST_MAX )
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncSlice.cpp

    r187 r188  
    3838#include "TEncTop.h"
    3939#include "TEncSlice.h"
    40 #if HHI_VSO_SPEEDUP_A0033
    4140#include "../../App/TAppEncoder/TAppEncTop.h"
    42 #endif
    4341#include <math.h>
    4442
     
    659657  m_uiPicDist       = 0;
    660658 
    661 #if CABAC_INIT_FLAG && POZNAN_CABAC_INIT_FLAG_FIX
     659#if CABAC_INIT_FLAG && FIX_POZNAN_CABAC_INIT_FLAG
    662660  Bool bReset =(pcSlice->getPOC() == 0) ||
    663661    (pcSlice->getPOC() % m_pcCfg->getIntraPeriod() == 0) ||
     
    823821  UInt uiTileLCUX     = 0;
    824822
    825 #if HHI_VSO_SPEEDUP_A0033
    826823  Int iLastPosY = -1;
    827 #endif
    828824
    829825  // for every CU in slice
     
    838834    pcCU->initCU( rpcPic, uiCUAddr );
    839835
    840 #if HHI_VSO_SPEEDUP_A0033
    841836    if ( m_pcRdCost->getUseRenModel() )
    842837    {
     
    852847      }
    853848    }   
    854 #endif
    855849
    856850    // inherit from TR if necessary, select substream to use.
  • branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncTop.cpp

    r181 r188  
    9191{
    9292  // initialize global variables
    93 #if FIX_INIT_ROM
    9493  if( m_viewId == 0 && m_isDepth == false )
    9594  {
    96 #endif
    9795    initROM();
    98 #if FIX_INIT_ROM
    99   }
    100 #endif
     96  }
    10197
    10298
     
    605601  // mark it should be extended
    606602  rpcPic->getPicYuvRec()->setBorderExtension(false);
    607 #if FIXES
    608603  rpcPic->getPicYuvOrg()->setBorderExtension(false);
    609 #endif
    610604}
    611605
     
    11061100
    11071101    // # substreams is "per tile" when tiles are independent.
    1108 #if FIX_REMOVE_TILE_DEPENDENCE
    11091102    if ( m_iWaveFrontSynchro )
    1110 #else
    1111     if (m_iTileBoundaryIndependenceIdr && m_iWaveFrontSynchro)
    1112 #endif
    11131103    {
    11141104      m_cPPS.setNumSubstreams(m_iWaveFrontSubstreams * (m_iNumColumnsMinus1+1)*(m_iNumRowsMinus1+1));
Note: See TracChangeset for help on using the changeset viewer.