Changeset 655 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncAnalyze.h
- Timestamp:
- 23 Oct 2013, 23:01:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncAnalyze.h
r608 r655 116 116 } 117 117 118 Void printOutInterlaced ( Char cDelim, Double bits ) 119 { 120 Double dFps = m_dFrmRate; //--CFG_KDY 121 Double dScale = dFps / 1000 / (Double)m_uiNumPic; 122 123 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR \n" ); 124 //printf( "\t------------ " " ----------" " -------- " " -------- " " --------\n" ); 125 printf( "\t %8d %c" "%12.4lf " "%8.4lf " "%8.4lf " "%8.4lf\n", 126 getNumPic(), cDelim, 127 bits * dScale, 128 getPsnrY() / (Double)getNumPic(), 129 getPsnrU() / (Double)getNumPic(), 130 getPsnrV() / (Double)getNumPic() ); 131 } 132 133 Void printSummaryOutInterlaced (Int bits) 134 { 135 FILE* pFile = fopen ("summaryTotal.txt", "at"); 136 Double dFps = m_dFrmRate; //--CFG_KDY 137 Double dScale = dFps / 1000 / (Double)m_uiNumPic; 138 139 fprintf(pFile, "%f\t %f\t %f\t %f\n", bits * dScale, 140 getPsnrY() / (Double)getNumPic(), 141 getPsnrU() / (Double)getNumPic(), 142 getPsnrV() / (Double)getNumPic() ); 143 fclose(pFile); 144 } 145 146 118 147 Void printSummary(Char ch) 119 148 { … … 155 184 extern TEncAnalyze m_gcAnalyzeP; 156 185 extern TEncAnalyze m_gcAnalyzeB; 186 187 extern TEncAnalyze m_gcAnalyzeAll_in; 157 188 #endif 158 189
Note: See TracChangeset for help on using the changeset viewer.