Changeset 102 in 3DVCSoftware for trunk/source/App/TAppEncoder


Ignore:
Timestamp:
11 Aug 2012, 14:39:19 (12 years ago)
Author:
tech
Message:

SAIT_VSO_EST_A0033 code improvement

Location:
trunk/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/TAppEncoder/TAppEncCfg.h

    r100 r102  
    295295#endif
    296296#if SAIT_VSO_EST_A0033
    297   Bool      m_bUseEstimatedVSD;                           ///< Flag for using model based VSD estimation instead of VSO for some encoder decisions (JCT3V-A0033 modification 3)
    298   Double    m_dDispCoeff;
     297  Bool      m_bUseEstimatedVSD;                           ///< Flag for using model based VSD estimation instead of VSO for some encoder decisions (JCT3V-A0033 modification 3) 
    299298#endif
    300299
  • trunk/source/App/TAppEncoder/TAppEncTop.cpp

    r101 r102  
    922922      for(Int iViewIdx=0; iViewIdx < m_iNumberOfViews; iViewIdx++ )
    923923      {
     924#if SAIT_VSO_EST_A0033
     925        if( m_bUseVSO && iNextPoc < m_iFrameToBeEncoded )
     926        {
     927          m_cCameraData.xSetDispCoeff( iNextPoc, iViewIdx );
     928          m_acTEncDepthTopList[iViewIdx]->setDispCoeff( m_cCameraData.getDispCoeff() );
     929        }
     930#endif
    924931        iNumEncoded = 0;
    925932        // call encoding function for one frame
     
    11561163};
    11571164
    1158 #if SAIT_VSO_EST_A0033
    1159 TComPicYuv* TAppEncTop::xGetPicYuvFromViewTemp( Int iViewIdx, Int iPoc, Bool bDepth, Bool bRecon )
    1160 {
    1161   TComPic*    pcPic = xGetPicFromView( iViewIdx, iPoc, bDepth);
    1162   TComPicYuv* pcPicYuv = NULL;
    1163 
    1164   if (pcPic != NULL)
    1165   {
    1166     if( bRecon )
    1167     {
    1168       if ( pcPic->getReconMark() )
    1169       {
    1170         pcPicYuv = pcPic->getPicYuvRec();
    1171       }
    1172     }
    1173     else
    1174     {
    1175       pcPicYuv = pcPic->getPicYuvOrg();
    1176     }
    1177   };
    1178 
    1179   return pcPicYuv;
    1180 };
    1181 #endif
    1182 
    11831165/**
    11841166 *
  • trunk/source/App/TAppEncoder/TAppEncTop.h

    r101 r102  
    123123  TAppEncTop();
    124124  virtual ~TAppEncTop();
    125  
    126 #if SAIT_VSO_EST_A0033
    127   TComPicYuv* xGetPicYuvFromViewTemp( Int iViewIdx, Int iPoc, Bool bDepth, Bool bRecon );
    128 #endif
     125
    129126
    130127  Void        encode      ();                               ///< main encoding function
Note: See TracChangeset for help on using the changeset viewer.