[][src]Struct libaom_sys::aom_image

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

impl Copy for aom_image[src]

impl Debug for aom_image[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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.