FFmpeg  4.0
Data Fields
vaapi_context Struct Reference

This structure is used to share data between the FFmpeg library and the client video application. More...

#include <libavcodec/vaapi.h>

Data Fields

voiddisplay
 Window system dependent data. More...
 
uint32_t config_id
 Configuration ID. More...
 
uint32_t context_id
 Context ID (video decode pipeline) More...
 

Detailed 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.

Definition at line 56 of file vaapi.h.

Field Documentation

◆ display

void* vaapi_context::display

Window system dependent data.

  • encoding: unused
  • decoding: Set by user

Definition at line 63 of file vaapi.h.

Referenced by ff_vaapi_decode_init().

◆ config_id

uint32_t vaapi_context::config_id

Configuration ID.

  • encoding: unused
  • decoding: Set by user

Definition at line 71 of file vaapi.h.

Referenced by ff_vaapi_decode_init().

◆ context_id

uint32_t vaapi_context::context_id

Context ID (video decode pipeline)

  • encoding: unused
  • decoding: Set by user

Definition at line 79 of file vaapi.h.

Referenced by ff_vaapi_decode_init().


The documentation for this struct was generated from the following file: