#[repr(C)]
pub struct TagVideoDecoderStatistics {
Show 26 fields pub uiWidth: c_uint, pub uiHeight: c_uint, pub fAverageFrameSpeedInMs: f32, pub fActualAverageFrameSpeedInMs: f32, pub uiDecodedFrameCount: c_uint, pub uiResolutionChangeTimes: c_uint, pub uiIDRCorrectNum: c_uint, pub uiAvgEcRatio: c_uint, pub uiAvgEcPropRatio: c_uint, pub uiEcIDRNum: c_uint, pub uiEcFrameNum: c_uint, pub uiIDRLostNum: c_uint, pub uiFreezingIDRNum: c_uint, pub uiFreezingNonIDRNum: c_uint, pub iAvgLumaQp: c_int, pub iSpsReportErrorNum: c_int, pub iSubSpsReportErrorNum: c_int, pub iPpsReportErrorNum: c_int, pub iSpsNoExistNalNum: c_int, pub iSubSpsNoExistNalNum: c_int, pub iPpsNoExistNalNum: c_int, pub uiProfile: c_uint, pub uiLevel: c_uint, pub iCurrentActiveSpsId: c_int, pub iCurrentActivePpsId: c_int, pub iStatisticsLogInterval: c_uint,
}
Expand description

@brief Structure for decoder statistics

Fields§

§uiWidth: c_uint

< the width of encode/decode frame

§uiHeight: c_uint

< the height of encode/decode frame

§fAverageFrameSpeedInMs: f32

< average_Decoding_Time

§fActualAverageFrameSpeedInMs: f32

< actual average_Decoding_Time, including freezing pictures

§uiDecodedFrameCount: c_uint

< number of frames

§uiResolutionChangeTimes: c_uint

< uiResolutionChangeTimes

§uiIDRCorrectNum: c_uint

< number of correct IDR received

§uiAvgEcRatio: c_uint

< when EC is on, the average ratio of total EC areas, can be an indicator of reconstruction quality

§uiAvgEcPropRatio: c_uint

< when EC is on, the rough average ratio of propogate EC areas, can be an indicator of reconstruction quality

§uiEcIDRNum: c_uint

< number of actual unintegrity IDR or not received but eced

§uiEcFrameNum: c_uint

<

§uiIDRLostNum: c_uint

< number of whole lost IDR

§uiFreezingIDRNum: c_uint

< number of freezing IDR with error (partly received), under resolution change

§uiFreezingNonIDRNum: c_uint

< number of freezing non-IDR with error

§iAvgLumaQp: c_int

< average luma QP. default: -1, no correct frame outputted

§iSpsReportErrorNum: c_int

< number of Sps Invalid report

§iSubSpsReportErrorNum: c_int

< number of SubSps Invalid report

§iPpsReportErrorNum: c_int

< number of Pps Invalid report

§iSpsNoExistNalNum: c_int

< number of Sps NoExist Nal

§iSubSpsNoExistNalNum: c_int

< number of SubSps NoExist Nal

§iPpsNoExistNalNum: c_int

< number of Pps NoExist Nal

§uiProfile: c_uint

< Profile idc in syntax

§uiLevel: c_uint

< level idc according to Annex A-1

§iCurrentActiveSpsId: c_int

< current active SPS id

§iCurrentActivePpsId: c_int

< current active PPS id

§iStatisticsLogInterval: c_uint

< frame interval of statistics log

Trait Implementations§

source§

impl Clone for TagVideoDecoderStatistics

source§

fn clone(&self) -> TagVideoDecoderStatistics

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TagVideoDecoderStatistics

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TagVideoDecoderStatistics

source§

fn default() -> TagVideoDecoderStatistics

Returns the “default value” for a type. Read more
source§

impl PartialEq for TagVideoDecoderStatistics

source§

fn eq(&self, other: &TagVideoDecoderStatistics) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for TagVideoDecoderStatistics

source§

fn partial_cmp(&self, other: &TagVideoDecoderStatistics) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

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 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for TagVideoDecoderStatistics

source§

impl StructuralPartialEq for TagVideoDecoderStatistics

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.