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
sourceimpl Clone for ISVCEncoderVtbl
impl Clone for ISVCEncoderVtbl
sourcefn clone(&self) -> ISVCEncoderVtbl
fn clone(&self) -> ISVCEncoderVtbl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ISVCEncoderVtbl
impl Debug for ISVCEncoderVtbl
sourceimpl Default for ISVCEncoderVtbl
impl Default for ISVCEncoderVtbl
sourcefn default() -> ISVCEncoderVtbl
fn default() -> ISVCEncoderVtbl
Returns the “default value” for a type. Read more
sourceimpl Hash for ISVCEncoderVtbl
impl Hash for ISVCEncoderVtbl
sourceimpl Ord for ISVCEncoderVtbl
impl Ord for ISVCEncoderVtbl
sourceimpl PartialEq<ISVCEncoderVtbl> for ISVCEncoderVtbl
impl PartialEq<ISVCEncoderVtbl> for ISVCEncoderVtbl
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ISVCEncoderVtbl) -> bool
fn ne(&self, other: &ISVCEncoderVtbl) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ISVCEncoderVtbl> for ISVCEncoderVtbl
impl PartialOrd<ISVCEncoderVtbl> for ISVCEncoderVtbl
sourcefn partial_cmp(&self, other: &ISVCEncoderVtbl) -> Option<Ordering>
fn partial_cmp(&self, other: &ISVCEncoderVtbl) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for ISVCEncoderVtbl
impl Eq for ISVCEncoderVtbl
impl StructuralEq for ISVCEncoderVtbl
impl StructuralPartialEq for ISVCEncoderVtbl
Auto Trait Implementations
impl RefUnwindSafe for ISVCEncoderVtbl
impl Send for ISVCEncoderVtbl
impl Sync for ISVCEncoderVtbl
impl Unpin for ISVCEncoderVtbl
impl UnwindSafe for ISVCEncoderVtbl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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