]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvenc.h
avcodec/lzw: ff_lzw_decode_tail() now returns the consumed bytes in lzw decompress
[ffmpeg] / libavcodec / qsvenc.h
index 2a21f8217d1a06ad8dead8e893c0d828a2f48dff..3dd7afe04173495deb3e8699e06a1c0074937e03 100644 (file)
@@ -52,11 +52,17 @@ typedef struct QSVEncContext {
     mfxExtCodingOption  extco;
 #if QSV_VERSION_ATLEAST(1,6)
     mfxExtCodingOption2 extco2;
-    mfxExtBuffer *extparam[2];
-#else
-    mfxExtBuffer *extparam[1];
 #endif
 
+    mfxExtOpaqueSurfaceAlloc opaque_alloc;
+    mfxFrameSurface1       **opaque_surfaces;
+    AVBufferRef             *opaque_alloc_buf;
+
+    mfxExtBuffer  *extparam_internal[3];
+    int         nb_extparam_internal;
+
+    mfxExtBuffer **extparam;
+
     AVFifoBuffer *async_fifo;
 
     // options set by the caller