Struct openh264::decoder::DecoderRawAPI
source · pub struct DecoderRawAPI { /* private fields */ }Expand description
Convenience wrapper with guaranteed function pointers for easy access.
This struct automatically handles WelsCreateDecoder and WelsDestroyDecoder.
Implementations§
source§impl DecoderRawAPI
impl DecoderRawAPI
pub unsafe fn decode_frame( &self, Src: *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 unsafe fn decode_frame_no_delay( &self, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo ) -> DECODING_STATE
pub unsafe fn decode_frame2( &self, pSrc: *const c_uchar, iSrcLen: c_int, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo ) -> DECODING_STATE
pub unsafe fn flush_frame( &self, ppDst: *mut *mut c_uchar, pDstInfo: *mut SBufferInfo ) -> DECODING_STATE
pub unsafe fn decode_parser( &self, pSrc: *const c_uchar, iSrcLen: c_int, pDstInfo: *mut SParserBsInfo ) -> DECODING_STATE
pub unsafe fn decode_frame_ex( &self, 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 unsafe fn set_option( &self, eOptionId: DECODER_OPTION, pOption: *mut c_void ) -> c_long
pub unsafe fn get_option( &self, eOptionId: DECODER_OPTION, pOption: *mut c_void ) -> c_long
Trait Implementations§
source§impl Debug for DecoderRawAPI
impl Debug for DecoderRawAPI
source§impl Drop for DecoderRawAPI
impl Drop for DecoderRawAPI
impl Send for DecoderRawAPI
impl Sync for DecoderRawAPI
Auto Trait Implementations§
impl Freeze for DecoderRawAPI
impl RefUnwindSafe for DecoderRawAPI
impl Unpin for DecoderRawAPI
impl UnwindSafe for DecoderRawAPI
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