Ignore:
Timestamp:
18 Oct 2013, 04:44:23 (11 years ago)
Author:
kwu-htm
Message:

Macro enclosed and cleaned-up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-KWU/source/App/TAppEncoder/TAppEncTop.cpp

    r637 r638  
    536536  if(m_cTEncTop.getUseRateCtrl() && !m_cTEncTop.getIsDepth())
    537537  {
    538     m_cTEncTop.setUseDepthMADPred(layerIdInVps ? m_DepthMADPred       : 0);
     538    m_cTEncTop.setUseDepthMADPred(layerIdInVps ? m_depthMADPred       : 0);
    539539
    540540    if(m_cTEncTop.getUseDepthMADPred())
     
    547547  if(m_cTEncTop.getUseRateCtrl() && !m_cTEncTop.getIsDepth())
    548548  {
    549     m_cTEncTop.setUseViewWiseRateCtrl(m_ViewWiseRateCtrl);
     549    m_cTEncTop.setUseViewWiseRateCtrl(m_viewWiseRateCtrl);
    550550
    551551    if(m_iNumberOfViews == 1)
    552552    {
    553       if(m_ViewWiseRateCtrl)
    554       {
    555         m_cTEncTop.setTargetBitrate(m_ViewTargetBits[layerIdInVps>>1]);
     553      if(m_viewWiseRateCtrl)
     554      {
     555        m_cTEncTop.setTargetBitrate(m_viewTargetBits[layerIdInVps>>1]);
    556556      }
    557557      else
     
    562562    else
    563563    {
    564       if(m_ViewWiseRateCtrl)
    565       {
    566         m_cTEncTop.setTargetBitrate(m_ViewTargetBits[layerIdInVps>>1]);
     564      if(m_viewWiseRateCtrl)
     565      {
     566        m_cTEncTop.setTargetBitrate(m_viewTargetBits[layerIdInVps>>1]);
    567567      }
    568568      else
     
    624624  if(m_cTEncTop.getUseRateCtrl() && !m_cTEncTop.getIsDepth())
    625625  {
    626     m_cTEncTop.setUseDepthMADPred(layerIdInVps ? m_DepthMADPred       : 0);
     626    m_cTEncTop.setUseDepthMADPred(layerIdInVps ? m_depthMADPred       : 0);
    627627
    628628    if(m_cTEncTop.getUseDepthMADPred())
     
    636636  if(m_cTEncTop.getUseRateCtrl() && !m_cTEncTop.getIsDepth())
    637637  {
    638     m_cTEncTop.setUseViewWiseRateCtrl(m_ViewWiseRateCtrl);
     638    m_cTEncTop.setUseViewWiseRateCtrl(m_viewWiseRateCtrl);
    639639    if(m_iNumberOfViews == 1)
    640640    {
    641       if(m_ViewWiseRateCtrl)
    642       {
    643         m_cTEncTop.setTargetBitrate(m_ViewTargetBits[layerIdInVps>>1]);
     641      if(m_viewWiseRateCtrl)
     642      {
     643        m_cTEncTop.setTargetBitrate(m_viewTargetBits[layerIdInVps>>1]);
    644644      }
    645645      else
     
    650650    else
    651651    {
    652       if(m_ViewWiseRateCtrl)
    653       {
    654         m_cTEncTop.setTargetBitrate(m_ViewTargetBits[layerIdInVps>>1]);
     652      if(m_viewWiseRateCtrl)
     653      {
     654        m_cTEncTop.setTargetBitrate(m_viewTargetBits[layerIdInVps>>1]);
    655655      }
    656656      else
Note: See TracChangeset for help on using the changeset viewer.