Struct openh264_sys2::TagVideoEncoderStatistics [−][src]
#[repr(C)]pub struct TagVideoEncoderStatistics {Show 17 fields
pub uiWidth: c_uint,
pub uiHeight: c_uint,
pub fAverageFrameSpeedInMs: f32,
pub fAverageFrameRate: f32,
pub fLatestFrameRate: f32,
pub uiBitRate: c_uint,
pub uiAverageFrameQP: c_uint,
pub uiInputFrameCount: c_uint,
pub uiSkippedFrameCount: c_uint,
pub uiResolutionChangeTimes: c_uint,
pub uiIDRReqNum: c_uint,
pub uiIDRSentNum: c_uint,
pub uiLTRSentNum: c_uint,
pub iStatisticsTs: c_longlong,
pub iTotalEncodedBytes: c_ulong,
pub iLastStatisticsBytes: c_ulong,
pub iLastStatisticsFrameCount: c_ulong,
}
Expand description
@brief Structure for encoder statistics
Fields
uiWidth: c_uint
< the width of encoded frame
uiHeight: c_uint
< 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: c_uint
< sendrate in Bits per second, calculated within the set time-window
uiAverageFrameQP: c_uint
< the average QP of last encoded frame
uiInputFrameCount: c_uint
< number of frames
uiSkippedFrameCount: c_uint
< number of frames
uiResolutionChangeTimes: c_uint
< uiResolutionChangeTimes
uiIDRReqNum: c_uint
< number of IDR requests
uiIDRSentNum: c_uint
< number of actual IDRs sent
uiLTRSentNum: c_uint
< number of LTR sent/marked
iStatisticsTs: c_longlong
< Timestamp of updating the statistics
iTotalEncodedBytes: c_ulong
iLastStatisticsBytes: c_ulong
iLastStatisticsFrameCount: c_ulong
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TagVideoEncoderStatistics
impl Send for TagVideoEncoderStatistics
impl Sync for TagVideoEncoderStatistics
impl Unpin for TagVideoEncoderStatistics
impl UnwindSafe for TagVideoEncoderStatistics
Blanket Implementations
Mutably borrows from an owned value. Read more