hwcontext: Add device derivation

Creates a new device context from another of a different type which
refers to the same underlying hardware.

(cherry picked from commit b266ad56fe)
This commit is contained in:
Mark Thompson
2017-03-04 23:57:28 +00:00
parent 92bd089745
commit b22172f6f3
5 changed files with 103 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ libavutil: 2015-08-28
API changes, most recent first:
2017-06-14 - xxxxxxx - lavu 55.64.100 - hwcontext.h
Add av_hwdevice_ctx_create_derived().
2017-05-15 - xxxxxxxxxx - lavc 57.96.100 - avcodec.h
VideoToolbox hardware-accelerated decoding now supports the new hwaccel API,
which can create the decoder context and allocate hardware frames automatically.