diff options
author | James Almer <jamrial@gmail.com> | 2024-10-27 14:50:54 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-10-27 14:50:57 -0300 |
commit | bb57b780134f59e3bddfab295e34e88468bbd545 (patch) | |
tree | 2d137c9a953f293c17109e3e9e2fcba5c1c0ee83 /libavutil/vulkan.c | |
parent | 839f6d38a0ff32d8fb89fc1f1b281ed874ae3543 (diff) | |
download | ffmpeg-bb57b780134f59e3bddfab295e34e88468bbd545.tar.gz |
avutil/hwcontext_vulkan: add missing packed YUV444 format mappings
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/vulkan.c')
-rw-r--r-- | libavutil/vulkan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index b7654d0f36..2c71312d78 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1300,6 +1300,7 @@ const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pix_fmt, case AV_PIX_FMT_RGB0: case AV_PIX_FMT_RGB565: case AV_PIX_FMT_BGR565: + case AV_PIX_FMT_UYVA: case AV_PIX_FMT_YUYV422: case AV_PIX_FMT_UYVY422: { const char *rep_tab[] = { @@ -1326,7 +1327,8 @@ const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pix_fmt, case AV_PIX_FMT_RGBA64: case AV_PIX_FMT_Y212: case AV_PIX_FMT_Y216: - case AV_PIX_FMT_XV36: { + case AV_PIX_FMT_XV36: + case AV_PIX_FMT_XV48: { const char *rep_tab[] = { [FF_VK_REP_NATIVE] = "rgba16ui", [FF_VK_REP_FLOAT] = "rgba16", |