diff options
author | James Almer <jamrial@gmail.com> | 2017-12-15 01:04:37 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-12-15 01:05:55 +0300 |
commit | 374f818bfbc5f7ad3a88f6a17770abb14abec4d1 (patch) | |
tree | 460eb0eaa23712634cb0eb45891618719fdca853 /libavcodec/qsvenc.h | |
parent | b4718b76937a6677ce89866e06d929d778c57b64 (diff) | |
parent | 508378556631dc18d32247b4a4e35703758e1ca9 (diff) |
Merge commit '508378556631dc18d32247b4a4e35703758e1ca9'
* commit '508378556631dc18d32247b4a4e35703758e1ca9':
qsv: Support explicit lookahead downscaling
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index fae98e17b8..88e0728110 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -55,6 +55,13 @@ #define QSV_HAVE_QVBR 0 #endif +#if !QSV_HAVE_LA_DS +#define MFX_LOOKAHEAD_DS_UNKNOWN 0 +#define MFX_LOOKAHEAD_DS_OFF 0 +#define MFX_LOOKAHEAD_DS_2x 0 +#define MFX_LOOKAHEAD_DS_4x 0 +#endif + #define QSV_COMMON_OPTS \ { "async_depth", "Maximum processing parallelism", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = ASYNC_DEPTH_DEFAULT }, 0, INT_MAX, VE }, \ { "avbr_accuracy", "Accuracy of the AVBR ratecontrol", OFFSET(qsv.avbr_accuracy), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, \ |