Ignore:
Timestamp:
14 Oct 2013, 20:13:58 (11 years ago)
Author:
kwu-htm
Message:

"JCT3V-E0227 : Inter-view MAD prediction for 3D multi-view video" is integrated by KWU. Configuration has changed by adding rate control for URQ and the integrated view-wise target bitrate allocation and inter-view MAD prediction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-KWU/source/Lib/TLibEncoder/TEncGOP.cpp

    r630 r635  
    153153#endif
    154154#endif
     155
     156#if !RATE_CONTROL_LAMBDA_DOMAIN
     157  m_pcRateCtrl           = pcTEncTop->getRateCtrl();
     158#endif
    155159}
    156160
     
    977981      }
    978982      m_pcRateCtrl->initRCPic( frameLevel );
     983
     984#if KWU_RC_MADPRED_E0227
     985      if(m_pcCfg->getLayerId() != 0)
     986        m_pcRateCtrl->getRCPic()->setIVPic( m_pcEncTop->getEncTop()->getTEncTop(0)->getRateCtrl()->getRCPic() );
     987      //getEncTop()->getEncTop();//->getTEncTop(0);//->getUseRateCtrl()->getRCPic();
     988#endif
     989
    979990      estimatedBits = m_pcRateCtrl->getRCPic()->getTargetBits();
    980991
     
    10211032      else    // normal case
    10221033      {
     1034#if KWU_RC_MADPRED_E0227
     1035        if(m_pcRateCtrl->getLayerID() != 0)
     1036        {
     1037          list<TEncRCPic*> listPreviousPicture = m_pcRateCtrl->getPicList();
     1038          lambda  = m_pcRateCtrl->getRCPic()->estimatePicLambdaIV( listPreviousPicture, pcSlice->getPOC() );
     1039          //printf("lambda : %lf\n", lambda);
     1040          sliceQP = m_pcRateCtrl->getRCPic()->estimatePicQP( lambda, listPreviousPicture );
     1041        }
     1042        else
     1043        {
     1044#endif
    10231045        list<TEncRCPic*> listPreviousPicture = m_pcRateCtrl->getPicList();
    10241046#if RATE_CONTROL_INTRA
     
    10281050#endif
    10291051        sliceQP = m_pcRateCtrl->getRCPic()->estimatePicQP( lambda, listPreviousPicture );
     1052#if KWU_RC_MADPRED_E0227
     1053        }
     1054#endif
    10301055      }
    10311056
     
    21912216      delete[] pcSubstreamsOut;
    21922217  }
    2193 #if !RATE_CONTROL_LAMBDA_DOMAIN
    2194   if(m_pcCfg->getUseRateCtrl())
    2195   {
    2196     m_pcRateCtrl->updateRCGOPStatus();
    2197   }
    2198 #endif
     2218
    21992219  delete pcBitstreamRedirect;
    22002220
Note: See TracChangeset for help on using the changeset viewer.