msdk: Add functions to get data members from MsdkSession
When getting mfxImplDescription, these data members need to be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4177>
This commit is contained in:
parent
6242fca526
commit
34a812a0c0
@ -650,6 +650,18 @@ gst_msdk_context_get_session (GstMsdkContext * context)
|
|||||||
return context->priv->session.session;
|
return context->priv->session.session;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const mfxLoader *
|
||||||
|
gst_msdk_context_get_loader (GstMsdkContext * context)
|
||||||
|
{
|
||||||
|
return &context->priv->session.loader;
|
||||||
|
}
|
||||||
|
|
||||||
|
mfxU32
|
||||||
|
gst_msdk_context_get_impl_idx (GstMsdkContext * context)
|
||||||
|
{
|
||||||
|
return context->priv->session.impl_idx;
|
||||||
|
}
|
||||||
|
|
||||||
gpointer
|
gpointer
|
||||||
gst_msdk_context_get_handle (GstMsdkContext * context)
|
gst_msdk_context_get_handle (GstMsdkContext * context)
|
||||||
{
|
{
|
||||||
|
@ -99,6 +99,8 @@ GstMsdkContext * gst_msdk_context_new_with_d3d11_device (GstD3D11Device * device
|
|||||||
gboolean hardware, GstMsdkContextJobType job_type);
|
gboolean hardware, GstMsdkContextJobType job_type);
|
||||||
#endif
|
#endif
|
||||||
mfxSession gst_msdk_context_get_session (GstMsdkContext * context);
|
mfxSession gst_msdk_context_get_session (GstMsdkContext * context);
|
||||||
|
const mfxLoader * gst_msdk_context_get_loader (GstMsdkContext * context);
|
||||||
|
mfxU32 gst_msdk_context_get_impl_idx (GstMsdkContext * context);
|
||||||
|
|
||||||
gpointer gst_msdk_context_get_handle (GstMsdkContext * context);
|
gpointer gst_msdk_context_get_handle (GstMsdkContext * context);
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user