hwcontext: Hardware frame mapping

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.
This commit is contained in:
Mark Thompson
2016-10-25 20:38:47 +01:00
parent 67351924fa
commit d06aa24ba5
5 changed files with 365 additions and 7 deletions

View File

@@ -13,6 +13,10 @@ libavutil: 2015-08-28
API changes, most recent first:
2016-xx-xx - xxxxxxx - lavu 55.27.0 - hwcontext.h
Add av_hwframe_map() and associated AV_HWFRAME_MAP_* flags.
Add av_hwframe_ctx_create_derived().
2016-xx-xx - xxxxxxx - lavu 55.25.0 - pixfmt.h
Add AV_PIX_FMT_GBRAP12(LE/BE).