Struct libaom_sys::aom_image
source · #[repr(C)]pub struct aom_image {Show 28 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,
}Expand description
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.