From d462a2a32139ea48b63d884d5e991584babbe76a Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 29 Sep 2017 17:54:21 +0200 Subject: vf_vavpp: use libavutil hw frames API for frame pool and upload Another step to get rid of the legacy crap in vaapi.c. (Most is still kept, because it's in use by vo_vaapi.c.) --- video/mp_image_pool.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/mp_image_pool.h') diff --git a/video/mp_image_pool.h b/video/mp_image_pool.h index 95e4ae57be..5f570bc6f6 100644 --- a/video/mp_image_pool.h +++ b/video/mp_image_pool.h @@ -29,4 +29,6 @@ bool mp_image_pool_make_writeable(struct mp_image_pool *pool, struct mp_image *mp_image_hw_download(struct mp_image *img, struct mp_image_pool *swpool); +bool mp_image_hw_upload(struct mp_image *hw_img, struct mp_image *src); + #endif -- cgit v1.2.3