2019-01-30 11:07:29 +00:00
|
|
|
/*
|
|
|
|
* GStreamer
|
|
|
|
* Copyright (C) 2019 Seungha Yang <seungha.yang@navercorp.com>
|
2020-12-20 17:47:45 +00:00
|
|
|
* Copyright (C) 2020 Seungha Yang <seungha@centricular.com>
|
2019-01-30 11:07:29 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
2022-06-23 16:25:07 +00:00
|
|
|
#pragma once
|
2019-01-30 11:07:29 +00:00
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#include <gst/video/video.h>
|
2020-12-20 17:47:45 +00:00
|
|
|
#include <gst/d3d11/gstd3d11_fwd.h>
|
|
|
|
#include <gst/d3d11/gstd3d11format.h>
|
2019-01-30 11:07:29 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GST_TYPE_D3D11_ALLOCATION_PARAMS (gst_d3d11_allocation_params_get_type())
|
2021-03-18 13:31:55 +00:00
|
|
|
|
|
|
|
#define GST_D3D11_MEMORY_CAST(obj) ((GstD3D11Memory *)obj)
|
|
|
|
|
2019-01-30 11:07:29 +00:00
|
|
|
#define GST_TYPE_D3D11_ALLOCATOR (gst_d3d11_allocator_get_type())
|
|
|
|
#define GST_D3D11_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_D3D11_ALLOCATOR, GstD3D11Allocator))
|
2021-03-18 13:31:55 +00:00
|
|
|
#define GST_D3D11_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_D3D11_ALLOCATOR, GstD3D11AllocatorClass))
|
2019-01-30 11:07:29 +00:00
|
|
|
#define GST_IS_D3D11_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_D3D11_ALLOCATOR))
|
|
|
|
#define GST_IS_D3D11_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_D3D11_ALLOCATOR))
|
|
|
|
#define GST_D3D11_ALLOCATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_D3D11_ALLOCATOR, GstD3D11AllocatorClass))
|
2020-10-24 11:59:55 +00:00
|
|
|
#define GST_D3D11_ALLOCATOR_CAST(obj) ((GstD3D11Allocator *)obj)
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
#define GST_TYPE_D3D11_POOL_ALLOCATOR (gst_d3d11_pool_allocator_get_type())
|
|
|
|
#define GST_D3D11_POOL_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_D3D11_POOL_ALLOCATOR, GstD3D11PoolAllocator))
|
|
|
|
#define GST_D3D11_POOL_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_D3D11_POOL_ALLOCATOR, GstD3D11PoolAllocatorClass))
|
|
|
|
#define GST_IS_D3D11_POOL_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_D3D11_POOL_ALLOCATOR))
|
|
|
|
#define GST_IS_D3D11_POOL_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_D3D11_POOL_ALLOCATOR))
|
|
|
|
#define GST_D3D11_POOL_ALLOCATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_D3D11_POOL_ALLOCATOR, GstD3D11PoolAllocatorClass))
|
|
|
|
#define GST_D3D11_POOL_ALLOCATOR_CAST(obj) ((GstD3D11PoolAllocator *)obj)
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GST_D3D11_MEMORY_NAME:
|
|
|
|
*
|
|
|
|
* The name of the Direct3D11 memory
|
|
|
|
*
|
2022-06-23 16:25:07 +00:00
|
|
|
* Since: 1.22
|
2021-03-18 13:31:55 +00:00
|
|
|
*/
|
|
|
|
#define GST_D3D11_MEMORY_NAME "D3D11Memory"
|
|
|
|
|
2019-01-30 11:07:29 +00:00
|
|
|
/**
|
|
|
|
* GST_CAPS_FEATURE_MEMORY_D3D11_MEMORY:
|
|
|
|
*
|
|
|
|
* Name of the caps feature for indicating the use of #GstD3D11Memory
|
2020-12-20 17:47:45 +00:00
|
|
|
*
|
2022-06-23 16:25:07 +00:00
|
|
|
* Since: 1.22
|
2019-01-30 11:07:29 +00:00
|
|
|
*/
|
|
|
|
#define GST_CAPS_FEATURE_MEMORY_D3D11_MEMORY "memory:D3D11Memory"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GST_MAP_D3D11:
|
|
|
|
*
|
|
|
|
* Flag indicating that we should map the D3D11 resource instead of to system memory.
|
2020-12-20 17:47:45 +00:00
|
|
|
*
|
2022-06-23 16:25:07 +00:00
|
|
|
* Since: 1.22
|
2019-01-30 11:07:29 +00:00
|
|
|
*/
|
|
|
|
#define GST_MAP_D3D11 (GST_MAP_FLAG_LAST << 1)
|
|
|
|
|
2019-11-06 10:37:33 +00:00
|
|
|
/**
|
|
|
|
* GstD3D11AllocationFlags:
|
2022-06-23 16:21:48 +00:00
|
|
|
* @GST_D3D11_ALLOCATION_FLAG_DEFAULT: Default allocation behavior
|
2021-03-28 10:03:09 +00:00
|
|
|
* @GST_D3D11_ALLOCATION_FLAG_TEXTURE_ARRAY: Indicates each allocated texture
|
|
|
|
* should be array type. This type of
|
|
|
|
* is used for D3D11/DXVA decoders
|
|
|
|
* in general.
|
2020-12-20 17:47:45 +00:00
|
|
|
*
|
2022-06-23 16:25:07 +00:00
|
|
|
* Since: 1.22
|
2019-11-06 10:37:33 +00:00
|
|
|
*/
|
|
|
|
typedef enum
|
2019-01-30 11:07:29 +00:00
|
|
|
{
|
2022-06-23 16:21:48 +00:00
|
|
|
GST_D3D11_ALLOCATION_FLAG_DEFAULT = 0,
|
2020-01-11 09:24:02 +00:00
|
|
|
GST_D3D11_ALLOCATION_FLAG_TEXTURE_ARRAY = (1 << 0),
|
2019-11-06 10:37:33 +00:00
|
|
|
} GstD3D11AllocationFlags;
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2022-07-20 20:40:45 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
GType gst_d3d11_allocation_flags_get_type (void);
|
|
|
|
#define GST_TYPE_D3D11_ALLOCATION_FLAGS (gst_d3d11_allocation_flags_get_type())
|
|
|
|
|
2019-11-06 10:37:33 +00:00
|
|
|
/**
|
|
|
|
* GstD3D11MemoryTransfer:
|
|
|
|
* @GST_D3D11_MEMORY_TRANSFER_NEED_DOWNLOAD: the texture needs downloading
|
|
|
|
* to the staging texture memory
|
|
|
|
* @GST_D3D11_MEMORY_TRANSFER_NEED_UPLOAD: the staging texture needs uploading
|
|
|
|
* to the texture
|
2020-12-20 17:47:45 +00:00
|
|
|
*
|
2022-06-23 16:25:07 +00:00
|
|
|
* Since: 1.22
|
2019-11-06 10:37:33 +00:00
|
|
|
*/
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GST_D3D11_MEMORY_TRANSFER_NEED_DOWNLOAD = (GST_MEMORY_FLAG_LAST << 0),
|
|
|
|
GST_D3D11_MEMORY_TRANSFER_NEED_UPLOAD = (GST_MEMORY_FLAG_LAST << 1)
|
|
|
|
} GstD3D11MemoryTransfer;
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2022-07-20 20:40:45 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
GType gst_d3d11_memory_transfer_get_type (void);
|
|
|
|
#define GST_TYPE_D3D11_MEMORY_TRANSFER (gst_d3d11_memory_transfer_get_type())
|
|
|
|
|
2022-02-06 12:36:28 +00:00
|
|
|
/**
|
|
|
|
* GstD3D11MemoryNativeType:
|
|
|
|
* @GST_D3D11_MEMORY_NATIVE_TYPE_INVALID: not a valid object type
|
|
|
|
* @GST_D3D11_MEMORY_OBJECT_TYPE_BUFFER: memory holds ID3D11Buffer object
|
|
|
|
* @GST_D3D11_MEMORY_OBJECT_TYPE_TEXTURE_2D: memory holds ID3D11Texture2D object
|
|
|
|
*
|
|
|
|
* Since: 1.22
|
|
|
|
*/
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GST_D3D11_MEMORY_NATIVE_TYPE_INVALID = 0,
|
|
|
|
GST_D3D11_MEMORY_NATIVE_TYPE_BUFFER,
|
|
|
|
GST_D3D11_MEMORY_NATIVE_TYPE_TEXTURE_2D,
|
|
|
|
} GstD3D11MemoryNativeType;
|
|
|
|
|
2022-07-20 20:40:45 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
GType gst_d3d11_memory_native_type_get_type (void);
|
|
|
|
#define GST_TYPE_D3D11_MEMORY_NATIVE_TYPE (gst_d3d11_memory_native_type_get_type())
|
|
|
|
|
2019-11-06 10:37:33 +00:00
|
|
|
struct _GstD3D11AllocationParams
|
|
|
|
{
|
|
|
|
/* Texture description per plane */
|
|
|
|
D3D11_TEXTURE2D_DESC desc[GST_VIDEO_MAX_PLANES];
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2019-11-06 10:37:33 +00:00
|
|
|
GstVideoInfo info;
|
2020-02-03 12:55:55 +00:00
|
|
|
GstVideoInfo aligned_info;
|
2022-02-12 19:36:39 +00:00
|
|
|
GstD3D11Format d3d11_format;
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2019-11-06 10:37:33 +00:00
|
|
|
GstD3D11AllocationFlags flags;
|
|
|
|
|
|
|
|
/*< private >*/
|
2022-06-23 16:25:07 +00:00
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
2019-01-30 11:07:29 +00:00
|
|
|
};
|
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2021-03-18 13:31:55 +00:00
|
|
|
GType gst_d3d11_allocation_params_get_type (void);
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2021-03-18 13:31:55 +00:00
|
|
|
GstD3D11AllocationParams * gst_d3d11_allocation_params_new (GstD3D11Device * device,
|
2022-06-23 16:25:07 +00:00
|
|
|
const GstVideoInfo * info,
|
2021-03-18 13:31:55 +00:00
|
|
|
GstD3D11AllocationFlags flags,
|
2022-06-23 16:21:48 +00:00
|
|
|
guint bind_flags,
|
|
|
|
guint misc_flags);
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2021-03-18 13:31:55 +00:00
|
|
|
GstD3D11AllocationParams * gst_d3d11_allocation_params_copy (GstD3D11AllocationParams * src);
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2021-03-18 13:31:55 +00:00
|
|
|
void gst_d3d11_allocation_params_free (GstD3D11AllocationParams * params);
|
2020-02-03 12:55:55 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-02-03 12:55:55 +00:00
|
|
|
gboolean gst_d3d11_allocation_params_alignment (GstD3D11AllocationParams * parms,
|
2022-06-23 16:25:07 +00:00
|
|
|
const GstVideoAlignment * align);
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
struct _GstD3D11Memory
|
|
|
|
{
|
|
|
|
GstMemory mem;
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
/*< public >*/
|
|
|
|
GstD3D11Device *device;
|
2019-01-30 11:07:29 +00:00
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
/*< private >*/
|
|
|
|
GstD3D11MemoryPrivate *priv;
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
|
|
};
|
2020-10-03 09:53:46 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2021-03-18 13:31:55 +00:00
|
|
|
void gst_d3d11_memory_init_once (void);
|
2020-01-30 09:11:52 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2021-03-18 13:31:55 +00:00
|
|
|
gboolean gst_is_d3d11_memory (GstMemory * mem);
|
2019-08-24 08:14:09 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2022-02-06 12:36:28 +00:00
|
|
|
GstD3D11MemoryNativeType gst_d3d11_memory_get_native_type (GstD3D11Memory * mem);
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
ID3D11Resource * gst_d3d11_memory_get_resource_handle (GstD3D11Memory * mem);
|
2020-12-19 17:39:40 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
gboolean gst_d3d11_memory_get_texture_desc (GstD3D11Memory * mem,
|
|
|
|
D3D11_TEXTURE2D_DESC * desc);
|
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
GST_D3D11_API
|
2022-02-06 12:36:28 +00:00
|
|
|
gboolean gst_d3d11_memory_get_buffer_desc (GstD3D11Memory * mem,
|
|
|
|
D3D11_BUFFER_DESC * desc);
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
gboolean gst_d3d11_memory_get_resource_stride (GstD3D11Memory * mem,
|
|
|
|
guint * stride);
|
2021-03-18 13:31:55 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
guint gst_d3d11_memory_get_subresource_index (GstD3D11Memory * mem);
|
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
guint gst_d3d11_memory_get_shader_resource_view_size (GstD3D11Memory * mem);
|
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
ID3D11ShaderResourceView * gst_d3d11_memory_get_shader_resource_view (GstD3D11Memory * mem,
|
|
|
|
guint index);
|
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
guint gst_d3d11_memory_get_render_target_view_size (GstD3D11Memory * mem);
|
2019-10-06 12:35:48 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
ID3D11RenderTargetView * gst_d3d11_memory_get_render_target_view (GstD3D11Memory * mem,
|
|
|
|
guint index);
|
2019-10-06 12:35:48 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
ID3D11VideoDecoderOutputView * gst_d3d11_memory_get_decoder_output_view (GstD3D11Memory * mem,
|
|
|
|
ID3D11VideoDevice * video_device,
|
2022-05-27 12:13:43 +00:00
|
|
|
ID3D11VideoDecoder * decoder,
|
|
|
|
const GUID * decoder_profile);
|
2020-10-19 16:59:35 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
ID3D11VideoProcessorInputView * gst_d3d11_memory_get_processor_input_view (GstD3D11Memory * mem,
|
|
|
|
ID3D11VideoDevice * video_device,
|
|
|
|
ID3D11VideoProcessorEnumerator * enumerator);
|
2020-10-21 07:28:11 +00:00
|
|
|
|
2020-12-20 17:47:45 +00:00
|
|
|
GST_D3D11_API
|
2020-12-19 17:39:40 +00:00
|
|
|
ID3D11VideoProcessorOutputView * gst_d3d11_memory_get_processor_output_view (GstD3D11Memory * mem,
|
|
|
|
ID3D11VideoDevice * video_device,
|
|
|
|
ID3D11VideoProcessorEnumerator * enumerator);
|
2020-10-23 17:33:29 +00:00
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
struct _GstD3D11Allocator
|
|
|
|
{
|
|
|
|
GstAllocator allocator;
|
|
|
|
|
|
|
|
/*< private >*/
|
2021-06-06 16:49:26 +00:00
|
|
|
GstD3D11AllocatorPrivate *priv;
|
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _GstD3D11AllocatorClass
|
|
|
|
{
|
|
|
|
GstAllocatorClass allocator_class;
|
|
|
|
|
|
|
|
gboolean (*set_actvie) (GstD3D11Allocator * allocator,
|
|
|
|
gboolean active);
|
|
|
|
|
|
|
|
/*< private >*/
|
|
|
|
gpointer _gst_reserved[GST_PADDING_LARGE];
|
|
|
|
};
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
GType gst_d3d11_allocator_get_type (void);
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
GstMemory * gst_d3d11_allocator_alloc (GstD3D11Allocator * allocator,
|
|
|
|
GstD3D11Device * device,
|
|
|
|
const D3D11_TEXTURE2D_DESC * desc);
|
|
|
|
|
2022-02-06 12:36:28 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
GstMemory * gst_d3d11_allocator_alloc_buffer (GstD3D11Allocator * allocator,
|
|
|
|
GstD3D11Device * device,
|
|
|
|
const D3D11_BUFFER_DESC * desc);
|
|
|
|
|
2022-06-23 16:00:00 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
GstMemory * gst_d3d11_allocator_alloc_wrapped (GstD3D11Allocator * allocator,
|
|
|
|
GstD3D11Device * device,
|
|
|
|
ID3D11Texture2D * texture,
|
2022-07-04 12:57:42 +00:00
|
|
|
gsize size,
|
2022-06-23 16:00:00 +00:00
|
|
|
gpointer user_data,
|
|
|
|
GDestroyNotify notify);
|
|
|
|
|
2021-03-18 13:31:55 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
gboolean gst_d3d11_allocator_set_active (GstD3D11Allocator * allocator,
|
|
|
|
gboolean active);
|
|
|
|
|
|
|
|
struct _GstD3D11PoolAllocator
|
|
|
|
{
|
|
|
|
GstD3D11Allocator allocator;
|
|
|
|
|
|
|
|
/*< public >*/
|
|
|
|
GstD3D11Device *device;
|
|
|
|
|
|
|
|
/*< private >*/
|
|
|
|
GstD3D11PoolAllocatorPrivate *priv;
|
|
|
|
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _GstD3D11PoolAllocatorClass
|
|
|
|
{
|
|
|
|
GstD3D11AllocatorClass allocator_class;
|
|
|
|
|
|
|
|
/*< private >*/
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
|
|
};
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
GType gst_d3d11_pool_allocator_get_type (void);
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
GstD3D11PoolAllocator * gst_d3d11_pool_allocator_new (GstD3D11Device * device,
|
|
|
|
const D3D11_TEXTURE2D_DESC * desc);
|
|
|
|
|
|
|
|
GST_D3D11_API
|
|
|
|
GstFlowReturn gst_d3d11_pool_allocator_acquire_memory (GstD3D11PoolAllocator * allocator,
|
|
|
|
GstMemory ** memory);
|
|
|
|
|
2021-03-23 04:48:09 +00:00
|
|
|
GST_D3D11_API
|
|
|
|
gboolean gst_d3d11_pool_allocator_get_pool_size (GstD3D11PoolAllocator * allocator,
|
|
|
|
guint * max_size,
|
|
|
|
guint * outstanding_size);
|
|
|
|
|
2019-01-30 11:07:29 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|