pub type aom_image_t = aom_image;Expand description
Image Descriptor
Aliased Type§
#[repr(C)]pub struct aom_image_t {Show 28 fields
pub fmt: u32,
pub cp: u32,
pub tc: u32,
pub mc: u32,
pub monochrome: i32,
pub csp: u32,
pub range: u32,
pub w: u32,
pub h: u32,
pub bit_depth: u32,
pub d_w: u32,
pub d_h: u32,
pub r_w: u32,
pub r_h: u32,
pub x_chroma_shift: u32,
pub y_chroma_shift: u32,
pub planes: [*mut u8; 3],
pub stride: [i32; 3],
pub sz: usize,
pub bps: i32,
pub temporal_id: i32,
pub spatial_id: i32,
pub user_priv: *mut c_void,
pub img_data: *mut u8,
pub img_data_owner: i32,
pub self_allocd: i32,
pub metadata: *mut aom_metadata_array,
pub fb_priv: *mut c_void,
}Fields§
§fmt: u32Image Format
cp: u32CICP Color Primaries
tc: u32CICP Transfer Characteristics
mc: u32CICP Matrix Coefficients
monochrome: i32Whether image is monochrome
csp: u32chroma sample position
range: u32Color Range
w: u32Stored image width
h: u32Stored image height
bit_depth: u32Stored image bit-depth
d_w: u32Displayed image width
d_h: u32Displayed image height
r_w: u32Intended rendering image width
r_h: u32Intended rendering image height
x_chroma_shift: u32subsampling order, X
y_chroma_shift: u32subsampling order, Y
planes: [*mut u8; 3]pointer to the top left pixel for each plane
stride: [i32; 3]stride between rows for each plane
sz: usizedata size
bps: i32bits per sample (for packed formats)
temporal_id: i32Temporal layer Id of image
spatial_id: i32Spatial 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 u8private
img_data_owner: i32private
self_allocd: i32private
metadata: *mut aom_metadata_arrayMetadata payloads associated with the image.
fb_priv: *mut c_voidFrame buffer data associated with the image.