Changeset 1334 in SHVCSoftware for branches/SHM-dev/source/App


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

port rev 4412

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

Legend:

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

    r1333 r1334  
    12011201  ("SummaryOutFilename",                              m_summaryOutFilename,                          string(), "Filename to use for producing summary output file. If empty, do not produce a file.")
    12021202  ("SummaryPicFilenameBase",                          m_summaryPicFilenameBase,                      string(), "Base filename to use for producing summary picture output files. The actual filenames used will have I.txt, P.txt and B.txt appended. If empty, do not produce a file.")
     1203  ("SummaryVerboseness",                              m_summaryVerboseness,                                0u, "Specifies the level of the verboseness of the text output")
    12031204
    12041205  //Field coding parameters
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1333 r1334  
    443443  std::string m_summaryOutFilename;                           ///< filename to use for producing summary output file.
    444444  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.
     445  UInt        m_summaryVerboseness;                           ///< Specifies the level of the verboseness of the text output.
    445446
    446447#if LAYERS_NOT_PRESENT_SEI
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1333 r1334  
    728728    m_acTEncTop[layer].setSummaryOutFilename                    ( m_summaryOutFilename );
    729729    m_acTEncTop[layer].setSummaryPicFilenameBase                ( m_summaryPicFilenameBase );
     730    m_acTEncTop[layer].setSummaryVerboseness                    ( m_summaryVerboseness );
    730731
    731732    if( layer > 0 )
     
    11111112  m_cTEncTop.setSummaryOutFilename                                ( m_summaryOutFilename );
    11121113  m_cTEncTop.setSummaryPicFilenameBase                            ( m_summaryPicFilenameBase );
     1114  m_cTEncTop.setSummaryVerboseness                                ( m_summaryVerboseness );
    11131115}
    11141116#endif //SVC_EXTENSION
     
    24372439#endif
    24382440  printf("Bytes written to file: %u (%.3f kbps)\n", m_totalBytes, 0.008 * m_totalBytes / time);
    2439 #if VERBOSE_RATE
    2440   printf("Bytes for SPS/PPS/Slice (Incl. Annex B): %u (%.3f kbps)\n", m_essentialBytes, 0.008 * m_essentialBytes / time);
    2441 #endif
     2441  if (m_summaryVerboseness > 0)
     2442  {
     2443    printf("Bytes for SPS/PPS/Slice (Incl. Annex B): %u (%.3f kbps)\n", m_essentialBytes, 0.008 * m_essentialBytes / time);
     2444  }
    24422445}
    24432446
Note: See TracChangeset for help on using the changeset viewer.