Changeset 1334 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
22 Jul 2015, 01:55:58 (9 years ago)
Author:
seregin
Message:

port rev 4412

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1333 r1334  
    382382  std::string m_summaryOutFilename;                           ///< filename to use for producing summary output file.
    383383  std::string m_summaryPicFilenameBase;                       ///< Base filename to use for producing summary picture output files. The actual filenames used will have I.txt, P.txt and B.txt appended.
     384  UInt        m_summaryVerboseness;                           ///< Specifies the level of the verboseness of the text output.
    384385
    385386#if SVC_EXTENSION
     
    10281029  Void      setSummaryPicFilenameBase(const std::string &s)          { m_summaryPicFilenameBase = s; }
    10291030  const std::string& getSummaryPicFilenameBase() const               { return m_summaryPicFilenameBase; }
     1031  Void      setSummaryVerboseness(UInt v)                            { m_summaryVerboseness = v; }
     1032  UInt      getSummaryVerboseness( ) const                           { return m_summaryVerboseness; }
    10301033
    10311034#if Q0189_TMVP_CONSTRAINTS
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1333 r1334  
    30773077}
    30783078
    3079 #if VERBOSE_RATE
    30803079static const Char* nalUnitTypeToString(NalUnitType type)
    30813080{
     
    31103109  }
    31113110}
    3112 #endif
    31133111
    31143112Void TEncGOP::xCalculateAddPSNRs( const Bool isField, const Bool isFieldTopFieldFirst, const Int iGOPid, TComPic* pcPic, const AccessUnit&accessUnit, TComList<TComPic*> &rcListPic, const Double dEncTime, const InputColourSpaceConversion snr_conversion, const Bool printFrameMSE )
     
    32423240  {
    32433241    UInt numRBSPBytes_nal = UInt((*it)->m_nalUnitData.str().size());
    3244 #if VERBOSE_RATE
    3245     printf("*** %6s numBytesInNALunit: %u\n", nalUnitTypeToString((*it)->m_nalUnitType), numRBSPBytes_nal);
    3246 #endif
     3242    if (m_pcCfg->getSummaryVerboseness() > 0)
     3243    {
     3244      printf("*** %6s numBytesInNALunit: %u\n", nalUnitTypeToString((*it)->m_nalUnitType), numRBSPBytes_nal);
     3245    }
    32473246    if ((*it)->m_nalUnitType != NAL_UNIT_PREFIX_SEI && (*it)->m_nalUnitType != NAL_UNIT_SUFFIX_SEI)
    32483247    {
Note: See TracChangeset for help on using the changeset viewer.