summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-09-29 17:54:21 +0200
committerwm4 <wm4@nowhere>2017-09-29 18:17:51 +0200
commitd462a2a32139ea48b63d884d5e991584babbe76a (patch)
tree6120aeaea62e9262b4cc6d2ce9356a9e346a64a4 /video/mp_image_pool.h
parent1f79b2652924cec703627edc92abff4d349aec26 (diff)
downloadmpv-d462a2a32139ea48b63d884d5e991584babbe76a.tar.bz2
mpv-d462a2a32139ea48b63d884d5e991584babbe76a.tar.xz
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.)
Diffstat (limited to 'video/mp_image_pool.h')
-rw-r--r--video/mp_image_pool.h2
1 files changed, 2 insertions, 0 deletions
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