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_tImage Format
cp: aom_color_primaries_tCICP Color Primaries
tc: aom_transfer_characteristics_tCICP Transfer Characteristics
mc: aom_matrix_coefficients_tCICP Matrix Coefficients
monochrome: c_intWhether image is monochrome
csp: aom_chroma_sample_position_tchroma sample position
range: aom_color_range_tColor Range
w: c_uintStored image width
h: c_uintStored image height
bit_depth: c_uintStored image bit-depth
d_w: c_uintDisplayed image width
d_h: c_uintDisplayed image height
r_w: c_uintIntended rendering image width
r_h: c_uintIntended rendering image height
x_chroma_shift: c_uintsubsampling order, X
y_chroma_shift: c_uintsubsampling 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: usizedata size
bps: c_intbits per sample (for packed formats)
temporal_id: c_intTemporal layer Id of image
spatial_id: c_intSpatial layer Id of image
user_priv: *mut c_voidThe following member may be set by the application to associate data with this image.
img_data: *mut c_ucharprivate
img_data_owner: c_intprivate
self_allocd: c_intprivate
metadata: *mut aom_metadata_array_tMetadata payloads associated with the image.
fb_priv: *mut c_voidFrame buffer data associated with the image.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for aom_image
impl !Send for aom_image
impl !Sync for aom_image
impl Unpin for aom_image
impl UnwindSafe for aom_image
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
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]
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