diff options
author | James Almer <jamrial@gmail.com> | 2018-04-13 20:34:23 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-04-13 20:34:23 -0300 |
commit | f790410b6baa4ee53e8a5796e986de0cae78b073 (patch) | |
tree | dc092d2c1bf35c8eb9888f7b3f77c4720bacf423 /libavcodec/qsv_internal.h | |
parent | ae7e66fb4b1a256fb79a016b9c585de84ac77339 (diff) | |
parent | cca5e4f040971db6de0bfe6968f00c021d8a9c42 (diff) | |
download | ffmpeg-f790410b6baa4ee53e8a5796e986de0cae78b073.tar.gz |
Merge commit 'cca5e4f040971db6de0bfe6968f00c021d8a9c42'
* commit 'cca5e4f040971db6de0bfe6968f00c021d8a9c42':
qsv: adding Multi Frame Encode support
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r-- | libavcodec/qsv_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h index 5c33f187f4..394c558883 100644 --- a/libavcodec/qsv_internal.h +++ b/libavcodec/qsv_internal.h @@ -38,6 +38,10 @@ (MFX_VERSION_MAJOR > (MAJOR) || \ MFX_VERSION_MAJOR == (MAJOR) && MFX_VERSION_MINOR >= (MINOR)) +#define QSV_RUNTIME_VERSION_ATLEAST(MFX_VERSION, MAJOR, MINOR) \ + (MFX_VERSION.Major > (MAJOR)) || \ + (MFX_VERSION.Major == (MAJOR) && MFX_VERSION.Minor >= (MINOR)) + typedef struct QSVMid { AVBufferRef *hw_frames_ref; mfxHDL handle; |