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§
source§impl Clone for ISVCDecoderVtbl
impl Clone for ISVCDecoderVtbl
source§fn clone(&self) -> ISVCDecoderVtbl
fn clone(&self) -> ISVCDecoderVtbl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ISVCDecoderVtbl
impl Debug for ISVCDecoderVtbl
source§impl Default for ISVCDecoderVtbl
impl Default for ISVCDecoderVtbl
source§fn default() -> ISVCDecoderVtbl
fn default() -> ISVCDecoderVtbl
Returns the “default value” for a type. Read more
source§impl Hash for ISVCDecoderVtbl
impl Hash for ISVCDecoderVtbl
source§impl Ord for ISVCDecoderVtbl
impl Ord for ISVCDecoderVtbl
source§fn cmp(&self, other: &ISVCDecoderVtbl) -> Ordering
fn cmp(&self, other: &ISVCDecoderVtbl) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ISVCDecoderVtbl
impl PartialEq for ISVCDecoderVtbl
source§fn 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 ==
.source§impl PartialOrd for ISVCDecoderVtbl
impl PartialOrd for ISVCDecoderVtbl
source§fn partial_cmp(&self, other: &ISVCDecoderVtbl) -> Option<Ordering>
fn partial_cmp(&self, other: &ISVCDecoderVtbl) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for ISVCDecoderVtbl
impl Eq for ISVCDecoderVtbl
impl StructuralPartialEq for ISVCDecoderVtbl
Auto Trait Implementations§
impl Freeze for ISVCDecoderVtbl
impl RefUnwindSafe for ISVCDecoderVtbl
impl Send for ISVCDecoderVtbl
impl Sync for ISVCDecoderVtbl
impl Unpin for ISVCDecoderVtbl
impl UnwindSafe for ISVCDecoderVtbl
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