Debian Codegraph @

gst-libs/gst/d3d12/gstd3d12mipgen-private.h

raw symbols SCIP
1 /* GStreamer
2 * Copyright (C) 2024 Seungha Yang <[email protected]>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20 #pragma once
21
22 #include <gst/gst.h>
23 #include <gst/d3d12/gstd3d12_fwd.h>
24 #include <gst/d3dshader/gstd3dshader.h>
25
26 G_BEGIN_DECLS
27
28 #define GST_TYPE_D3D12_MIP_GEN (gst_d3d12_mip_gen_get_type())
29
30 GST_D3D12_API
31 G_DECLARE_FINAL_TYPE (GstD3D12MipGen, gst_d3d12_mip_gen, GST, D3D12_MIP_GEN, GstObject);
32
33 GST_D3D12_API
34 GstD3D12MipGen * gst_d3d12_mip_gen_new (GstD3D12Device * device,
35 GstD3DPluginCS cs_type);
36
37 GST_D3D12_API
38 gboolean gst_d3d12_mip_gen_execute (GstD3D12MipGen * gen,
39 ID3D12Resource * resource,
40 GstD3D12FenceData * fence_data,
41 ID3D12GraphicsCommandList * cl);
42
43 GST_D3D12_API
44 gboolean gst_d3d12_mip_gen_execute_full (GstD3D12MipGen * gen,
45 ID3D12Resource * resource,
46 GstD3D12FenceData * fence_data,
47 ID3D12GraphicsCommandList * cl,
48 guint mip_levels,
49 D3D12_RESOURCE_STATES state_after);
50
51 G_END_DECLS
52