avcodec: Add MediaFoundation encoder wrapper

Multimedia / FFmpeg - wm4 [googlemail.com] - 19 May 2020 18:34 EDT

This contains encoder wrappers for H264, HEVC, AAC, AC3 and MP3.

This is based on top of an original patch by wm4 . The original patch supported both encoding and decoding, but this patch only includes encoding.

The patch contains further changes by Paweł Wegner (primarily for splitting out the encoding parts of the original patch) and further cleanup, build compatibility fixes and tweaks for use with Qualcomm encoders by Martin Storsjö.

050b72ab5e avcodec: Add MediaFoundation encoder wrapper
Changelog | 1 +
configure | 11 +
doc/encoders.texi | 8 +
libavcodec/Makefile | 6 +
libavcodec/allcodecs.c | 5 +
libavcodec/mf_utils.c | 680 +++++++++++++++++++++++++++
libavcodec/mf_utils.h | 159 +++++++
libavcodec/mfenc.c | 1192 ++++++++++++++++++++++++++++++++++++++++++++++++
libavcodec/version.h | 2 +-
9 files changed, 2063 insertions(+), 1 deletion(-)

  • Share