]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvdec.h
avcodec/alsdec: Discard frames for which no channel could be decoded
[ffmpeg] / libavcodec / qsvdec.h
index 111536caba33515b24034a97e8b74233f5c6f434..dec1f61ceb0a0f029fbd42699737b983b0b5257e 100644 (file)
@@ -42,7 +42,7 @@ typedef struct QSVContext {
 
     // the session we allocated internally, in case the caller did not provide
     // one
-    mfxSession internal_session;
+    QSVSession internal_qs;
 
     QSVFramesContext frames_ctx;
 
@@ -56,16 +56,17 @@ typedef struct QSVContext {
     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;