#[repr(C)]pub struct mfxInitParam {
pub Implementation: mfxIMPL,
pub Version: mfxVersion,
pub ExternalThreads: mfxU16,
pub __bindgen_anon_1: mfxInitParam__bindgen_ty_1,
pub GPUCopy: mfxU16,
pub reserved: [mfxU16; 21],
}Expand description
Specifies advanced initialization parameters. A zero value in any of the fields indicates that the corresponding field is not explicitly specified.
Fields§
§Implementation: mfxIMPL< Enumerator that indicates the desired legacy Intel(r) Media SDK implementation.
Version: mfxVersion< Structure which specifies minimum library version or zero, if not specified.
ExternalThreads: mfxU16< Desired threading mode. Value 0 means internal threading, 1 - external.
__bindgen_anon_1: mfxInitParam__bindgen_ty_1§GPUCopy: mfxU16< Enables or disables GPU accelerated copying between video and system memory in legacy Intel(r) Media SDK components. See the GPUCopy enumerator for a list of valid values.
reserved: [mfxU16; 21]Trait Implementations§
Source§impl Clone for mfxInitParam
impl Clone for mfxInitParam
Source§fn clone(&self) -> mfxInitParam
fn clone(&self) -> mfxInitParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for mfxInitParam
Auto Trait Implementations§
impl !Send for mfxInitParam
impl !Sync for mfxInitParam
impl Freeze for mfxInitParam
impl RefUnwindSafe for mfxInitParam
impl Unpin for mfxInitParam
impl UnsafeUnpin for mfxInitParam
impl UnwindSafe for mfxInitParam
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