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:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-10-22 16:54:14 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-22 16:55:43 +0300
commit866a4174dba066780c7be1ebdaa0152161cdf3e0 (patch)
tree18965c935c72e99a74a56b54ef150bad9df4ebe5 /libavcodec/qsvenc.h
parenta440886a35e3329830d0c96311a80bd0f08ef6f3 (diff)
parentdc923bc23b3efd949d0bf67ff1abdb95059e5843 (diff)
Merge commit 'dc923bc23b3efd949d0bf67ff1abdb95059e5843'
* commit 'dc923bc23b3efd949d0bf67ff1abdb95059e5843': qsvenc: add an API for allocating opaque surfaces Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index 13f1419a76..3dd7afe041 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -52,10 +52,15 @@ typedef struct QSVEncContext {
mfxExtCodingOption extco;
#if QSV_VERSION_ATLEAST(1,6)
mfxExtCodingOption2 extco2;
- mfxExtBuffer *extparam_internal[2];
-#else
- mfxExtBuffer *extparam_internal[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;