reset decoder number related statistics info
| 1181 | |
| 1182 | //reset decoder number related statistics info |
| 1183 | void ResetDecStatNums (SDecoderStatistics* pDecStat) { |
| 1184 | uint32_t uiWidth = pDecStat->uiWidth; |
| 1185 | uint32_t uiHeight = pDecStat->uiHeight; |
| 1186 | int32_t iAvgLumaQp = pDecStat->iAvgLumaQp; |
| 1187 | uint32_t iLogInterval = pDecStat->iStatisticsLogInterval; |
| 1188 | uint32_t uiProfile = pDecStat->uiProfile; |
| 1189 | uint32_t uiLevel = pDecStat->uiLevel; |
| 1190 | memset (pDecStat, 0, sizeof (SDecoderStatistics)); |
| 1191 | pDecStat->uiWidth = uiWidth; |
| 1192 | pDecStat->uiHeight = uiHeight; |
| 1193 | pDecStat->iAvgLumaQp = iAvgLumaQp; |
| 1194 | pDecStat->iStatisticsLogInterval = iLogInterval; |
| 1195 | pDecStat->uiProfile = uiProfile; |
| 1196 | pDecStat->uiLevel = uiLevel; |
| 1197 | } |
| 1198 | |
| 1199 | //update information when freezing occurs, including IDR/non-IDR number |
| 1200 | void UpdateDecStatFreezingInfo (const bool kbIdrFlag, SDecoderStatistics* pDecStat) { |
no outgoing calls
no test coverage detected