Changeset 373 in 3DVCSoftware for branches/HTM-6.2-dev2-Qualcomm/source/App


Ignore:
Timestamp:
5 May 2013, 05:25:40 (12 years ago)
Author:
zhang
Message:

JCT3V-D0177: ARP

Location:
branches/HTM-6.2-dev2-Qualcomm/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev2-Qualcomm/source/App/TAppEncoder/TAppEncCfg.cpp

    r332 r373  
    383383#endif
    384384#if H3D_IVRP
     385#if QC_ARP_D0177
     386  ("MultiviewResPred", m_nUseAdvResPred,           (UInt)0, "usage of Advanced residual prediction" )
     387#else
    385388  ("MultiviewResPred", m_uiMultiviewResPredMode,   (UInt)0, "usage of inter-view residual prediction" )
     389#endif
    386390#endif
    387391
     
    917921#endif
    918922#if H3D_IVRP
     923#if QC_ARP_D0177
     924  xConfirmPara     ( m_nUseAdvResPred < 0 || m_nUseAdvResPred > 1 , "0<=ARP<=1" );
     925#else
    919926  xConfirmPara    ( m_uiMultiviewResPredMode > 1,                                     "MultiviewResPred must be less than or equal to 1" );
    920927  xConfirmPara    ( m_uiMultiviewResPredMode > 0 && m_uiPredDepthMapGeneration == 0 , "MultiviewResPred > 0 requires PredDepthMapGen > 0" );
     928#endif
    921929#endif
    922930  if( m_bUsingDepthMaps )
     
    16721680  printf("IVSEnable: %d ", m_bUseIVS);
    16731681#endif
     1682#if QC_ARP_D0177
     1683  printf(" ARP:%d  " , m_nUseAdvResPred  );
     1684#endif
    16741685  printf("\n");
    16751686
  • branches/HTM-6.2-dev2-Qualcomm/source/App/TAppEncoder/TAppEncCfg.h

    r332 r373  
    217217  Double    m_dMultiviewMvRegLambdaScale;                     ///< lambda scale for multiview motion vectors regularization
    218218#endif
    219 #if H3D_IVRP
     219#if H3D_IVRP
     220#if QC_ARP_D0177
     221  UInt      m_nUseAdvResPred;
     222#else
    220223  UInt      m_uiMultiviewResPredMode;          ///< using multiview residual prediction
     224#endif
    221225#endif
    222226
  • branches/HTM-6.2-dev2-Qualcomm/source/App/TAppEncoder/TAppEncTop.cpp

    r332 r373  
    223223#endif
    224224#if H3D_IVRP
     225#if QC_ARP_D0177
     226    m_acTEncTopList[iViewIdx]->setUseAdvRP                     ( iViewIdx ? m_nUseAdvResPred             : 0   );
     227    m_acTEncTopList[iViewIdx]->setARPStepNum                   ( iViewIdx ? QC_ARP_WFNR                  : 1   );
     228#else
    225229    m_acTEncTopList[iViewIdx]->setMultiviewResPredMode         ( m_uiMultiviewResPredMode );
     230#endif
    226231#endif
    227232
     
    560565      m_acTEncDepthTopList[iViewIdx]->setMultiviewMvRegLambdaScale    ( 0.0 );
    561566#endif
    562 #if H3D_IVRP
    563       m_acTEncDepthTopList[iViewIdx]->setMultiviewResPredMode         ( 0 );
     567#if H3D_IVRP
     568#if QC_ARP_D0177
     569    m_acTEncDepthTopList[iViewIdx]->setUseAdvRP                          ( 0 );
     570    m_acTEncDepthTopList[iViewIdx]->setARPStepNum                        ( 1 );
     571#else
     572    m_acTEncDepthTopList[iViewIdx]->setMultiviewResPredMode         ( 0 );
     573#endif
    564574#endif
    565575
Note: See TracChangeset for help on using the changeset viewer.