Ticket #1382: printSummary_fixed.patch
File printSummary_fixed.patch, 1.9 KB (added by jani.lainema, 10 years ago) |
---|
-
Lib/TLibCommon/CommonDef.h
110 110 // Common constants 111 111 // ==================================================================================================================== 112 112 113 #define _SUMMARY_OUT_ 0///< print-out PSNR results of all slices to summary.txt113 #define _SUMMARY_OUT_ 1 ///< print-out PSNR results of all slices to summary.txt 114 114 #define _SUMMARY_PIC_ 0 ///< print-out PSNR results for each slice type to summary.txt 115 115 116 116 #define MAX_GOP 64 ///< max. value of hierarchical GOP size -
Lib/TLibEncoder/TEncGOP.cpp
1770 1770 m_gcAnalyzeB.printOut('b', chFmt, printMSEBasedSNR, printSequenceMSE, bitDepths); 1771 1771 1772 1772 #if _SUMMARY_OUT_ 1773 m_gcAnalyzeAll.printSummary(chFmt, printSequenceMSE );1773 m_gcAnalyzeAll.printSummary(chFmt, printSequenceMSE, bitDepths); 1774 1774 #endif 1775 1775 #if _SUMMARY_PIC_ 1776 m_gcAnalyzeI.printSummary(chFmt, printSequenceMSE, 'I');1777 m_gcAnalyzeP.printSummary(chFmt, printSequenceMSE, 'P');1778 m_gcAnalyzeB.printSummary(chFmt, printSequenceMSE, 'B');1776 m_gcAnalyzeI.printSummary(chFmt, printSequenceMSE, bitDepths, 'I'); 1777 m_gcAnalyzeP.printSummary(chFmt, printSequenceMSE, bitDepths, 'P'); 1778 m_gcAnalyzeB.printSummary(chFmt, printSequenceMSE, bitDepths, 'B'); 1779 1779 #endif 1780 1780 1781 1781 if(isField) … … 1789 1789 m_gcAnalyzeAll_in.printOut('a', chFmt, printMSEBasedSNR, printSequenceMSE, bitDepths); 1790 1790 1791 1791 #if _SUMMARY_OUT_ 1792 m_gcAnalyzeAll_in.printSummary(chFmt, printSequenceMSE );1792 m_gcAnalyzeAll_in.printSummary(chFmt, printSequenceMSE, bitDepths); 1793 1793 #endif 1794 1794 } 1795 1795