summaryrefslogtreecommitdiffstats
path: root/video/vt.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/vt.h')
-rw-r--r--video/vt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/video/vt.h b/video/vt.h
new file mode 100644
index 0000000000..e4ad5f021b
--- /dev/null
+++ b/video/vt.h
@@ -0,0 +1,15 @@
+#ifndef MPV_VT_H
+#define MPV_VT_H
+
+#include <stdint.h>
+
+int mp_imgfmt_from_cvpixelformat(uint32_t cvpixfmt);
+
+struct mp_image;
+struct mp_image_pool;
+struct mp_hwdec_ctx;
+struct mp_image *mp_vt_download_image(struct mp_hwdec_ctx *ctx,
+ struct mp_image *hw_image,
+ struct mp_image_pool *swpool);
+
+#endif