#[repr(C)]pub struct JpegDecoder {
pub vtable_: *const JpegDecoder__bindgen_vtable,
pub mProcessStage: u32,
pub mData: *mut c_void,
pub mSize: i64,
pub _18: i32,
pub mFormat: u32,
pub mImgDimensions: Dimension,
pub _28: i64,
}
Fields
vtable_: *const JpegDecoder__bindgen_vtable
mProcessStage: u32
mData: *mut c_void
mSize: i64
_18: i32
mFormat: u32
mImgDimensions: Dimension
_28: i64
Implementations
sourceimpl JpegDecoder
impl JpegDecoder
pub unsafe fn SetImageData(&mut self, source: *const c_void, size: u64)
pub unsafe fn Analyze(&mut self) -> i32
pub unsafe fn GetAnalyzedDimension(&self) -> Dimension
pub unsafe fn GetAnalyzedWorkBufferSize(&self) -> i64
pub unsafe fn Decode(
&mut self,
out: *mut c_void,
arg1: i64,
alignment: i32,
arg2: *mut c_void,
arg3: i64
) -> i32
pub unsafe fn new() -> JpegDecoder
Auto Trait Implementations
impl RefUnwindSafe for JpegDecoder
impl !Send for JpegDecoder
impl !Sync for JpegDecoder
impl Unpin for JpegDecoder
impl UnwindSafe for JpegDecoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more