diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-02-11 15:13:12 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-02-13 21:44:43 +0000 |
commit | 5dd9a4b88b287bf8c93520afda7becb1ad0d1894 (patch) | |
tree | 0f5bc84e1cabd39369ef3b0a0714b124ee8e0875 /libavcodec/vaapi_decode.h | |
parent | 44f2eda39ff55c69d4d739fb12a42a10b7ce581c (diff) |
vaapi: Implement device-only setup
In this case, the user only supplies a device and the frame context
is allocated internally by lavc.
Diffstat (limited to 'libavcodec/vaapi_decode.h')
-rw-r--r-- | libavcodec/vaapi_decode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vaapi_decode.h b/libavcodec/vaapi_decode.h index 08b212d030..0ff400e34c 100644 --- a/libavcodec/vaapi_decode.h +++ b/libavcodec/vaapi_decode.h @@ -69,6 +69,9 @@ typedef struct VAAPIDecodeContext { AVHWFramesContext *frames; AVVAAPIFramesContext *hwfc; + + enum AVPixelFormat surface_format; + int surface_count; } VAAPIDecodeContext; |