Changeset 54 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncAnalyze.h
- Timestamp:
- 2 Mar 2013, 09:25:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncAnalyze.h
r51 r54 88 88 Void setFrmRate (Double dFrameRate) { m_dFrmRate = dFrameRate; } //--CFG_KDY 89 89 Void clear() { m_dPSNRSumY = m_dPSNRSumU = m_dPSNRSumV = m_dAddBits = m_uiNumPic = 0; } 90 #if SVC_EXTENSION 91 Void printOut ( Char cDelim, UInt layer ) 92 { 93 Double dFps = m_dFrmRate; //--CFG_KDY 94 Double dScale = dFps / 1000 / (Double)m_uiNumPic; 95 96 printf( " L%d\t %8d %c" "%12.4lf " "%8.4lf " "%8.4lf " "%8.4lf\n", 97 layer, 98 getNumPic(), cDelim, 99 getBits() * dScale, 100 getPsnrY() / (Double)getNumPic(), 101 getPsnrU() / (Double)getNumPic(), 102 getPsnrV() / (Double)getNumPic() ); 103 } 104 #else 90 105 Void printOut ( Char cDelim ) 91 106 { … … 102 117 getPsnrV() / (Double)getNumPic() ); 103 118 } 119 #endif 104 120 105 121 Void printSummaryOut () … … 150 166 }; 151 167 168 #if SVC_EXTENSION 169 extern TEncAnalyze m_gcAnalyzeAll [MAX_LAYERS]; 170 extern TEncAnalyze m_gcAnalyzeI [MAX_LAYERS]; 171 extern TEncAnalyze m_gcAnalyzeP [MAX_LAYERS]; 172 extern TEncAnalyze m_gcAnalyzeB [MAX_LAYERS]; 173 #else 152 174 extern TEncAnalyze m_gcAnalyzeAll; 153 175 extern TEncAnalyze m_gcAnalyzeI; 154 176 extern TEncAnalyze m_gcAnalyzeP; 155 177 extern TEncAnalyze m_gcAnalyzeB; 178 #endif 156 179 157 180 //! \}
Note: See TracChangeset for help on using the changeset viewer.