[][src]Struct nnsdk::image::JpegDecoder

#[repr(C)]pub struct JpegDecoder {
    pub vtable_: *const JpegDecoder__bindgen_vtable,
    pub mProcessStage: ProcessStage,
    pub mData: *mut c_void,
    pub mSize: s64,
    pub _18: s32,
    pub mFormat: PixelFormat,
    pub mImgDimensions: Dimension,
    pub _28: s64,
}

Fields

vtable_: *const JpegDecoder__bindgen_vtablemProcessStage: ProcessStagemData: *mut c_voidmSize: s64_18: s32mFormat: PixelFormatmImgDimensions: Dimension_28: s64

Methods

impl JpegDecoder[src]

pub unsafe fn SetImageData(&mut self, source: *const c_void, size: u64)[src]

pub unsafe fn Analyze(&mut self) -> JpegStatus[src]

pub unsafe fn GetAnalyzedDimension(&self) -> Dimension[src]

pub unsafe fn GetAnalyzedWorkBufferSize(&self) -> s64[src]

pub unsafe fn Decode(
    &mut self,
    out: *mut c_void,
    arg1: s64,
    alignment: s32,
    arg2: *mut c_void,
    arg3: s64
) -> JpegStatus
[src]

pub unsafe fn new() -> Self[src]

Auto Trait Implementations

impl !Send for JpegDecoder

impl !Sync for JpegDecoder

impl Unpin for JpegDecoder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.