Re: [FFmpeg-devel] [PATCH v3 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-29 Thread Niklas Haas
On Sun, 29 Oct 2023 10:31:17 +0800 Zhao Zhili wrote: > libplacebo doesn't support that: > > // Creates a new vulkan device based on the given parameters and initializes > // a new GPU. This function will internally initialize a VkDevice. There is > // currently no way to share a vulkan device

Re: [FFmpeg-devel] [PATCH v3 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-28 Thread Lynne
Oct 29, 2023, 03:31 by quinkbl...@foxmail.com: > > On 2023/10/29 03:32, Lynne wrote: > >> Oct 28, 2023, 20:14 byquinkbl...@foxmail.com: >> > > Fixed in patch v4. > > Maybe we should export optional_device_exts in API. > Patch welcome. >> >> Is there no option to let libavutil create the

Re: [FFmpeg-devel] [PATCH v3 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-28 Thread Zhao Zhili
On 2023/10/29 03:32, Lynne wrote: Oct 28, 2023, 20:14 byquinkbl...@foxmail.com: From: Zhao Zhili --- v3: shared vulkan instance between libplacebo and hwcontext fftools/ffplay.c | 43 ++ fftools/ffplay_renderer.c | 316 +-

Re: [FFmpeg-devel] [PATCH v3 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-28 Thread Lynne
Oct 28, 2023, 20:14 by quinkbl...@foxmail.com: > From: Zhao Zhili > > --- > v3: shared vulkan instance between libplacebo and hwcontext > > fftools/ffplay.c | 43 ++ > fftools/ffplay_renderer.c | 316 +- > fftools/ffplay_renderer.h | 2 + > 3

[FFmpeg-devel] [PATCH v3 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-28 Thread Zhao Zhili
From: Zhao Zhili --- v3: shared vulkan instance between libplacebo and hwcontext fftools/ffplay.c | 43 ++ fftools/ffplay_renderer.c | 316 +- fftools/ffplay_renderer.h | 2 + 3 files changed, 355 insertions(+), 6 deletions(-) diff --git