Changeset 185 in 3DVCSoftware for branches/HTM-4.1-dev0/source/App


Ignore:
Timestamp:
14 Nov 2012, 20:45:12 (12 years ago)
Author:
tech
Message:

Reintegrated /branches/HTM-4.1-dev1-HHI rev. 176.

Location:
branches/HTM-4.1-dev0/source/App
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev0/source/App/TAppEncoder/TAppEncCfg.cpp

    r183 r185  
    457457                                              "\t0: disable")
    458458
     459#if TMVP_DEPTH_SWITCH
     460  ("TMVP", m_enableTMVP, std::vector<Bool>(1,true), "Enable TMVP" )
     461#else
    459462  ("TMVP", m_enableTMVP, true, "Enable TMVP" )
     463#endif
    460464
    461465  ("FEN", m_bUseFastEnc, false, "fast encoder setting")
     
    690694#endif
    691695  xCleanUpVectors();
     696
     697
     698#if TMVP_DEPTH_SWITCH
     699  if ( m_enableTMVP.size() < 2)
     700  {
     701    m_enableTMVP.push_back( m_enableTMVP[0]  );
     702  }
     703#endif
     704 
    692705
    693706#if HHI_VSO
     
    17111724  printf(" ScalingList:%d ", m_useScalingListId );
    17121725
     1726#if !TMVP_DEPTH_SWITCH
    17131727  printf("TMVP:%d ", m_enableTMVP     );
     1728#endif
    17141729
    17151730#if ADAPTIVE_QP_SELECTION
     
    17251740  printf("SAO:%d ", (m_abUseSAO [0] ? 1 : 0));
    17261741  printf("RDQ:%d ", (m_abUseRDOQ[0] ? 1 : 0) );
     1742#if TMVP_DEPTH_SWITCH
     1743  printf("TMVP:%d ", (m_enableTMVP[0] ? 1 : 0) );
     1744#endif
    17271745#if LGE_ILLUCOMP_B0045
    17281746  printf("IlluCompEnable: %d ", m_bUseIC);
    17291747#endif
     1748
    17301749  printf("\n");
    17311750
     
    17341753  printf("SAO:%d ", (m_abUseSAO [1] ? 1 : 0));
    17351754  printf("RDQ:%d ", (m_abUseRDOQ[1] ? 1 : 0));
     1755#if TMVP_DEPTH_SWITCH
     1756  printf("TMVP:%d ", (m_enableTMVP[1] ? 1 : 0) );
     1757#endif
    17361758#if HHI_VSO
    17371759  printf("VSO:%d ", m_bUseVSO             );
  • branches/HTM-4.1-dev0/source/App/TAppEncoder/TAppEncCfg.h

    r181 r185  
    261261  UInt      m_uiBiPredIdc;                                    ///< Use of Bi-Directional Weighting Prediction (B_SLICE): explicit(1) or implicit(2)
    262262
     263#if TMVP_DEPTH_SWITCH
     264  vector<Bool> m_enableTMVP;                                  ///< Enable TMVP [0] video, [1] depth
     265#else
    263266  Bool      m_enableTMVP;
     267#endif
     268
    264269#if MULTIBITS_DATA_HIDING
    265270  Int       m_signHideFlag;
  • branches/HTM-4.1-dev0/source/App/TAppEncoder/TAppEncTop.cpp

    r183 r185  
    345345    m_acTEncTopList[iViewIdx]->setWaveFrontFlush             ( m_iWaveFrontFlush );
    346346    m_acTEncTopList[iViewIdx]->setWaveFrontSubstreams        ( m_iWaveFrontSubstreams );
     347#if TMVP_DEPTH_SWITCH
     348    m_acTEncTopList[iViewIdx]->setEnableTMVP                 ( m_enableTMVP[0] );
     349#else
    347350    m_acTEncTopList[iViewIdx]->setEnableTMVP ( m_enableTMVP );
     351#endif
    348352    m_acTEncTopList[iViewIdx]->setUseScalingListId           ( m_useScalingListId  );
    349353    m_acTEncTopList[iViewIdx]->setScalingListFile            ( m_scalingListFile   );
     
    631635      m_acTEncDepthTopList[iViewIdx]->setWaveFrontFlush             ( m_iWaveFrontFlush );
    632636      m_acTEncDepthTopList[iViewIdx]->setWaveFrontSubstreams        ( m_iWaveFrontSubstreams );
     637#if TMVP_DEPTH_SWITCH
     638      m_acTEncDepthTopList[iViewIdx]->setEnableTMVP                 ( m_enableTMVP[1] );
     639#else
    633640      m_acTEncDepthTopList[iViewIdx]->setEnableTMVP ( m_enableTMVP );
     641#endif
    634642      m_acTEncDepthTopList[iViewIdx]->setUseScalingListId           ( m_useScalingListId  );
    635643      m_acTEncDepthTopList[iViewIdx]->setScalingListFile            ( m_scalingListFile   );
  • branches/HTM-4.1-dev0/source/App/TAppRenderer/TAppRendererCfg.cpp

    r100 r185  
    120120
    121121    /* File I/O */
    122     ("VideoInputFileBaseName",  m_pchVideoInputFileBaseName,  (Char*) 0, "Basename to generate video input file names")
    123     ("DepthInputFileBaseName",  m_pchDepthInputFileBaseName,  (Char*) 0, "Basename to generate depth input file names")
    124     ("SynthOutputFileBaseName", m_pchSynthOutputFileBaseName, (Char*) 0, "Basename to generate synthesized output file names")
     122    ("VideoInputFileBaseName,v",  m_pchVideoInputFileBaseName,  (Char*) 0, "Basename to generate video input file names")
     123    ("DepthInputFileBaseName,d",  m_pchDepthInputFileBaseName,  (Char*) 0, "Basename to generate depth input file names")
     124    ("SynthOutputFileBaseName,s", m_pchSynthOutputFileBaseName, (Char*) 0, "Basename to generate synthesized output file names")
    125125    ("ContOutputFileNumbering", m_bContOutputFileNumbering  ,  false   , "Continuous Output File Numbering")
    126126    ("Sweep"                  , m_bSweep                    ,  false   , "Store all views in first Output File")
     
    137137
    138138    /* Camera Specification */
    139     ("CameraParameterFile,cpf", m_pchCameraParameterFile,          (Char *) 0, "Camera Parameter File Name")
     139    ("CameraParameterFile,-cpf", m_pchCameraParameterFile,          (Char *) 0, "Camera Parameter File Name")
    140140    ("BaseViewCameraNumbers"  , m_pchBaseViewCameraNumbers,        (Char *) 0, "Numbers of base views")
    141141    ("SynthViewCameraNumbers" , m_pchSynthViewCameraNumbers,       (Char *) 0, "Numbers of views to synthesis")
Note: See TracChangeset for help on using the changeset viewer.