Commit 029aa8ff authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit 'd0c8c380'

* commit 'd0c8c380':
  qsv: document AVQSVContext members
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 66682145 d0c8c380
......@@ -23,10 +23,29 @@
#include <mfx/mfxvideo.h>
/**
* 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()
*/
typedef struct AVQSVContext {
/**
* If non-NULL, the session to use for encoding or decoding.
* Otherwise, libavcodec will try to create an internal session.
*/
mfxSession session;
/**
* The IO pattern to use.
*/
int iopattern;
/**
* Extra buffers to pass to encoder or decoder initialization.
*/
mfxExtBuffer **ext_buffers;
int nb_ext_buffers;
} AVQSVContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment