mediafoundation: Add support for AAC encoding
authorSeungha Yang <seungha@centricular.com>
Mon, 18 May 2020 09:12:38 +0000 (18:12 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 27 May 2020 10:34:47 +0000 (10:34 +0000)
commitcee619486a27b96570439900166bfd24ccfc3a3f
treead49526a1bb397dcc7e40ada1d2675faa85cd7eb
parent18f5bdee1695de77c7209e7e33fba431e1346412
mediafoundation: Add support for AAC encoding

Add MediaFoundation AAC encoder element.

Before Windows 10, mono and stereo channels were supported audio channels
configuration by AAC encoder MFT. However, on Windows 10,
5.1 channels support was introduced.

To expose correct range of support format by this element
whatever the OS version is, this element will enumerate
all the supported format by the AAC encoder MFT
and then will configure sink/src templates while plugin init.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1280>
sys/mediafoundation/gstmfaacenc.cpp [new file with mode: 0644]
sys/mediafoundation/gstmfaacenc.h [new file with mode: 0644]
sys/mediafoundation/gstmfaudioenc.cpp [new file with mode: 0644]
sys/mediafoundation/gstmfaudioenc.h [new file with mode: 0644]
sys/mediafoundation/gstmftransform.cpp
sys/mediafoundation/gstmftransform.h
sys/mediafoundation/meson.build
sys/mediafoundation/plugin.c