[][src]Struct stainless_ffmpeg_sys::vaapi_context

#[repr(C)]pub struct vaapi_context {
    pub display: *mut c_void,
    pub config_id: u32,
    pub context_id: u32,
}

This structure is used to share data between the FFmpeg library and the client video application. This shall be zero-allocated and available as AVCodecContext.hwaccel_context. All user members can be set once during initialization or through each AVCodecContext.get_buffer() function call. In any case, they must be valid prior to calling decoding functions.

Deprecated: use AVCodecContext.hw_frames_ctx instead.

Fields

display: *mut c_void

Window system dependent data

  • encoding: unused
  • decoding: Set by user
config_id: u32

Configuration ID

  • encoding: unused
  • decoding: Set by user
context_id: u32

Context ID (video decode pipeline)

  • encoding: unused
  • decoding: Set by user

Trait Implementations

impl Clone for vaapi_context[src]

impl Copy for vaapi_context[src]

impl Debug for vaapi_context[src]

impl Eq for vaapi_context[src]

impl PartialEq<vaapi_context> for vaapi_context[src]

impl StructuralEq for vaapi_context[src]

impl StructuralPartialEq for vaapi_context[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.