summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-11-06 13:18:56 +0100
committerAnton Khirnov <anton@khirnov.net>2015-11-20 09:23:22 +0100
commit4d8f536b535487063a08609636e712ad86d2ad54 (patch)
treef87f27921322aa5557c8726085d75455703d0489 /libavcodec/qsvenc.h
parentf6c94457b44f41d900cd0991857f54e1f0ccedd6 (diff)
qsvenc: print the actual video parameters used by MSDK
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index fdfc18be67..89fa03af50 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -34,6 +34,17 @@
#include "avcodec.h"
#include "qsv_internal.h"
+#define QSV_HAVE_CO2 QSV_VERSION_ATLEAST(1, 6)
+#define QSV_HAVE_CO3 QSV_VERSION_ATLEAST(1, 11)
+
+#define QSV_HAVE_TRELLIS QSV_VERSION_ATLEAST(1, 8)
+
+#define QSV_HAVE_LA QSV_VERSION_ATLEAST(1, 7)
+#define QSV_HAVE_LA_HRD QSV_VERSION_ATLEAST(1, 11)
+#define QSV_HAVE_ICQ QSV_VERSION_ATLEAST(1, 8)
+#define QSV_HAVE_VCM QSV_VERSION_ATLEAST(1, 8)
+#define QSV_HAVE_QVBR QSV_VERSION_ATLEAST(1, 11)
+
typedef struct QSVEncContext {
AVCodecContext *avctx;