World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Указатель Классы Пространства имен Файлы Функции Переменные Определения типов Перечисления Элементы перечислений Друзья Группы Страницы
Файл qsv.h

См. исходные тексты.

Классы

struct  AVQSVContext
 

Определения типов

typedef struct AVQSVContext AVQSVContext
 

Функции

AVQSVContextav_qsv_alloc_context (void)
 

Типы

◆ AVQSVContext

typedef struct AVQSVContext AVQSVContext

This struct is used for communicating QSV parameters between libavcodec and the caller. It is managed by the caller and must be assigned to AVCodecContext.hwaccel_context.

  • decoding: hwaccel_context must be set on return from the get_format() callback
  • encoding: hwaccel_context must be set before avcodec_open2()

Функции

◆ av_qsv_alloc_context()

AVQSVContext* av_qsv_alloc_context ( void  )

Allocate a new context.

It must be freed by the caller with av_free().