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_ulongiLastStatisticsBytes: c_ulongiLastStatisticsFrameCount: c_ulong

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.