diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-09-18 14:59:59 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-09-28 22:54:11 +0100 |
commit | 892bbbcdc171ff0d08d69636a240ffb95f54243c (patch) | |
tree | d9b1b85f004fe3b5c3b61ae1d41d2944c41af572 /libavcodec/vaapi_encode.h | |
parent | 80a5d05108cb218e8cd2e25c6621a3bfef0a832e (diff) | |
download | ffmpeg-892bbbcdc171ff0d08d69636a240ffb95f54243c.tar.gz |
vaapi_encode: Check packed header capabilities
This improves behaviour with drivers which do not support packed
headers, such as AMD VCE on mesa/gallium.
Diffstat (limited to 'libavcodec/vaapi_encode.h')
-rw-r--r-- | libavcodec/vaapi_encode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h index 71f608751b..c47d979db2 100644 --- a/libavcodec/vaapi_encode.h +++ b/libavcodec/vaapi_encode.h @@ -101,6 +101,9 @@ typedef struct VAAPIEncodeContext { unsigned int va_rt_format; // Rate control mode. unsigned int va_rc_mode; + // Supported packed headers (initially the desired set, modified + // later to what is actually supported). + unsigned int va_packed_headers; // The required size of surfaces. This is probably the input // size (AVCodecContext.width|height) aligned up to whatever |