summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/mp_image_pool.h')
-rw-r--r--video/mp_image_pool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/video/mp_image_pool.h b/video/mp_image_pool.h
index 3c7e6221d1..8cb2a5f995 100644
--- a/video/mp_image_pool.h
+++ b/video/mp_image_pool.h
@@ -36,9 +36,12 @@ bool mp_image_hw_upload(struct mp_image *hw_img, struct mp_image *src);
struct AVBufferRef;
bool mp_update_av_hw_frames_pool(struct AVBufferRef **hw_frames_ctx,
struct AVBufferRef *hw_device_ctx,
- int imgfmt, int sw_imgfmt, int w, int h);
+ int imgfmt, int sw_imgfmt, int w, int h,
+ bool disable_multiplane);
struct mp_image *mp_av_pool_image_hw_upload(struct AVBufferRef *hw_frames_ctx,
struct mp_image *src);
+struct mp_image *mp_av_pool_image_hw_map(struct AVBufferRef *hw_frames_ctx,
+ struct mp_image *src);
#endif