Struct skia_bindings::SkYUVAPixmapInfo
source · #[repr(C)]pub struct SkYUVAPixmapInfo {
pub fYUVAInfo: SkYUVAInfo,
pub fPlaneInfos: [u64; 12],
pub fRowBytes: [u64; 4],
pub fDataType: SkYUVAPixmapInfo_DataType,
}
Fields§
§fYUVAInfo: SkYUVAInfo
§fPlaneInfos: [u64; 12]
§fRowBytes: [u64; 4]
§fDataType: SkYUVAPixmapInfo_DataType
Implementations§
source§impl SkYUVAPixmapInfo
impl SkYUVAPixmapInfo
pub unsafe fn NumChannelsAndDataType(arg1: SkColorType) -> [u32; 2]
pub unsafe fn computeTotalBytes(&self, planeSizes: *mut usize) -> usize
pub unsafe fn initPixmapsFromSingleAllocation( &self, memory: *mut c_void, pixmaps: *mut SkPixmap ) -> bool
pub unsafe fn isSupported( &self, arg1: *const SkYUVAPixmapInfo_SupportedDataTypes ) -> bool
pub unsafe fn new( arg1: *const SkYUVAInfo, arg2: *const SkColorType, rowBytes: *const usize ) -> Self
pub unsafe fn new1( arg1: *const SkYUVAInfo, arg2: SkYUVAPixmapInfo_DataType, rowBytes: *const usize ) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for SkYUVAPixmapInfo
impl Send for SkYUVAPixmapInfo
impl Sync for SkYUVAPixmapInfo
impl Unpin for SkYUVAPixmapInfo
impl UnwindSafe for SkYUVAPixmapInfo
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