Struct openh264::encoder::EncoderRawAPI
source · [−]pub struct EncoderRawAPI { /* private fields */ }Available on crate feature
encoder only.Expand description
Convenience wrapper with guaranteed function pointers for easy access.
This struct automatically handles WelsCreateSVCEncoder and WelsDestroySVCEncoder.
Implementations
sourceimpl 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
sourceimpl Debug for EncoderRawAPI
impl Debug for EncoderRawAPI
Auto Trait Implementations
impl RefUnwindSafe for EncoderRawAPI
impl !Send for EncoderRawAPI
impl !Sync for EncoderRawAPI
impl Unpin for EncoderRawAPI
impl UnwindSafe for EncoderRawAPI
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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