summaryrefslogtreecommitdiffstats
path: root/video/vaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/vaapi.h')
-rw-r--r--video/vaapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/vaapi.h b/video/vaapi.h
index 3f0d1dca37..add3216308 100644
--- a/video/vaapi.h
+++ b/video/vaapi.h
@@ -36,6 +36,9 @@ struct mp_vaapi_ctx {
struct va_image_formats *image_formats;
bool gpu_memcpy_message;
pthread_mutex_t lock;
+ // Internal, for va_create_standalone()
+ void *native_ctx;
+ void (*destroy_native_ctx)(void *native_ctx);
};
bool check_va_status(struct mp_log *log, VAStatus status, const char *msg);
@@ -73,4 +76,6 @@ void va_surface_init_subformat(struct mp_image *mpi);
bool va_guess_if_emulated(struct mp_vaapi_ctx *ctx);
+struct mp_vaapi_ctx *va_create_standalone(struct mp_log *plog, bool probing);
+
#endif