[][src]Struct mmal_sys::MMAL_VIDEO_FORMAT_T

#[repr(C)]
pub struct MMAL_VIDEO_FORMAT_T {
    pub width: u32,
    pub height: u32,
    pub crop: MMAL_RECT_T,
    pub frame_rate: MMAL_RATIONAL_T,
    pub par: MMAL_RATIONAL_T,
    pub color_space: MMAL_FOURCC_T,
}

Definition of a video format. This describes the properties specific to a video stream

Fields

width: u32

< Width of frame in pixels

height: u32

< Height of frame in rows of pixels

crop: MMAL_RECT_T

< Visible region of the frame

frame_rate: MMAL_RATIONAL_T

< Frame rate

par: MMAL_RATIONAL_T

< Pixel aspect ratio

color_space: MMAL_FOURCC_T

< FourCC specifying the color space of the video stream. See the \ref MmalColorSpace "pre-defined color spaces" for some examples.

Trait Implementations

impl Clone for MMAL_VIDEO_FORMAT_T[src]

impl Copy for MMAL_VIDEO_FORMAT_T[src]

impl Debug for MMAL_VIDEO_FORMAT_T[src]

Auto Trait Implementations

impl Send for MMAL_VIDEO_FORMAT_T

impl Unpin for MMAL_VIDEO_FORMAT_T

impl Sync for MMAL_VIDEO_FORMAT_T

impl UnwindSafe for MMAL_VIDEO_FORMAT_T

impl RefUnwindSafe for MMAL_VIDEO_FORMAT_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]