Changeset 1164 in 3DVCSoftware for branches/HTM-13.1-dev0/source/App/TAppEncoder


Ignore:
Timestamp:
16 Mar 2015, 12:52:20 (10 years ago)
Author:
tech
Message:

Merged 13.1-dev2-Sony

Location:
branches/HTM-13.1-dev0/source/App/TAppEncoder
Files:
3 edited

Legend:

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

    r1163 r1164  
    477477  ("FastSearch",              m_iFastSearch,                1, "0:Full search  1:Diamond  2:PMVFAST")
    478478  ("SearchRange,-sr",         m_iSearchRange,              96, "Motion search range")
     479#ifdef SONY_MV_V_CONST_C0078
     480  ("DispSearchRangeRestriction",  m_bUseDisparitySearchRangeRestriction, false, "restrict disparity search range")
     481  ("VerticalDispSearchRange",     m_iVerticalDisparitySearchRange, 56, "vertical disparity search range")
     482#endif
    479483  ("BipredSearchRange",       m_bipredSearchRange,          4, "Motion search range for bipred refinement")
    480484  ("HadamardME",              m_bUseHADME,               true, "Hadamard ME for fractional-pel")
     
    15861590  xConfirmPara( m_iSearchRange < 0 ,                                                        "Search Range must be more than 0" );
    15871591  xConfirmPara( m_bipredSearchRange < 0 ,                                                   "Search Range must be more than 0" );
     1592#ifdef SONY_MV_V_CONST_C0078
     1593  xConfirmPara( m_iVerticalDisparitySearchRange <= 0 ,                                      "Vertical Disparity Search Range must be more than 0" );
     1594#endif
    15881595  xConfirmPara( m_iMaxDeltaQP > 7,                                                          "Absolute Delta QP exceeds supported range (0 to 7)" );
    15891596  xConfirmPara( m_iMaxCuDQPDepth > m_uiMaxCUDepth - 1,                                          "Absolute depth for a minimum CuDQP exceeds maximum coding unit depth" );
     
    24572464  printf("Min PCM size                 : %d\n", 1 << m_uiPCMLog2MinSize);
    24582465  printf("Motion search range          : %d\n", m_iSearchRange );
     2466#ifdef SONY_MV_V_CONST_C0078
     2467  printf("Disp search range restriction: %d\n", m_bUseDisparitySearchRangeRestriction );
     2468  printf("Vertical disp search range   : %d\n", m_iVerticalDisparitySearchRange );
     2469#endif
    24592470#if H_MV
    24602471  xPrintParaVector( "Intra period", m_iIntraPeriod );
  • branches/HTM-13.1-dev0/source/App/TAppEncoder/TAppEncCfg.h

    r1163 r1164  
    289289  Int       m_iSearchRange;                                   ///< ME search range
    290290  Int       m_bipredSearchRange;                              ///< ME search range for bipred refinement
     291#ifdef SONY_MV_V_CONST_C0078
     292  Bool      m_bUseDisparitySearchRangeRestriction;            ///< restrict vertical search range for inter-view prediction
     293  Int       m_iVerticalDisparitySearchRange;                  ///< ME vertical search range for inter-view prediction
     294#endif
    291295  Bool      m_bUseFastEnc;                                    ///< flag for using fast encoder setting
    292296  Bool      m_bUseEarlyCU;                                    ///< flag for using Early CU setting
  • branches/HTM-13.1-dev0/source/App/TAppEncoder/TAppEncTop.cpp

    r1163 r1164  
    352352  m_cTEncTop.setBipredSearchRange            ( m_bipredSearchRange );
    353353
     354#if SONY_MV_V_CONST_C0078
     355  m_cTEncTop.setUseDisparitySearchRangeRestriction ( m_bUseDisparitySearchRangeRestriction );
     356  m_cTEncTop.setVerticalDisparitySearchRange ( m_iVerticalDisparitySearchRange );
     357#endif
    354358  //====== Quality control ========
    355359  m_cTEncTop.setMaxDeltaQP                   ( m_iMaxDeltaQP  );
Note: See TracChangeset for help on using the changeset viewer.