Miam-Player  0.8.0
A nice music player
qsv.h File Reference
#include <mfx/mfxvideo.h>
#include "libavutil/buffer.h"

Go to the source code of this file.

Classes

struct  AVQSVContext
 

Typedefs

typedef struct AVQSVContext AVQSVContext
 

Functions

AVQSVContextav_qsv_alloc_context (void)
 

Typedef Documentation

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

Function Documentation

AVQSVContext* av_qsv_alloc_context ( void  )

Allocate a new context.

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