diff options
author | Lynne <dev@lynne.ee> | 2024-11-19 08:55:17 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-11-20 05:23:05 +0100 |
commit | eb536d97a0271cf5cbeae74533258f01c241bc5f (patch) | |
tree | d1b89df9d89101527d2395be110b2c6aa85e8016 /libavformat/ast.h | |
parent | 69cbda5770d2fb0d7f11de3a7ba0fea16c6b65b4 (diff) | |
download | ffmpeg-eb536d97a0271cf5cbeae74533258f01c241bc5f.tar.gz |
ffv1enc_vulkan: support buffers larger than 4GiB
Unlike the software FFv1 encoder, none of our buffers are allocated by
FFmpeg, which supports at most 4GiB large allocations.
For really large sizes, the maximum size of the buffer can exceed 4GiB,
which the software encoder optimistically tries to allocate as 4GiB
in the hopes that the encoder will compress to under that amount.
We can just let Vulkan allocate us a larger buffer, and switch to
64-bit offsets.
Diffstat (limited to 'libavformat/ast.h')
0 files changed, 0 insertions, 0 deletions