[][src]Struct mmal_sys::MMAL_PARAMETER_STATISTICS_T

#[repr(C)]
pub struct MMAL_PARAMETER_STATISTICS_T {
    pub hdr: MMAL_PARAMETER_HEADER_T,
    pub buffer_count: u32,
    pub frame_count: u32,
    pub frames_skipped: u32,
    pub frames_discarded: u32,
    pub eos_seen: u32,
    pub maximum_frame_bytes: u32,
    pub total_bytes: i64,
    pub corrupt_macroblocks: u32,
}

Port statistics for debugging/test purposes. Ports may support query of this parameter to return statistics for debugging or test purposes. Not all values may be relevant for a given port.

Fields

hdr: MMAL_PARAMETER_HEADER_Tbuffer_count: u32

< Total number of buffers processed

frame_count: u32

< Total number of frames processed

frames_skipped: u32

< Number of frames without expected PTS based on frame rate

frames_discarded: u32

< Number of frames discarded

eos_seen: u32

< Set if the end of stream has been reached

maximum_frame_bytes: u32

< Maximum frame size in bytes

total_bytes: i64

< Total number of bytes processed

corrupt_macroblocks: u32

< Number of corrupt macroblocks in the stream

Trait Implementations

impl Clone for MMAL_PARAMETER_STATISTICS_T[src]

impl Copy for MMAL_PARAMETER_STATISTICS_T[src]

impl Debug for MMAL_PARAMETER_STATISTICS_T[src]

Auto Trait Implementations

impl Send for MMAL_PARAMETER_STATISTICS_T

impl Unpin for MMAL_PARAMETER_STATISTICS_T

impl Sync for MMAL_PARAMETER_STATISTICS_T

impl UnwindSafe for MMAL_PARAMETER_STATISTICS_T

impl RefUnwindSafe for MMAL_PARAMETER_STATISTICS_T

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]