FFmpeg
Data Fields
vaapi_context Struct Reference
VA API Decoding

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

#include <vaapi.h>

Data Fields

  Window system dependent data. More...
 
uint32_t  config_id
  Configuration ID. More...
 
uint32_t  context_id
  Context ID (video decode pipeline) More...
 
  VAPictureParameterBuffer ID. More...
 
  VAIQMatrixBuffer ID. More...
 
  VABitPlaneBuffer ID (for VC-1 decoding) More...
 
  Slice parameter/data buffer IDs. More...
 
  Number of effective slice buffer IDs to send to the HW. More...
 
  Size of pre-allocated slice_buf_ids. More...
 
  Pointer to VASliceParameterBuffers. More...
 
  Size of a VASliceParameterBuffer element. More...
 
  Size of pre-allocated slice_params. More...
 
  Number of slices currently filled in. More...
 
  Pointer to slice data buffer base. More...
 
  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.

Deprecated: use AVCodecContext.hw_frames_ctx instead.

Definition at line 56 of file vaapi.h.

Field Documentation

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().

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().

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().

attribute_deprecated uint32_t vaapi_context::pic_param_buf_id

VAPictureParameterBuffer ID.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 89 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 98 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 107 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 116 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 125 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 134 of file vaapi.h.

attribute_deprecated void* vaapi_context::slice_params

Pointer to VASliceParameterBuffers.

  • encoding: unused
  • decoding: Set by libavcodec

Definition at line 143 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 152 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 161 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 170 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 178 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 187 of file vaapi.h.


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

Generated on Fri Jan 12 2018 01:48:36 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /