Struct openh264_sys2::ISVCDecoderVtbl
source · [−]#[repr(C)]pub struct ISVCDecoderVtbl {
pub Initialize: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pParam: *const SDecodingParam) -> c_long>,
pub Uninitialize: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder) -> c_long>,
pub DecodeFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pStride: *mut c_int, iWidth: *mut c_int, iHeight: *mut c_int) -> DECODING_STATE>,
pub DecodeFrameNoDelay: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo) -> DECODING_STATE>,
pub DecodeFrame2: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo) -> DECODING_STATE>,
pub FlushFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo) -> DECODING_STATE>,
pub DecodeParser: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, pDstInfo: *mut SParserBsInfo) -> DECODING_STATE>,
pub DecodeFrameEx: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, pDst: *mut c_uchar, iDstStride: c_int, iDstLen: *mut c_int, iWidth: *mut c_int, iHeight: *mut c_int, iColorFormat: *mut c_int) -> DECODING_STATE>,
pub SetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, eOptionId: DECODER_OPTION, pOption: *mut c_void) -> c_long>,
pub GetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, eOptionId: DECODER_OPTION, pOption: *mut c_void) -> c_long>,
}
Fields
Initialize: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pParam: *const SDecodingParam) -> c_long>
Uninitialize: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder) -> c_long>
DecodeFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pStride: *mut c_int, iWidth: *mut c_int, iHeight: *mut c_int) -> DECODING_STATE>
DecodeFrameNoDelay: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo) -> DECODING_STATE>
DecodeFrame2: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo) -> DECODING_STATE>
FlushFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo) -> DECODING_STATE>
DecodeParser: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, pDstInfo: *mut SParserBsInfo) -> DECODING_STATE>
DecodeFrameEx: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, pSrc: *const c_uchar, iSrcLen: c_int, pDst: *mut c_uchar, iDstStride: c_int, iDstLen: *mut c_int, iWidth: *mut c_int, iHeight: *mut c_int, iColorFormat: *mut c_int) -> DECODING_STATE>
SetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, eOptionId: DECODER_OPTION, pOption: *mut c_void) -> c_long>
GetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCDecoder, eOptionId: DECODER_OPTION, pOption: *mut c_void) -> c_long>
Trait Implementations
sourceimpl Clone for ISVCDecoderVtbl
impl Clone for ISVCDecoderVtbl
sourcefn clone(&self) -> ISVCDecoderVtbl
fn clone(&self) -> ISVCDecoderVtbl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ISVCDecoderVtbl
impl Debug for ISVCDecoderVtbl
sourceimpl Default for ISVCDecoderVtbl
impl Default for ISVCDecoderVtbl
sourcefn default() -> ISVCDecoderVtbl
fn default() -> ISVCDecoderVtbl
Returns the “default value” for a type. Read more
sourceimpl Hash for ISVCDecoderVtbl
impl Hash for ISVCDecoderVtbl
sourceimpl Ord for ISVCDecoderVtbl
impl Ord for ISVCDecoderVtbl
sourceimpl PartialEq<ISVCDecoderVtbl> for ISVCDecoderVtbl
impl PartialEq<ISVCDecoderVtbl> for ISVCDecoderVtbl
sourcefn eq(&self, other: &ISVCDecoderVtbl) -> bool
fn eq(&self, other: &ISVCDecoderVtbl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ISVCDecoderVtbl) -> bool
fn ne(&self, other: &ISVCDecoderVtbl) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ISVCDecoderVtbl> for ISVCDecoderVtbl
impl PartialOrd<ISVCDecoderVtbl> for ISVCDecoderVtbl
sourcefn partial_cmp(&self, other: &ISVCDecoderVtbl) -> Option<Ordering>
fn partial_cmp(&self, other: &ISVCDecoderVtbl) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ISVCDecoderVtbl
impl Eq for ISVCDecoderVtbl
impl StructuralEq for ISVCDecoderVtbl
impl StructuralPartialEq for ISVCDecoderVtbl
Auto Trait Implementations
impl RefUnwindSafe for ISVCDecoderVtbl
impl Send for ISVCDecoderVtbl
impl Sync for ISVCDecoderVtbl
impl Unpin for ISVCDecoderVtbl
impl UnwindSafe for ISVCDecoderVtbl
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