hwcontext: Add device derivation

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 14 June 2017 17:25 EDT

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

(cherry picked from commit b266ad56fe0e4ce5bb70118ba2e2b1dabfaf76ce)

b22172f hwcontext: Add device derivation
doc/APIchanges | 3 ++
libavutil/hwcontext.c | 65 ++++++++++++++++++++++++++++++++++++++++++
libavutil/hwcontext.h | 26 +++++++++++++++++
libavutil/hwcontext_internal.h | 8 ++++++
libavutil/version.h | 2 +-
5 files changed, 103 insertions(+), 1 deletion(-)

  • Share