Type Alias openh264_sys2::SEncoderStatistics
source · pub type SEncoderStatistics = TagVideoEncoderStatistics;
Expand description
@brief Structure for encoder statistics
Aliased Type§
struct SEncoderStatistics {Show 17 fields
pub uiWidth: u32,
pub uiHeight: u32,
pub fAverageFrameSpeedInMs: f32,
pub fAverageFrameRate: f32,
pub fLatestFrameRate: f32,
pub uiBitRate: u32,
pub uiAverageFrameQP: u32,
pub uiInputFrameCount: u32,
pub uiSkippedFrameCount: u32,
pub uiResolutionChangeTimes: u32,
pub uiIDRReqNum: u32,
pub uiIDRSentNum: u32,
pub uiLTRSentNum: u32,
pub iStatisticsTs: i64,
pub iTotalEncodedBytes: u64,
pub iLastStatisticsBytes: u64,
pub iLastStatisticsFrameCount: u64,
}
Fields§
§uiWidth: u32
< the width of encoded frame
uiHeight: u32
< the height of encoded frame
fAverageFrameSpeedInMs: f32
< average_Encoding_Time
fAverageFrameRate: f32
< the average frame rate in, calculate since encoding starts, supposed that the input timestamp is in unit of ms
fLatestFrameRate: f32
< the frame rate in, in the last second, supposed that the input timestamp is in unit of ms (? useful for checking BR, but is it easy to calculate?
uiBitRate: u32
< sendrate in Bits per second, calculated within the set time-window
uiAverageFrameQP: u32
< the average QP of last encoded frame
uiInputFrameCount: u32
< number of frames
uiSkippedFrameCount: u32
< number of frames
uiResolutionChangeTimes: u32
< uiResolutionChangeTimes
uiIDRReqNum: u32
< number of IDR requests
uiIDRSentNum: u32
< number of actual IDRs sent
uiLTRSentNum: u32
< number of LTR sent/marked
iStatisticsTs: i64
< Timestamp of updating the statistics
iTotalEncodedBytes: u64
§iLastStatisticsBytes: u64
§iLastStatisticsFrameCount: u64