Struct openh264_sys2::ISVCEncoderVtbl
source · #[repr(C)]pub struct ISVCEncoderVtbl {
pub Initialize: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pParam: *const SEncParamBase) -> c_int>,
pub InitializeExt: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pParam: *const SEncParamExt) -> c_int>,
pub GetDefaultParams: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pParam: *mut SEncParamExt) -> c_int>,
pub Uninitialize: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder) -> c_int>,
pub EncodeFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, kpSrcPic: *const SSourcePicture, pBsInfo: *mut SFrameBSInfo) -> c_int>,
pub EncodeParameterSets: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pBsInfo: *mut SFrameBSInfo) -> c_int>,
pub ForceIntraFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, bIDR: bool) -> c_int>,
pub SetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, eOptionId: ENCODER_OPTION, pOption: *mut c_void) -> c_int>,
pub GetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, eOptionId: ENCODER_OPTION, pOption: *mut c_void) -> c_int>,
}
Fields§
§Initialize: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pParam: *const SEncParamBase) -> c_int>
§InitializeExt: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pParam: *const SEncParamExt) -> c_int>
§GetDefaultParams: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pParam: *mut SEncParamExt) -> c_int>
§Uninitialize: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder) -> c_int>
§EncodeFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, kpSrcPic: *const SSourcePicture, pBsInfo: *mut SFrameBSInfo) -> c_int>
§EncodeParameterSets: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, pBsInfo: *mut SFrameBSInfo) -> c_int>
§ForceIntraFrame: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, bIDR: bool) -> c_int>
§SetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, eOptionId: ENCODER_OPTION, pOption: *mut c_void) -> c_int>
§GetOption: Option<unsafe extern "C" fn(arg1: *mut ISVCEncoder, eOptionId: ENCODER_OPTION, pOption: *mut c_void) -> c_int>
Trait Implementations§
source§impl Clone for ISVCEncoderVtbl
impl Clone for ISVCEncoderVtbl
source§fn clone(&self) -> ISVCEncoderVtbl
fn clone(&self) -> ISVCEncoderVtbl
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 ISVCEncoderVtbl
impl Debug for ISVCEncoderVtbl
source§impl Default for ISVCEncoderVtbl
impl Default for ISVCEncoderVtbl
source§fn default() -> ISVCEncoderVtbl
fn default() -> ISVCEncoderVtbl
Returns the “default value” for a type. Read more
source§impl Hash for ISVCEncoderVtbl
impl Hash for ISVCEncoderVtbl
source§impl Ord for ISVCEncoderVtbl
impl Ord for ISVCEncoderVtbl
source§fn cmp(&self, other: &ISVCEncoderVtbl) -> Ordering
fn cmp(&self, other: &ISVCEncoderVtbl) -> 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 ISVCEncoderVtbl
impl PartialEq for ISVCEncoderVtbl
source§fn eq(&self, other: &ISVCEncoderVtbl) -> bool
fn eq(&self, other: &ISVCEncoderVtbl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ISVCEncoderVtbl
impl PartialOrd for ISVCEncoderVtbl
source§fn partial_cmp(&self, other: &ISVCEncoderVtbl) -> Option<Ordering>
fn partial_cmp(&self, other: &ISVCEncoderVtbl) -> 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 ISVCEncoderVtbl
impl Eq for ISVCEncoderVtbl
impl StructuralPartialEq for ISVCEncoderVtbl
Auto Trait Implementations§
impl Freeze for ISVCEncoderVtbl
impl RefUnwindSafe for ISVCEncoderVtbl
impl Send for ISVCEncoderVtbl
impl Sync for ISVCEncoderVtbl
impl Unpin for ISVCEncoderVtbl
impl UnwindSafe for ISVCEncoderVtbl
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