Struct libaom_sys::aom_image[][src]

#[repr(C)]
pub struct aom_image {
Show 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,
}

Image Descriptor

Fields

fmt: aom_img_fmt_t

Image Format

cp: aom_color_primaries_t

CICP Color Primaries

tc: aom_transfer_characteristics_t

CICP Transfer Characteristics

mc: aom_matrix_coefficients_t

CICP Matrix Coefficients

monochrome: c_int

Whether image is monochrome

csp: aom_chroma_sample_position_t

chroma sample position

range: aom_color_range_t

Color Range

w: c_uint

Stored image width

h: c_uint

Stored image height

bit_depth: c_uint

Stored image bit-depth

d_w: c_uint

Displayed image width

d_h: c_uint

Displayed image height

r_w: c_uint

Intended rendering image width

r_h: c_uint

Intended rendering image height

x_chroma_shift: c_uint

subsampling order, X

y_chroma_shift: c_uint

subsampling order, Y

planes: [*mut c_uchar; 3]

pointer to the top left pixel for each plane

stride: [c_int; 3]

stride between rows for each plane

sz: usize

data size

bps: c_int

bits per sample (for packed formats)

temporal_id: c_int

Temporal layer Id of image

spatial_id: c_int

Spatial layer Id of image

user_priv: *mut c_void

The following member may be set by the application to associate data with this image.

img_data: *mut c_uchar

private

img_data_owner: c_int

private

self_allocd: c_int

private

metadata: *mut aom_metadata_array_t

Metadata payloads associated with the image.

fb_priv: *mut c_void

Frame buffer data associated with the image.

Trait Implementations

impl Clone for aom_image[src]

fn clone(&self) -> aom_image[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for aom_image[src]

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

Formats the value using the given formatter. Read more

impl Copy for aom_image[src]

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

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

pub fn clone_into(&self, target: &mut T)[src]

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

recently added

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

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.

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

Performs the conversion.

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.

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

Performs the conversion.