mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
d3d12converter: Update internal method names
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7193>
This commit is contained in:
parent
72895ed0fa
commit
9a06330d09
2 changed files with 6 additions and 6 deletions
|
@ -102,7 +102,7 @@ gst_d3d12_pack_finalize (GObject * object)
|
|||
}
|
||||
|
||||
static GstBufferPool *
|
||||
gst_d3d12_unpacker_create_pool (GstD3D12Pack * self,
|
||||
gst_d3d12_pack_create_pool (GstD3D12Pack * self,
|
||||
const GstVideoInfo * info, D3D12_RESOURCE_FLAGS resource_flags)
|
||||
{
|
||||
auto priv = self->priv;
|
||||
|
@ -284,7 +284,7 @@ gst_d3d12_pack_new (GstD3D12Device * device,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
priv->render_target_pool = gst_d3d12_unpacker_create_pool (self,
|
||||
priv->render_target_pool = gst_d3d12_pack_create_pool (self,
|
||||
&priv->in_info, D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET |
|
||||
D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS);
|
||||
if (!priv->render_target_pool) {
|
||||
|
|
|
@ -110,7 +110,7 @@ gst_d3d12_unpack_finalize (GObject * object)
|
|||
}
|
||||
|
||||
static GstBufferPool *
|
||||
gst_d3d12_unpacker_create_pool (GstD3D12Unpack * self,
|
||||
gst_d3d12_unpack_create_pool (GstD3D12Unpack * self,
|
||||
const GstVideoInfo * info, D3D12_RESOURCE_FLAGS resource_flags)
|
||||
{
|
||||
auto priv = self->priv;
|
||||
|
@ -291,7 +291,7 @@ gst_d3d12_unpack_new (GstD3D12Device * device,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
priv->output_pool = gst_d3d12_unpacker_create_pool (self,
|
||||
priv->output_pool = gst_d3d12_unpack_create_pool (self,
|
||||
&priv->pool_info, D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS |
|
||||
D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS);
|
||||
if (!priv->output_pool) {
|
||||
|
@ -366,7 +366,7 @@ gst_d3d12_unpack_upload (GstD3D12Unpack * self, GstBuffer * in_buf,
|
|||
}
|
||||
|
||||
if (!priv->upload_pool) {
|
||||
priv->upload_pool = gst_d3d12_unpacker_create_pool (self,
|
||||
priv->upload_pool = gst_d3d12_unpack_create_pool (self,
|
||||
&priv->upload_info, D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS);
|
||||
if (!priv->upload_pool)
|
||||
return nullptr;
|
||||
|
@ -401,7 +401,7 @@ gst_d3d12_unpack_create_output (GstD3D12Unpack * self, gint width, gint height)
|
|||
}
|
||||
|
||||
if (!priv->output_pool) {
|
||||
priv->output_pool = gst_d3d12_unpacker_create_pool (self,
|
||||
priv->output_pool = gst_d3d12_unpack_create_pool (self,
|
||||
&priv->pool_info, D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS |
|
||||
D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS);
|
||||
if (!priv->output_pool)
|
||||
|
|
Loading…
Reference in a new issue