mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc: Remove old vaapi decode infrastructure
Deprecates struct vaapi_context and the installed header vaapi.h, to be removed at the next version bump.
This commit is contained in:
parent
3e8651a7cc
commit
851960f6f8
8 changed files with 73 additions and 329 deletions
|
|
@ -26,7 +26,11 @@
|
|||
#include "libavutil/hwcontext_vaapi.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
|
||||
#include "version.h"
|
||||
#if FF_API_VAAPI_CONTEXT
|
||||
#include "vaapi.h"
|
||||
#endif
|
||||
|
||||
static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *pic)
|
||||
{
|
||||
|
|
@ -54,9 +58,11 @@ typedef struct VAAPIDecodeContext {
|
|||
VAConfigID va_config;
|
||||
VAContextID va_context;
|
||||
|
||||
#if FF_API_VAAPI_CONTEXT
|
||||
int have_old_context;
|
||||
struct vaapi_context *old_context;
|
||||
AVBufferRef *device_ref;
|
||||
#endif
|
||||
|
||||
AVHWDeviceContext *device;
|
||||
AVVAAPIDeviceContext *hwctx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue