* Re: [FFmpeg-devel] [FFmpeg-cvslog] hwcontext_vulkan: use host image copy
[not found] <20250611043031.6B09E4126CA@natalya.videolan.org>
@ 2025-06-16 13:13 ` Martin Storsjö
0 siblings, 0 replies; only message in thread
From: Martin Storsjö @ 2025-06-16 13:13 UTC (permalink / raw)
To: ffmpeg-devel
On Wed, 11 Jun 2025, Lynne wrote:
> ffmpeg | branch: master | Lynne <dev@lynne.ee> | Mon May 12 18:42:09 2025 +0200| [a9b2c10eee9cf28ecbce2f1972564f4aa826a855] | committer: Lynne
>
> hwcontext_vulkan: use host image copy
>
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a9b2c10eee9cf28ecbce2f1972564f4aa826a855
> ---
>
> libavutil/hwcontext_vulkan.c | 123 ++++++++++++++++++++++++++++++++++++++++++-
> libavutil/vulkan.c | 35 ++++++++++++
> libavutil/vulkan.h | 2 +
> libavutil/vulkan_functions.h | 6 +++
> libavutil/vulkan_loader.h | 1 +
> 5 files changed, 165 insertions(+), 2 deletions(-)
This change breaks compilation on Ubuntu 24.04:
CC libavcodec/vulkan.o
In file included from src/libavutil/vulkan.c:24,
from src/libavcodec/vulkan.c:19:
src/libavutil/vulkan.c: In function ‘ff_vk_load_props’:
src/libavutil/vulkan.c:166:22: error:
‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES’ undeclared
(first use in this function); did you mean
‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXT’?
166 |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavutil/hwcontext_vulkan.c: In function ‘vulkan_frames_init’:
src/libavutil/hwcontext_vulkan.c:2838:47: error:
‘VK_IMAGE_USAGE_HOST_TRANSFER_BIT’ undeclared (first use in this
function); did you mean ‘VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT’?
2838 | hwctx->usage |= supported_usage &
VK_IMAGE_USAGE_HOST_TRANSFER_BIT;
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT
src/libavutil/hwcontext_vulkan.c:2838:47: note: each undeclared identifier
is reported only once for each function it appears in
src/libavutil/hwcontext_vulkan.c: In function ‘vulkan_transfer_host’:
src/libavutil/hwcontext_vulkan.c:4173:5: error: unknown type name
‘VkHostImageLayoutTransitionInfo’; did you mean
‘VkHostImageLayoutTransitionInfoEXT’?
4173 | VkHostImageLayoutTransitionInfo layout_ch_info[];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VkHostImageLayoutTransitionInfoEXT
src/libavutil/hwcontext_vulkan.c:4173:37: error: array size missing in
‘layout_ch_info’
4173 | VkHostImageLayoutTransitionInfo layout_ch_info[];
| ^~~~~~~~~~~~~~
(and many more errors)
// Martin
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-16 13:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20250611043031.6B09E4126CA@natalya.videolan.org>
2025-06-16 13:13 ` [FFmpeg-devel] [FFmpeg-cvslog] hwcontext_vulkan: use host image copy Martin Storsjö
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git