summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_decode.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-26 09:37:37 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:06 -0300
commite3d993fab0ad4255dffd10a794fc5e1bd37047b7 (patch)
tree8a7dba827c021e9abd7ed2afec0eecf5dd066f67 /libavcodec/vaapi_decode.h
parent337f777f378cfcc0d6f0d01fb7125905e8b0da55 (diff)
avcodec/vaapi: Remove old and deprecated VAAPI context and header
Deprecated in 851960f6f8cf1f946fe42fa36cf6598fac68072c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vaapi_decode.h')
-rw-r--r--libavcodec/vaapi_decode.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libavcodec/vaapi_decode.h b/libavcodec/vaapi_decode.h
index 6b415dd1d3..6beda14e52 100644
--- a/libavcodec/vaapi_decode.h
+++ b/libavcodec/vaapi_decode.h
@@ -27,11 +27,6 @@
#include "avcodec.h"
-#include "version.h"
-#if FF_API_STRUCT_VAAPI_CONTEXT
-#include "vaapi.h"
-#endif
-
static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *pic)
{
return (uintptr_t)pic->data[3];
@@ -56,14 +51,6 @@ typedef struct VAAPIDecodeContext {
VAConfigID va_config;
VAContextID va_context;
-#if FF_API_STRUCT_VAAPI_CONTEXT
-FF_DISABLE_DEPRECATION_WARNINGS
- int have_old_context;
- struct vaapi_context *old_context;
- AVBufferRef *device_ref;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
AVHWDeviceContext *device;
AVVAAPIDeviceContext *hwctx;