#[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,
}
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
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.