Skip to main content

mfxFrameData

Struct mfxFrameData 

Source
#[repr(C)]
pub struct mfxFrameData {
Show 16 fields pub __bindgen_anon_1: mfxFrameData__bindgen_ty_1, pub NumExtParam: mfxU16, pub reserved: [mfxU16; 9], pub MemType: mfxU16, pub PitchHigh: mfxU16, pub TimeStamp: mfxU64, pub FrameOrder: mfxU32, pub Locked: mfxU16, pub __bindgen_anon_2: mfxFrameData__bindgen_ty_2, pub __bindgen_anon_3: mfxFrameData__bindgen_ty_3, pub __bindgen_anon_4: mfxFrameData__bindgen_ty_4, pub __bindgen_anon_5: mfxFrameData__bindgen_ty_5, pub A: *mut mfxU8, pub MemId: mfxMemId, pub Corrupted: mfxU16, pub DataFlag: mfxU16,
}
Expand description

Describes frame buffer pointers.

Fields§

§__bindgen_anon_1: mfxFrameData__bindgen_ty_1§NumExtParam: mfxU16

< The number of extra configuration structures attached to this structure.

§reserved: [mfxU16; 9]

< Reserved for future use.

§MemType: mfxU16

< Allocated memory type. See the ExtMemFrameType enumerator for details. Used for better integration of 3rd party plugins into the pipeline.

§PitchHigh: mfxU16

< High 16 bits of the Distance in bytes between the start of two consecutive rows in a frame. App should combine with the low 16 bits which is stored in PitchLow to get the final Pitch. finalPitch = (PitchHigh << 16) + PitchLow.

§TimeStamp: mfxU64

< Time stamp of the video frame in units of 90KHz. Divide TimeStamp by 90,000 (90 KHz) to obtain the time in seconds. A value of MFX_TIMESTAMP_UNKNOWN indicates that there is no time stamp.

§FrameOrder: mfxU32

< Current frame counter for the top field of the current frame. An invalid value of MFX_FRAMEORDER_UNKNOWN indicates that API functions that generate the frame output do not use this frame.

§Locked: mfxU16

< Counter flag for the application. If Locked is greater than zero then the application locks the frame or field pair. Do not move, alter or delete the frame.

§__bindgen_anon_2: mfxFrameData__bindgen_ty_2§__bindgen_anon_3: mfxFrameData__bindgen_ty_3§__bindgen_anon_4: mfxFrameData__bindgen_ty_4§__bindgen_anon_5: mfxFrameData__bindgen_ty_5§A: *mut mfxU8

< A channel.

§MemId: mfxMemId

< Memory ID of the data buffers. Ignored if any of the preceding data pointers is non-zero.

§Corrupted: mfxU16

< Some part of the frame or field pair is corrupted. See the Corruption enumerator for details.

§DataFlag: mfxU16

< Additional flags to indicate frame data properties. See the FrameDataFlag enumerator for details.

Trait Implementations§

Source§

impl Clone for mfxFrameData

Source§

fn clone(&self) -> mfxFrameData

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for mfxFrameData

Source§

impl Default for mfxFrameData

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.