#[repr(C)]pub struct vpx_image {Show 20 fields
pub fmt: vpx_img_fmt_t,
pub cs: vpx_color_space_t,
pub range: vpx_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; 4],
pub stride: [c_int; 4],
pub bps: 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 fb_priv: *mut c_void,
}Expand description
\brief Image Descriptor
Fields§
§fmt: vpx_img_fmt_t< Image Format
cs: vpx_color_space_t< Color Space
range: vpx_color_range_t< Color Range
w: c_uint< Stored image width
h: c_uint< Stored image height
bit_depth: c_uint< Stored image bit-depth
d_w: c_uint< Displayed image width
d_h: c_uint< Displayed image height
r_w: c_uint< Intended rendering image width
r_h: c_uint< Intended rendering image height
x_chroma_shift: c_uint< subsampling order, X
y_chroma_shift: c_uint< subsampling order, Y
planes: [*mut c_uchar; 4]< pointer to the top left pixel for each plane
stride: [c_int; 4]< stride between rows for each plane
bps: c_int< 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 c_uchar< private
img_data_owner: c_int< private
self_allocd: c_int< private
fb_priv: *mut c_void< Frame buffer data associated with the image.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for vpx_image
impl RefUnwindSafe for vpx_image
impl !Send for vpx_image
impl !Sync for vpx_image
impl Unpin for vpx_image
impl UnwindSafe for vpx_image
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more