FFmpeg  3.1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields

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

#include <vaapi.h>

Data Fields

void * display
 Window system dependent data. More...
 
uint32_t config_id
 Configuration ID. More...
 
uint32_t context_id
 Context ID (video decode pipeline) More...
 
attribute_deprecated uint32_t pic_param_buf_id
 VAPictureParameterBuffer ID. More...
 
attribute_deprecated uint32_t iq_matrix_buf_id
 VAIQMatrixBuffer ID. More...
 
attribute_deprecated uint32_t bitplane_buf_id
 VABitPlaneBuffer ID (for VC-1 decoding) More...
 
attribute_deprecated uint32_t * slice_buf_ids
 Slice parameter/data buffer IDs. More...
 
attribute_deprecated unsigned int n_slice_buf_ids
 Number of effective slice buffer IDs to send to the HW. More...
 
attribute_deprecated unsigned int slice_buf_ids_alloc
 Size of pre-allocated slice_buf_ids. More...
 
attribute_deprecated void * slice_params
 Pointer to VASliceParameterBuffers. More...
 
attribute_deprecated unsigned int slice_param_size
 Size of a VASliceParameterBuffer element. More...
 
attribute_deprecated unsigned int slice_params_alloc
 Size of pre-allocated slice_params. More...
 
attribute_deprecated unsigned int slice_count
 Number of slices currently filled in. More...
 
attribute_deprecated const
uint8_t * 
slice_data
 Pointer to slice data buffer base. More...
 
attribute_deprecated uint32_t slice_data_size
 Current size of slice data. 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.

Definition at line 52 of file vaapi.h.

Field Documentation

void* vaapi_context::display

Window system dependent data.

  • encoding: unused
  • decoding: Set by user

Definition at line 59 of file vaapi.h.

uint32_t vaapi_context::config_id

Configuration ID.

  • encoding: unused
  • decoding: Set by user

Definition at line 67 of file vaapi.h.

uint32_t vaapi_context::context_id

Context ID (video decode pipeline)

  • encoding: unused
  • decoding: Set by user

Definition at line 75 of file vaapi.h.

attribute_deprecated uint32_t vaapi_context::pic_param_buf_id

VAPictureParameterBuffer ID.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 85 of file vaapi.h.

attribute_deprecated uint32_t vaapi_context::iq_matrix_buf_id

VAIQMatrixBuffer ID.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 94 of file vaapi.h.

attribute_deprecated uint32_t vaapi_context::bitplane_buf_id

VABitPlaneBuffer ID (for VC-1 decoding)

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 103 of file vaapi.h.

attribute_deprecated uint32_t* vaapi_context::slice_buf_ids

Slice parameter/data buffer IDs.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 112 of file vaapi.h.

attribute_deprecated unsigned int vaapi_context::n_slice_buf_ids

Number of effective slice buffer IDs to send to the HW.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 121 of file vaapi.h.

attribute_deprecated unsigned int vaapi_context::slice_buf_ids_alloc

Size of pre-allocated slice_buf_ids.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 130 of file vaapi.h.

attribute_deprecated void* vaapi_context::slice_params

Pointer to VASliceParameterBuffers.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 139 of file vaapi.h.

attribute_deprecated unsigned int vaapi_context::slice_param_size

Size of a VASliceParameterBuffer element.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 148 of file vaapi.h.

attribute_deprecated unsigned int vaapi_context::slice_params_alloc

Size of pre-allocated slice_params.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 157 of file vaapi.h.

attribute_deprecated unsigned int vaapi_context::slice_count

Number of slices currently filled in.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 166 of file vaapi.h.

attribute_deprecated const uint8_t* vaapi_context::slice_data

Pointer to slice data buffer base.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 174 of file vaapi.h.

attribute_deprecated uint32_t vaapi_context::slice_data_size

Current size of slice data.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 183 of file vaapi.h.


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