FFmpeg
Public Attributes | List of all members
vaapi_context Struct Reference

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

#include <vaapi.h>

Public Attributes

void * display
 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.

Member Data Documentation

§ config_id

uint32_t vaapi_context::config_id

Configuration ID.

  • encoding: unused
  • decoding: Set by user

§ context_id

uint32_t vaapi_context::context_id

Context ID (video decode pipeline)

  • encoding: unused
  • decoding: Set by user

§ display

void* vaapi_context::display

Window system dependent data.

  • encoding: unused
  • decoding: Set by user

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