pub type vpx_image_t = vpx_image;Expand description
\brief Image Descriptor
Aliased Type§
#[repr(C)]pub struct vpx_image_t {Show 20 fields
pub fmt: u32,
pub cs: 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; 4],
pub stride: [i32; 4],
pub bps: i32,
pub user_priv: *mut c_void,
pub img_data: *mut u8,
pub img_data_owner: i32,
pub self_allocd: i32,
pub fb_priv: *mut c_void,
}Fields§
§fmt: u32< Image Format
cs: u32< Color Space
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; 4]< pointer to the top left pixel for each plane
stride: [i32; 4]< stride between rows for each plane
bps: i32< bits per sample (for packed formats)
user_priv: *mut c_void\brief 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
fb_priv: *mut c_void< Frame buffer data associated with the image.