msdkallocator_d3d: add d3d11 video memory and import it to msdk surface
authorTong Wu <tong1.wu@intel.com>
Mon, 17 Oct 2022 09:01:18 +0000 (17:01 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Nov 2022 06:02:28 +0000 (06:02 +0000)
commitf6e207eb1b129a8051a53bafe1b74295e22fb413
treeb2ef61e8bc60fedfe8571b7749a1021b27b4ac83
parent7f18f11a90d5d10764cff6b47622da4452e29e50
msdkallocator_d3d: add d3d11 video memory and import it to msdk surface

This patch introduces d3d11 texture and index to GstMsdkMemoryID and
implements gst_msdk_import_to_msdk_surface in order to wrap the surface
to mfxMemId.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3231>
subprojects/gst-plugins-bad/sys/msdk/gstmsdkallocator.h
subprojects/gst-plugins-bad/sys/msdk/gstmsdkallocator_d3d.c
subprojects/gst-plugins-bad/sys/msdk/gstmsdkenc.c