History

hwcontext: Improve allocation in derived contexts

Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves.

Mark Thompson committed 9 years ago

Commit c5714b51 parent e1c5d565 files · +26 −3Browse files

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

Unified · Split

doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2017-03-23 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162017-04-30 - xxxxxxx - lavu 56.1.1 - hwcontext.h
17 av_hwframe_ctx_create_derived() now takes some AV_HWFRAME_MAP_* combination
18 as its flags argument (which was previously unused).
19
162017-04-xx - xxxxxxx - lavu 56.1.0 - spherical.h202017-04-xx - xxxxxxx - lavu 56.1.0 - spherical.h
17 Add av_spherical_projection_name() and av_spherical_from_name().21 Add av_spherical_projection_name() and av_spherical_from_name().
18 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