Struct vpx_sys::vpx_image

source ·
#[repr(C)]
pub struct vpx_image {
Show 20 fields pub fmt: vpx_img_fmt_t, pub cs: vpx_color_space_t, pub range: vpx_color_range_t, pub w: c_uint, pub h: c_uint, pub bit_depth: c_uint, pub d_w: c_uint, pub d_h: c_uint, pub r_w: c_uint, pub r_h: c_uint, pub x_chroma_shift: c_uint, pub y_chroma_shift: c_uint, pub planes: [*mut c_uchar; 4], pub stride: [c_int; 4], pub bps: c_int, pub user_priv: *mut c_void, pub img_data: *mut c_uchar, pub img_data_owner: c_int, pub self_allocd: c_int, pub fb_priv: *mut c_void,
}

Fields§

§fmt: vpx_img_fmt_t§cs: vpx_color_space_t§range: vpx_color_range_t§w: c_uint§h: c_uint§bit_depth: c_uint§d_w: c_uint§d_h: c_uint§r_w: c_uint§r_h: c_uint§x_chroma_shift: c_uint§y_chroma_shift: c_uint§planes: [*mut c_uchar; 4]§stride: [c_int; 4]§bps: c_int§user_priv: *mut c_void§img_data: *mut c_uchar§img_data_owner: c_int§self_allocd: c_int§fb_priv: *mut c_void

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

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

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.