Struct ffmpeg_sys_next::vaapi_context [−][src]
#[repr(C)]pub struct vaapi_context {
pub display: *mut c_void,
pub config_id: u32,
pub context_id: u32,
}
Expand description
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for vaapi_context
impl !Send for vaapi_context
impl !Sync for vaapi_context
impl Unpin for vaapi_context
impl UnwindSafe for vaapi_context
Blanket Implementations
Mutably borrows from an owned value. Read more