Type Alias libaom_sys::aom_image_t
source · pub type aom_image_t = aom_image;
Expand description
Image Descriptor
Aliased Type§
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: u32
Image Format
cp: u32
CICP Color Primaries
tc: u32
CICP Transfer Characteristics
mc: u32
CICP Matrix Coefficients
monochrome: i32
Whether image is monochrome
csp: u32
chroma sample position
range: u32
Color Range
w: u32
Stored image width
h: u32
Stored image height
bit_depth: u32
Stored image bit-depth
d_w: u32
Displayed image width
d_h: u32
Displayed image height
r_w: u32
Intended rendering image width
r_h: u32
Intended rendering image height
x_chroma_shift: u32
subsampling order, X
y_chroma_shift: u32
subsampling 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: usize
data size
bps: i32
bits per sample (for packed formats)
temporal_id: i32
Temporal layer Id of image
spatial_id: i32
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 u8
private
img_data_owner: i32
private
self_allocd: i32
private
metadata: *mut aom_metadata_array
Metadata payloads associated with the image.
fb_priv: *mut c_void
Frame buffer data associated with the image.