Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-10-11 23:02:26 +0300
committerAnton Khirnov <anton@khirnov.net>2015-10-16 21:00:40 +0300
commitdc923bc23b3efd949d0bf67ff1abdb95059e5843 (patch)
tree59c1c0149eef364623957408d37addb7b5c1b1a3 /libavcodec/qsvenc.h
parent2ec96b6bd5bf7b22978711bcf2cee702bee89c6f (diff)
qsvenc: add an API for allocating opaque surfaces
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index d240c7c7cb..fdfc18be67 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -49,7 +49,14 @@ typedef struct QSVEncContext {
mfxFrameAllocRequest req;
mfxExtCodingOption extco;
- mfxExtBuffer *extparam_internal[1];
+
+ mfxExtOpaqueSurfaceAlloc opaque_alloc;
+ mfxFrameSurface1 **opaque_surfaces;
+ AVBufferRef *opaque_alloc_buf;
+
+ mfxExtBuffer *extparam_internal[2];
+ int nb_extparam_internal;
+
mfxExtBuffer **extparam;
AVFifoBuffer *async_fifo;