Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Martin Storsjö" <martin@martin.st>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] hwcontext_vulkan: use host image copy
Date: Mon, 16 Jun 2025 16:13:05 +0300 (EEST)
Message-ID: <cc3f54f-e348-9d52-f650-6f5e41d863f@martin.st> (raw)
In-Reply-To: <20250611043031.6B09E4126CA@natalya.videolan.org>

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".

           reply	other threads:[~2025-06-16 13:13 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20250611043031.6B09E4126CA@natalya.videolan.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc3f54f-e348-9d52-f650-6f5e41d863f@martin.st \
    --to=martin@martin.st \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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