Changeset 1548 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder


Ignore:
Timestamp:
23 Mar 2016, 00:16:54 (9 years ago)
Author:
seregin
Message:

port rev 4731

Location:
branches/SHM-dev/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1545 r1548  
    13651365  ("MaxNumOffsetsPerPic",                             m_maxNumOffsetsPerPic,                             2048, "Max number of SAO offset per picture (Default: 2048)")
    13661366  ("SAOLcuBoundary",                                  m_saoCtuBoundary,                                 false, "0: right/bottom CTU boundary areas skipped from SAO parameter estimation, 1: non-deblocked pixels are used for those areas")
     1367#if OPTIONAL_RESET_SAO_ENCODING_AFTER_IRAP
     1368  ("SAOResetEncoderStateAfterIRAP",                   m_saoResetEncoderStateAfterIRAP,                  false, "When true, resets the encoder's SAO state after an IRAP (POC order). Disabled by default.")
     1369#endif
    13671370  ("SliceMode",                                       tmpSliceMode,                            Int(NO_SLICES), "0: Disable all Recon slice limits, 1: Enforce max # of CTUs, 2: Enforce max # of bytes, 3:specify tiles per dependent slice")
    13681371  ("SliceArgument",                                   m_sliceArgument,                                      0, "Depending on SliceMode being:"
     
    34643467    xConfirmPara( m_iIntraPeriod > 0 && m_iIntraPeriod <= m_iGOPSize ,                      "Intra period must be larger than GOP size for periodic IDR pictures");
    34653468  }
     3469#if OPTIONAL_RESET_SAO_ENCODING_AFTER_IRAP
     3470  if (m_saoResetEncoderStateAfterIRAP)
     3471  {
     3472    xConfirmPara( m_iIntraPeriod > 0 && m_iIntraPeriod <= m_iGOPSize ,                      "Intra period must be larger than GOP size when SAOResetEncoderStateAfterIRAP is enabled");
     3473  }
     3474#endif
    34663475  xConfirmPara( m_uiMaxCUDepth < 1,                                                         "MaxPartitionDepth must be greater than zero");
    34673476  xConfirmPara( (m_uiMaxCUWidth  >> m_uiMaxCUDepth) < 4,                                    "Minimum partition width size should be larger than or equal to 8");
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1545 r1548  
    322322  Int       m_maxNumOffsetsPerPic;                            ///< SAO maximun number of offset per picture
    323323  Bool      m_saoCtuBoundary;                                 ///< SAO parameter estimation using non-deblocked pixels for CTU bottom and right boundary areas
     324#if OPTIONAL_RESET_SAO_ENCODING_AFTER_IRAP
     325  Bool      m_saoResetEncoderStateAfterIRAP;                  ///< When true, SAO encoder state will be reset following an IRAP.
     326#endif
    324327  // coding tools (loop filter)
    325328  Bool      m_bLoopFilterDisable;                             ///< flag for using deblocking filter
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1545 r1548  
    731731
    732732  m_cTEncTop.setSaoCtuBoundary                                    ( m_saoCtuBoundary);
     733#if OPTIONAL_RESET_SAO_ENCODING_AFTER_IRAP
     734  m_cTEncTop.setSaoResetEncoderStateAfterIRAP                     ( m_saoResetEncoderStateAfterIRAP);
     735#endif
    733736  m_cTEncTop.setPCMInputBitDepthFlag                              ( m_bPCMInputBitDepthFlag);
    734737  m_cTEncTop.setPCMFilterDisableFlag                              ( m_bPCMFilterDisableFlag);
Note: See TracChangeset for help on using the changeset viewer.