Struct aom_sys::aom::aom_image

source ·
#[repr(C)]
pub struct aom_image {
Show 28 fields pub fmt: aom_img_fmt_t, pub cp: aom_color_primaries_t, pub tc: aom_transfer_characteristics_t, pub mc: aom_matrix_coefficients_t, pub monochrome: c_int, pub csp: aom_chroma_sample_position_t, pub range: aom_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; 3], pub stride: [c_int; 3], pub sz: usize, pub bps: c_int, pub temporal_id: c_int, pub spatial_id: 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 metadata: *mut aom_metadata_array_t, pub fb_priv: *mut c_void,
}

Fields§

§fmt: aom_img_fmt_t§cp: aom_color_primaries_t§tc: aom_transfer_characteristics_t§mc: aom_matrix_coefficients_t§monochrome: c_int§csp: aom_chroma_sample_position_t§range: aom_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; 3]§stride: [c_int; 3]§sz: usize§bps: c_int§temporal_id: c_int§spatial_id: c_int§user_priv: *mut c_void§img_data: *mut c_uchar§img_data_owner: c_int§self_allocd: c_int§metadata: *mut aom_metadata_array_t§fb_priv: *mut c_void

Trait Implementations§

source§

impl Clone for aom_image

source§

fn clone(&self) -> aom_image

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for aom_image

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for aom_image

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.