History

AVFrame: add an opaque_ref field

This is an extended version of the AVFrame.opaque field, which can be used to attach arbitrary user information to an AVFrame. The usefulness of the opaque field is rather limited, because it can store only up to 32 bits of information (or 64 bit on 64 bit systems). It's not possible to set this field to a memory allocation, because there is no way to deallocate it correctly. The opaque_ref field circumvents this by letting the user set an AVBuffer, which makes the user data refcounted. Signed-off-by: Anton Khirnov <anton@khirnov.net> Merges Libav commit 04f3bd349651.

wm4 committed 9 years ago

Commit e3af49b1 parent 2b9f92f4 files · +24 −1Browse files

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

Unified · Split

doc/APIchanges+3−0
@@ -15,6 +15,9 @@ libavutil: 2015-08-28 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182017-02-11 - xxxxxxx - lavu 55.47.100 - frame.h
19 Add AVFrame.opaque_ref.
20
182017-01-31 - xxxxxxx - lavu 55.46.100 / 55.20.0 - cpu.h212017-01-31 - xxxxxxx - lavu 55.46.100 / 55.20.0 - cpu.h
19 Add AV_CPU_FLAG_SSSE3SLOW.22 Add AV_CPU_FLAG_SSSE3SLOW.
20 23

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