hwcontext: Hardware frame mapping

Multimedia / Libav - Mark Thompson [jkqxz.net] - 3 November 2016 18:49 UTC

Adds the new av_hwframe_map() function, which allows mapping between hardware frames and normal memory, along with internal support for implementing it.

Also adds av_hwframe_ctx_create_derived(), for creating a hardware frames context associated with one device using frames mapped from another by some hardware-specific means.

d06aa24 hwcontext: Hardware frame mapping
doc/APIchanges | 4 +
libavutil/hwcontext.c | 239 +++++++++++++++++++++++++++++++++++++++-
libavutil/hwcontext.h | 87 +++++++++++++++
libavutil/hwcontext_internal.h | 40 +++++++
libavutil/version.h | 2 +-
5 files changed, 365 insertions(+), 7 deletions(-)

Upstream: git.libav.org


  • Share