diff --git a/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.cpp b/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.cpp index 91aa44cdf3..01a1ec0b64 100644 --- a/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.cpp @@ -3128,36 +3128,6 @@ out: return ret; } -gboolean -gst_d3d11_converter_convert (GstD3D11Converter * converter, - ID3D11ShaderResourceView * srv[GST_VIDEO_MAX_PLANES], - ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES]) -{ - gboolean ret; - - g_return_val_if_fail (GST_IS_D3D11_CONVERTER (converter), FALSE); - g_return_val_if_fail (srv != nullptr, FALSE); - g_return_val_if_fail (rtv != nullptr, FALSE); - - gst_d3d11_device_lock (converter->device); - ret = gst_d3d11_converter_convert_internal (converter, srv, rtv); - gst_d3d11_device_unlock (converter->device); - - return ret; -} - -gboolean -gst_d3d11_converter_convert_unlocked (GstD3D11Converter * converter, - ID3D11ShaderResourceView * srv[GST_VIDEO_MAX_PLANES], - ID3D11RenderTargetView * rtv[GST_VIDEO_MAX_PLANES]) -{ - g_return_val_if_fail (GST_IS_D3D11_CONVERTER (converter), FALSE); - g_return_val_if_fail (srv != nullptr, FALSE); - g_return_val_if_fail (rtv != nullptr, FALSE); - - return gst_d3d11_converter_convert_internal (converter, srv, rtv); -} - static gboolean gst_d3d11_converter_check_bind_flags_for_piv (guint bind_flags) { diff --git a/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.h b/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.h index 24242afcc0..213e792207 100644 --- a/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.h +++ b/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.h @@ -70,14 +70,6 @@ GstD3D11Converter * gst_d3d11_converter_new (GstD3D11Device * device, const GstVideoInfo * out_info, GstD3D11ConverterMethod * method); -gboolean gst_d3d11_converter_convert (GstD3D11Converter * converter, - ID3D11ShaderResourceView *srv[GST_VIDEO_MAX_PLANES], - ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES]); - -gboolean gst_d3d11_converter_convert_unlocked (GstD3D11Converter * converter, - ID3D11ShaderResourceView *srv[GST_VIDEO_MAX_PLANES], - ID3D11RenderTargetView *rtv[GST_VIDEO_MAX_PLANES]); - gboolean gst_d3d11_converter_convert_buffer (GstD3D11Converter * converter, GstBuffer * in_buf, GstBuffer * out_buf);