[][src]Struct obs_sys::obs_source_frame

#[repr(C)]
pub struct obs_source_frame {
    pub data: [*mut u8; 8],
    pub linesize: [u32; 8],
    pub width: u32,
    pub height: u32,
    pub timestamp: u64,
    pub format: video_format,
    pub color_matrix: [f32; 16],
    pub full_range: bool,
    pub color_range_min: [f32; 3],
    pub color_range_max: [f32; 3],
    pub flip: bool,
    pub refs: c_long,
    pub prev_frame: bool,
}

Fields

data: [*mut u8; 8]linesize: [u32; 8]width: u32height: u32timestamp: u64format: video_formatcolor_matrix: [f32; 16]full_range: boolcolor_range_min: [f32; 3]color_range_max: [f32; 3]flip: boolrefs: c_longprev_frame: bool

Trait Implementations

impl Clone for obs_source_frame[src]

impl Copy for obs_source_frame[src]

impl Debug for obs_source_frame[src]

impl Default for obs_source_frame[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.