diff options
author | Lynne <dev@lynne.ee> | 2020-03-15 10:30:34 +0000 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-03-17 22:52:00 +0000 |
commit | 1a5e9ae4d8e5ee34c983f16a280c9a262a3fbf8d (patch) | |
tree | 5ca6ca91a178b870c5b5bed04259161ccad5e0ee /libavfilter/vulkan.h | |
parent | ecc3dceff44b8612c80014d45a514df882883940 (diff) | |
download | ffmpeg-1a5e9ae4d8e5ee34c983f16a280c9a262a3fbf8d.tar.gz |
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.h | 5 |
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); |