summaryrefslogtreecommitdiff
path: root/libavfilter/vulkan.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2020-03-15 10:30:34 +0000
committerLynne <dev@lynne.ee>2020-03-17 22:52:00 +0000
commit1a5e9ae4d8e5ee34c983f16a280c9a262a3fbf8d (patch)
tree5ca6ca91a178b870c5b5bed04259161ccad5e0ee /libavfilter/vulkan.h
parentecc3dceff44b8612c80014d45a514df882883940 (diff)
scale_vulkan: add support for RGB->YUV conversions
Only top-left chroma position supported for now.
Diffstat (limited to 'libavfilter/vulkan.h')
-rw-r--r--libavfilter/vulkan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/vulkan.h b/libavfilter/vulkan.h
index 744e8c32f7..30a64ce933 100644
--- a/libavfilter/vulkan.h
+++ b/libavfilter/vulkan.h
@@ -175,6 +175,11 @@ void ff_vk_filter_uninit (AVFilterContext *avctx);
const char *ff_vk_ret2str(VkResult res);
/**
+ * Returns 1 if the image is any sort of supported RGB
+ */
+int ff_vk_mt_is_np_rgb(enum AVPixelFormat pix_fmt);
+
+/**
* Gets the glsl format string for a pixel format
*/
const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pixfmt);