Miam-Player  0.8.0
A nice music player
vaapi_context Struct Reference

#include <vaapi.h>

Public Attributes

void * display
 
uint32_t config_id
 
uint32_t context_id
 
attribute_deprecated uint32_t pic_param_buf_id
 
attribute_deprecated uint32_t iq_matrix_buf_id
 
attribute_deprecated uint32_t bitplane_buf_id
 
attribute_deprecated uint32_t * slice_buf_ids
 
attribute_deprecated unsigned int n_slice_buf_ids
 
attribute_deprecated unsigned int slice_buf_ids_alloc
 
attribute_deprecated void * slice_params
 
attribute_deprecated unsigned int slice_param_size
 
attribute_deprecated unsigned int slice_params_alloc
 
attribute_deprecated unsigned int slice_count
 
attribute_deprecated const uint8_t * slice_data
 
attribute_deprecated uint32_t slice_data_size
 

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.

Member Data Documentation

◆ bitplane_buf_id

attribute_deprecated uint32_t vaapi_context::bitplane_buf_id

VABitPlaneBuffer ID (for VC-1 decoding)

  • encoding: unused
  • decoding: Set by libavcodec

◆ 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

◆ iq_matrix_buf_id

attribute_deprecated uint32_t vaapi_context::iq_matrix_buf_id

VAIQMatrixBuffer ID

  • encoding: unused
  • decoding: Set by libavcodec

◆ n_slice_buf_ids

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

◆ pic_param_buf_id

attribute_deprecated uint32_t vaapi_context::pic_param_buf_id

VAPictureParameterBuffer ID

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_buf_ids

attribute_deprecated uint32_t* vaapi_context::slice_buf_ids

Slice parameter/data buffer IDs

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_buf_ids_alloc

attribute_deprecated unsigned int vaapi_context::slice_buf_ids_alloc

Size of pre-allocated slice_buf_ids

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_count

attribute_deprecated unsigned int vaapi_context::slice_count

Number of slices currently filled in

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_data

attribute_deprecated const uint8_t* vaapi_context::slice_data

Pointer to slice data buffer base

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_data_size

attribute_deprecated uint32_t vaapi_context::slice_data_size

Current size of slice data

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_param_size

attribute_deprecated unsigned int vaapi_context::slice_param_size

Size of a VASliceParameterBuffer element

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_params

attribute_deprecated void* vaapi_context::slice_params

Pointer to VASliceParameterBuffers

  • encoding: unused
  • decoding: Set by libavcodec

◆ slice_params_alloc

attribute_deprecated unsigned int vaapi_context::slice_params_alloc

Size of pre-allocated slice_params

  • encoding: unused
  • decoding: Set by libavcodec

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