diff options
author | Lynne <dev@lynne.ee> | 2021-08-10 12:38:49 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-08-14 00:27:43 +0200 |
commit | d5de9965ef680dad76ffca162afb20ddd9fd35d3 (patch) | |
tree | 1b12d1098c1ff7d5aa8c681f6a22cb6e4862c9c7 /libavutil/hwcontext_cuda_internal.h | |
parent | c44c03221d760ef8caec9e13b07251b90a6a1c8e (diff) | |
download | ffmpeg-d5de9965ef680dad76ffca162afb20ddd9fd35d3.tar.gz |
imgutils: expose av_image_copy_plane_uc_from()
The reason why the generic av_image_copy_uc_from() doesn't really
fit in the case for Vulkan is because some planes may be copied via
other methods (such as mapping GPU memory), and if they don't satisfy
the strict alignment requirements, a gpu image->gpu buffer->cpu ram
copy is performed.
We need this for hwcontext_vulkan, and I think this will also be
useful to API users like libplacebo who would rather not write
a custom SIMD memcpy.
Diffstat (limited to 'libavutil/hwcontext_cuda_internal.h')
0 files changed, 0 insertions, 0 deletions