Struct openh264::encoder::EncoderRawAPI
source · pub struct EncoderRawAPI { /* private fields */ }Expand description
Convenience wrapper with guaranteed function pointers for easy access.
This struct automatically handles WelsCreateSVCEncoder and WelsDestroySVCEncoder.
Implementations§
source§impl EncoderRawAPI
impl EncoderRawAPI
pub unsafe fn get_default_params(&self, pParam: *mut SEncParamExt) -> c_int
pub unsafe fn encode_frame( &self, kpSrcPic: *const SSourcePicture, pBsInfo: *mut SFrameBSInfo ) -> c_int
pub unsafe fn encode_parameter_sets(&self, pBsInfo: *mut SFrameBSInfo) -> c_int
pub unsafe fn force_intra_frame(&self, bIDR: bool) -> c_int
pub unsafe fn set_option( &self, eOptionId: ENCODER_OPTION, pOption: *mut c_void ) -> c_int
pub unsafe fn get_option( &self, eOptionId: ENCODER_OPTION, pOption: *mut c_void ) -> c_int
Trait Implementations§
source§impl Debug for EncoderRawAPI
impl Debug for EncoderRawAPI
source§impl Drop for EncoderRawAPI
impl Drop for EncoderRawAPI
impl Send for EncoderRawAPI
impl Sync for EncoderRawAPI
Auto Trait Implementations§
impl Freeze for EncoderRawAPI
impl RefUnwindSafe for EncoderRawAPI
impl Unpin for EncoderRawAPI
impl UnwindSafe for EncoderRawAPI
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