diff options
Diffstat (limited to 'video/vaapi.h')
-rw-r--r-- | video/vaapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/vaapi.h b/video/vaapi.h index 7ed61669f5..c9692f61e1 100644 --- a/video/vaapi.h +++ b/video/vaapi.h @@ -69,6 +69,8 @@ VAImageFormat * va_image_format_from_imgfmt(struct mp_vaapi_ctx *ctx, i bool va_image_map(struct mp_vaapi_ctx *ctx, VAImage *image, struct mp_image *mpi); bool va_image_unmap(struct mp_vaapi_ctx *ctx, VAImage *image); +void va_surface_get_uncropped_size(struct mp_image *mpi, int *out_w, int *out_h); + void va_pool_set_allocator(struct mp_image_pool *pool, struct mp_vaapi_ctx *ctx, int rt_format); |