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
sourceimpl Clone for TagVideoEncoderStatistics
impl Clone for TagVideoEncoderStatistics
sourcefn clone(&self) -> TagVideoEncoderStatistics
fn clone(&self) -> TagVideoEncoderStatistics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TagVideoEncoderStatistics
impl Debug for TagVideoEncoderStatistics
sourceimpl Default for TagVideoEncoderStatistics
impl Default for TagVideoEncoderStatistics
sourcefn default() -> TagVideoEncoderStatistics
fn default() -> TagVideoEncoderStatistics
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TagVideoEncoderStatistics> for TagVideoEncoderStatistics
impl PartialEq<TagVideoEncoderStatistics> for TagVideoEncoderStatistics
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TagVideoEncoderStatistics) -> bool
fn ne(&self, other: &TagVideoEncoderStatistics) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TagVideoEncoderStatistics> for TagVideoEncoderStatistics
impl PartialOrd<TagVideoEncoderStatistics> for TagVideoEncoderStatistics
sourcefn partial_cmp(&self, other: &TagVideoEncoderStatistics) -> Option<Ordering>
fn partial_cmp(&self, other: &TagVideoEncoderStatistics) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for TagVideoEncoderStatistics
impl StructuralPartialEq for TagVideoEncoderStatistics
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more