[FFmpeg-devel] [PATCH] vulkan_decode: support software-defined decoders
Lynne
dev at lynne.ee
Wed Dec 18 14:28:34 EET 2024
On 18/12/2024 20:13, Anton Khirnov wrote:
> Quoting Lynne via ffmpeg-devel (2024-12-18 10:07:51)
>> vulkan_decode: support software-defined decoders
>> ---
>> libavcodec/vulkan_decode.c | 118 +++++++++++++++++++++++--------------
>> libavcodec/vulkan_decode.h | 8 +++
>> 2 files changed, 83 insertions(+), 43 deletions(-)
>
> This could really use some more explanation.
Forgot to write the commit message. Amended with the following:
> This commit allows the existing decode infrastructure to be used by
> non-native Vulkan hwaccels, such as purely compute-based
> implementations, or hybrid CPU-GPU implementations.
> Using the existing infrastructure allows to deduplicate large chunks
> of management, initialization, and thread context synchronization
> code.
The code using it is still largely untested, so it may change with the
next version I post, but nothing major - this mostly if()s out any
native Vulkan decode calls from init.
Posting this because the changes to frame_params+init were too obtrusive
to rebase this piece of code on top.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA2FEA5F03F034464.asc
Type: application/pgp-keys
Size: 624 bytes
Desc: OpenPGP public key
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241218/2902afda/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241218/2902afda/attachment.sig>
More information about the ffmpeg-devel
mailing list