Struct openh264_sys2::TagVideoEncoderStatistics
source · #[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§
source§impl Clone for TagVideoEncoderStatistics
impl Clone for TagVideoEncoderStatistics
source§fn clone(&self) -> TagVideoEncoderStatistics
fn clone(&self) -> TagVideoEncoderStatistics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TagVideoEncoderStatistics
impl Debug for TagVideoEncoderStatistics
source§impl Default for TagVideoEncoderStatistics
impl Default for TagVideoEncoderStatistics
source§fn default() -> TagVideoEncoderStatistics
fn default() -> TagVideoEncoderStatistics
Returns the “default value” for a type. Read more
source§impl PartialEq for TagVideoEncoderStatistics
impl PartialEq for TagVideoEncoderStatistics
source§fn eq(&self, other: &TagVideoEncoderStatistics) -> bool
fn eq(&self, other: &TagVideoEncoderStatistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TagVideoEncoderStatistics
impl PartialOrd for TagVideoEncoderStatistics
source§fn partial_cmp(&self, other: &TagVideoEncoderStatistics) -> Option<Ordering>
fn partial_cmp(&self, other: &TagVideoEncoderStatistics) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TagVideoEncoderStatistics
impl StructuralPartialEq for TagVideoEncoderStatistics
Auto Trait Implementations§
impl Freeze for TagVideoEncoderStatistics
impl RefUnwindSafe for TagVideoEncoderStatistics
impl Send for TagVideoEncoderStatistics
impl Sync for TagVideoEncoderStatistics
impl Unpin for TagVideoEncoderStatistics
impl UnwindSafe for TagVideoEncoderStatistics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more