Struct vpx_sys::vpx_image[][src]

#[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_tcs: vpx_color_space_trange: vpx_color_range_tw: c_uinth: c_uintbit_depth: c_uintd_w: c_uintd_h: c_uintr_w: c_uintr_h: c_uintx_chroma_shift: c_uinty_chroma_shift: c_uintplanes: [*mut c_uchar; 4]stride: [c_int; 4]bps: c_intuser_priv: *mut c_voidimg_data: *mut c_ucharimg_data_owner: c_intself_allocd: c_intfb_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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.