Ignore:
Timestamp:
18 Jun 2013, 17:25:49 (11 years ago)
Author:
tech
Message:

Minor clean ups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.cpp

    r476 r478  
    128128    m_frameRcvd                 .push_back(0);
    129129    m_acTEncTopList             .push_back(new TEncTop);
    130 #if H_3D_IV_MERGE
    131 //    m_acTEncDepthTopList        .push_back(new TEncTop);
    132 #endif
    133130    m_acTVideoIOYuvInputFileList.push_back(new TVideoIOYuv);
    134131    m_acTVideoIOYuvReconFileList.push_back(new TVideoIOYuv);
    135132    m_picYuvRec                 .push_back(new TComList<TComPicYuv*>) ;
    136 #if H_3D_IV_MERGE
    137     //m_acTEncDepthTopList[iViewIdx]->setFrameRate                    ( m_iFrameRate );
    138     //m_acTEncDepthTopList[iViewIdx]->setFrameSkip                    ( m_FrameSkip );
    139     //m_acTEncDepthTopList[iViewIdx]->setSourceWidth                  ( m_iSourceWidth );
    140     //m_acTEncDepthTopList[iViewIdx]->setSourceHeight                 ( m_iSourceHeight );
    141     //m_acTEncDepthTopList[iViewIdx]->setCroppingMode                 ( m_croppingMode );
    142     //m_acTEncDepthTopList[iViewIdx]->setCropLeft                     ( m_cropLeft );
    143     //m_acTEncDepthTopList[iViewIdx]->setCropRight                    ( m_cropRight );
    144     //m_acTEncDepthTopList[iViewIdx]->setCropTop                      ( m_cropTop );
    145     //m_acTEncDepthTopList[iViewIdx]->setCropBottom                   ( m_cropBottom );
    146     //m_acTEncDepthTopList[iViewIdx]->setFrameToBeEncoded             ( m_iFrameToBeEncoded );
    147     //m_acTEncDepthTopList[iViewIdx]->setViewId                       ( iViewIdx );
    148     //m_acTEncDepthTopList[iViewIdx]->setIsDepth                      ( true );
    149 
    150     //m_acTEncDepthTopList[iViewIdx]->setViewOrderIdx                 ( m_cCameraData.getViewOrderIndex()[ iViewIdx ] );
    151 
    152     //m_acTEncDepthTopList[iViewIdx]->setLayerId                      ( layerId );
    153 
    154 #endif
     133
    155134    m_ivPicLists.push_back( m_acTEncTopList[ layer ]->getListPic()  );
    156135    TEncTop& m_cTEncTop = *m_acTEncTopList[ layer ];  // It is not a member, but this name helps avoiding code duplication !!!
     
    164143    m_cTEncTop.setIsDepth                      ( isDepth );
    165144    //====== Camera Parameters =========
    166 #if H_3D_IV_MERGE
    167       //m_acTEncDepthTopList[iViewIdx]->setCamParPrecision              ( 0 );
    168       //m_acTEncDepthTopList[iViewIdx]->setCamParInSliceHeader          ( false );
    169       //m_acTEncDepthTopList[iViewIdx]->setCodedScale                   ( 0 );
    170       //m_acTEncDepthTopList[iViewIdx]->setCodedOffset                  ( 0 );
    171 #endif
    172145    m_cTEncTop.setCameraParameters             ( &m_cCameraData );     
    173146    m_cTEncTop.setCamParPrecision              ( isDepth ? false : m_cCameraData.getCamParsCodedPrecision  () );
     
    220193 
    221194  //====== Coding Structure ========
    222 #if H_3D_IV_MERGE
    223       //m_acTEncDepthTopList[iViewIdx]->setIntraPeriod                  ( m_iIntraPeriod );
    224       //m_acTEncDepthTopList[iViewIdx]->setDecodingRefreshType          ( m_iDecodingRefreshType );
    225       //m_acTEncDepthTopList[iViewIdx]->setGOPSize                      ( m_iGOPSize );
    226       //m_acTEncDepthTopList[iViewIdx]->setGopList                      ( m_GOPListsMvc[iViewIdx] );
    227       //m_acTEncDepthTopList[iViewIdx]->setExtraRPSs                    ( m_extraRPSs[iViewIdx] );
    228 #endif
    229195  m_cTEncTop.setIntraPeriod                  ( m_iIntraPeriod );
    230196  m_cTEncTop.setDecodingRefreshType          ( m_iDecodingRefreshType );
     
    267233  {
    268234    m_cTEncTop.setLambdaModifier( uiLoop, m_adLambdaModifier[ uiLoop ] );
    269 #if H_3D_IV_MERGE
    270 //        m_acTEncDepthTopList[iViewIdx]->setLambdaModifier( uiLoop, m_adLambdaModifier[ uiLoop ] );
    271 #endif
    272235  }
    273236#if H_MV
     
    289252 
    290253  //====== Loop/Deblock Filter ========
    291 #if H_3D_IV_MERGE
    292       //m_acTEncDepthTopList[iViewIdx]->setLoopFilterDisable            ( m_abLoopFilterDisable[1]   );
    293       //m_acTEncDepthTopList[iViewIdx]->setLoopFilterOffsetInAPS        ( m_loopFilterOffsetInAPS );
    294       //m_acTEncDepthTopList[iViewIdx]->setLoopFilterBetaOffset         ( m_loopFilterBetaOffsetDiv2  );
    295       //m_acTEncDepthTopList[iViewIdx]->setLoopFilterTcOffset           ( m_loopFilterTcOffsetDiv2    );
    296       //m_acTEncDepthTopList[iViewIdx]->setDeblockingFilterControlPresent( m_DeblockingFilterControlPresent);
    297 #endif
    298254#if H_MV
    299255  m_cTEncTop.setLoopFilterDisable            ( m_bLoopFilterDisable[layer]);
     
    11021058#endif
    11031059#if H_3D_IV_MERGE
     1060 // GT: This function is not necessary anymore m_ivPicLists should be used instead
    11041061TComPic* TAppEncTop::xGetPicFromView( Int viewIdx, Int poc, Bool isDepth )
    11051062{
Note: See TracChangeset for help on using the changeset viewer.