// the session we allocated internally, in case the caller did not provide
// one
- mfxSession internal_session;
+ QSVSession internal_qs;
QSVFramesContext frames_ctx;
AVFifoBuffer *async_fifo;
int zero_consume_run;
+ int buffered_count;
+ int reinit_flag;
- // the internal parser and codec context for parsing the data
- AVCodecParserContext *parser;
- AVCodecContext *avctx_internal;
enum AVPixelFormat orig_pix_fmt;
uint32_t fourcc;
mfxFrameInfo frame_info;
+ AVBufferPool *pool;
+
+ int initialized;
// options set by the caller
int async_depth;
int iopattern;
+ int gpu_copy;
char *load_plugins;