History

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.

Lynne committed 5 years ago

Commit d5de9961 parent c44c0324 files · +26 −5Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+3−0
@@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines
14 14
15API changes, most recent first:15API changes, most recent first:
16 16
172021-08-14 - xxxxxxxxxx - lavu 57.4.100 - imgutils.h
18 Add av_image_copy_plane_uc_from()
19
172021-08-02 - xxxxxxxxxx - lavc 59.4.100 - packet.h202021-08-02 - xxxxxxxxxx - lavc 59.4.100 - packet.h
18 Add AVPacket.opaque, AVPacket.opaque_ref, AVPacket.time_base.21 Add AVPacket.opaque, AVPacket.opaque_ref, AVPacket.time_base.
19 22

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t