"GstNvDec:max-display-delay",
"GstNvDevice0H264Enc",
"GstNvDevice0H265Enc",
- "GstNvH264Dec",
"GstNvH264Enc",
"GstNvH264Enc!sink",
"GstNvH264Enc!src",
"GstNvH264Enc:temporal-aq",
"GstNvH264Enc:vbv-buffer-size",
"GstNvH264Enc:weighted-pred",
- "GstNvH264StatelessDec",
- "GstNvH264StatelessDec!sink",
- "GstNvH264StatelessDec!src",
- "GstNvH265Dec",
"GstNvH265Enc",
"GstNvH265Enc!sink",
"GstNvH265Enc!src",
"GstNvH265Enc:temporal-aq",
"GstNvH265Enc:vbv-buffer-size",
"GstNvH265Enc:weighted-pred",
- "GstNvH265StatelessDec",
- "GstNvH265StatelessDec!sink",
- "GstNvH265StatelessDec!src",
"GstNvPreset",
"GstNvPreset::default",
"GstNvPreset::hp",
"GstNvRCMode::vbr",
"GstNvRCMode::vbr-hq",
"GstNvRCMode::vbr-minqp",
- "GstNvVP8StatelessDec!sink",
- "GstNvVP8StatelessDec!src",
- "GstNvVP9StatelessDec!sink",
- "GstNvVP9StatelessDec!src",
- "GstNvVp8Dec",
- "GstNvVp9Dec",
"GstOSXVideoSink!sink",
"GstObject",
"GstObject.flags",
"element-nleurisource",
"element-nvh264dec",
"element-nvh264enc",
- "element-nvh264sldec",
"element-nvh265dec",
"element-nvh265enc",
- "element-nvh265sldec",
"element-nvjpegdec",
"element-nvmpeg2videodec",
"element-nvmpeg4videodec",
"nvh264enc:temporal-aq",
"nvh264enc:vbv-buffer-size",
"nvh264enc:weighted-pred",
- "nvh264sldec",
"nvh265dec",
"nvh265dec!sink",
"nvh265dec!src",
"nvh265enc:temporal-aq",
"nvh265enc:vbv-buffer-size",
"nvh265enc:weighted-pred",
- "nvh265sldec",
"nvjpegdec",
"nvjpegdec!sink",
"nvjpegdec!src",
"nvvp8dec",
"nvvp8dec!sink",
"nvvp8dec!src",
- "nvvp8sldec",
"nvvp9dec",
"nvvp9dec!sink",
"nvvp9dec!src",
- "nvvp9sldec",
"oggaviparse",
"oggdemux",
"oggmux",
GstCudaMemoryCopyClass parent_class;
} GstCudaDownloadClass;
+/**
+ * GstCudaMemoryCopy:
+ *
+ * Since: 1.22
+ */
#define gst_cuda_memory_copy_parent_class parent_class
G_DEFINE_ABSTRACT_TYPE (GstCudaMemoryCopy, gst_cuda_memory_copy,
GST_TYPE_CUDA_BASE_TRANSFORM);
trans_class->query = GST_DEBUG_FUNCPTR (gst_cuda_memory_copy_query);
btrans_class->set_info = GST_DEBUG_FUNCPTR (gst_cuda_memory_copy_set_info);
+
+ gst_type_mark_as_plugin_api (GST_TYPE_CUDA_MEMORY_COPY,
+ (GstPluginAPIFlags) 0);
}
static void
GstFlowReturn last_flow;
};
+/**
+ * GstNvEncoder:
+ *
+ * Since: 1.22
+ */
#define gst_nv_encoder_parent_class parent_class
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (GstNvEncoder, gst_nv_encoder,
GST_TYPE_VIDEO_ENCODER);
videoenc_class->flush = GST_DEBUG_FUNCPTR (gst_nv_encoder_flush);
GST_DEBUG_CATEGORY_INIT (gst_nv_encoder_debug, "nvencoder", 0, "nvencoder");
+
+ gst_type_mark_as_plugin_api (GST_TYPE_NV_ENCODER, (GstPluginAPIFlags) 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_NV_ENCODER_PRESET,
+ (GstPluginAPIFlags) 0);
+ gst_type_mark_as_plugin_api (GST_TYPE_NV_ENCODER_RC_MODE,
+ (GstPluginAPIFlags) 0);
}
static void
priv->dxgi_adapter_luid = adapter_luid;
}
+/**
+ * GstNvEncoderPreset:
+ *
+ * Since: 1.22
+ */
GType
gst_nv_encoder_preset_get_type (void)
{
*guid = NV_ENC_PRESET_DEFAULT_GUID;
}
+/**
+ * GstNvEncoderRCMode:
+ *
+ * Since: 1.22
+ */
GType
gst_nv_encoder_rc_mode_get_type (void)
{
* Boston, MA 02110-1301, USA.
*/
+/**
+ * element-nvcudah264enc:
+ *
+ * NVIDIA CUDA mode H.264 encoder
+ *
+ * Since: 1.22
+ */
+
+/**
+ * element-nvd3d11h264enc:
+ *
+ * NVIDIA Direct3D11 mode H.264 encoder
+ *
+ * Since: 1.22
+ */
+
+/**
+ * element-nvautogpuh264enc:
+ *
+ * NVIDIA auto GPU select mode H.264 encoder
+ *
+ * Since: 1.22
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
g_object_class_install_property (object_class, PROP_CUDA_DEVICE_ID,
g_param_spec_uint ("cuda-device-id", "CUDA Device ID",
"CUDA device ID of associated GPU",
- 0, G_MAXINT, cdata->cuda_device_id,
- (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
+ 0, G_MAXINT, 0,
+ (GParamFlags) (GST_PARAM_DOC_SHOW_DEFAULT |
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
break;
case GST_NV_ENCODER_DEVICE_D3D11:
g_object_class_install_property (object_class, PROP_ADAPTER_LUID,
g_param_spec_int64 ("adapter-luid", "Adapter LUID",
"DXGI Adapter LUID (Locally Unique Identifier) of associated GPU",
- G_MININT64, G_MAXINT64, cdata->adapter_luid,
- (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
+ G_MININT64, G_MAXINT64, 0,
+ (GParamFlags) (GST_PARAM_DOC_SHOW_DEFAULT |
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
break;
case GST_NV_ENCODER_DEVICE_AUTO_SELECT:
if (cdata->cuda_device_id_size > 0) {
g_object_class_install_property (object_class, PROP_CUDA_DEVICE_ID,
g_param_spec_uint ("cuda-device-id", "CUDA Device ID",
"CUDA device ID to use",
- 0, G_MAXINT, cdata->cuda_device_id, conditional_param_flags));
+ 0, G_MAXINT, 0,
+ (GParamFlags) (conditional_param_flags |
+ GST_PARAM_DOC_SHOW_DEFAULT)));
}
if (cdata->adapter_luid_size > 0) {
g_object_class_install_property (object_class, PROP_ADAPTER_LUID,
g_param_spec_int64 ("adapter-luid", "Adapter LUID",
"DXGI Adapter LUID (Locally Unique Identifier) to use",
- G_MININT64, G_MAXINT64, cdata->adapter_luid,
- conditional_param_flags));
+ G_MININT64, G_MAXINT64, 0,
+ (GParamFlags) (conditional_param_flags |
+ GST_PARAM_DOC_SHOW_DEFAULT)));
}
break;
default:
if (rank > 0 && index != 0)
rank--;
+ if (index != 0)
+ gst_element_type_set_skip_documentation (type);
+
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);
if (rank > 0 && index != 0)
rank--;
+ if (index != 0)
+ gst_element_type_set_skip_documentation (type);
+
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);
* Boston, MA 02110-1301, USA.
*/
+/**
+ * element-nvcudah265enc:
+ *
+ * NVIDIA CUDA mode H.265 encoder
+ *
+ * Since: 1.22
+ */
+
+/**
+ * element-nvd3d11h265enc:
+ *
+ * NVIDIA Direct3D11 mode H.265 encoder
+ *
+ * Since: 1.22
+ */
+
+/**
+ * element-nvautogpuh265enc:
+ *
+ * NVIDIA auto GPU select mode H.265 encoder
+ *
+ * Since: 1.22
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
g_object_class_install_property (object_class, PROP_CUDA_DEVICE_ID,
g_param_spec_uint ("cuda-device-id", "CUDA Device ID",
"CUDA device ID of associated GPU",
- 0, G_MAXINT, cdata->cuda_device_id,
- (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
+ 0, G_MAXINT, 0,
+ (GParamFlags) (GST_PARAM_DOC_SHOW_DEFAULT |
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
break;
case GST_NV_ENCODER_DEVICE_D3D11:
g_object_class_install_property (object_class, PROP_ADAPTER_LUID,
g_param_spec_int64 ("adapter-luid", "Adapter LUID",
"DXGI Adapter LUID (Locally Unique Identifier) of associated GPU",
- G_MININT64, G_MAXINT64, cdata->adapter_luid,
- (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
+ G_MININT64, G_MAXINT64, 0,
+ (GParamFlags) (GST_PARAM_DOC_SHOW_DEFAULT |
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
break;
case GST_NV_ENCODER_DEVICE_AUTO_SELECT:
if (cdata->cuda_device_id_size > 0) {
g_object_class_install_property (object_class, PROP_CUDA_DEVICE_ID,
g_param_spec_uint ("cuda-device-id", "CUDA Device ID",
"CUDA device ID to use",
- 0, G_MAXINT, cdata->cuda_device_id, conditional_param_flags));
+ 0, G_MAXINT, 0,
+ (GParamFlags) (conditional_param_flags |
+ GST_PARAM_DOC_SHOW_DEFAULT)));
}
if (cdata->adapter_luid_size > 0) {
g_object_class_install_property (object_class, PROP_ADAPTER_LUID,
g_param_spec_int64 ("adapter-luid", "Adapter LUID",
"DXGI Adapter LUID (Locally Unique Identifier) to use",
- G_MININT64, G_MAXINT64, cdata->adapter_luid,
- conditional_param_flags));
+ G_MININT64, G_MAXINT64, 0,
+ (GParamFlags) (conditional_param_flags |
+ GST_PARAM_DOC_SHOW_DEFAULT)));
}
break;
default:
gst_element_class_set_static_metadata (element_class,
"NVENC H.265 Video Encoder Direct3D11 Mode",
"Codec/Encoder/Video/Hardware",
- "Encode H.264 video streams using NVCODEC API Direct3D11 Mode",
+ "Encode H.265 video streams using NVCODEC API Direct3D11 Mode",
"Seungha Yang <seungha@centricular.com>");
break;
case GST_NV_ENCODER_DEVICE_AUTO_SELECT:
gst_element_class_set_static_metadata (element_class,
"NVENC H.265 Video Encoder Auto GPU select Mode",
"Codec/Encoder/Video/Hardware",
- "Encode H.264 video streams using NVCODEC API auto GPU select Mode",
+ "Encode H.265 video streams using NVCODEC API auto GPU select Mode",
"Seungha Yang <seungha@centricular.com>");
break;
default:
if (rank > 0 && index != 0)
rank--;
+ if (index != 0)
+ gst_element_type_set_skip_documentation (type);
+
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);
if (rank > 0 && index != 0)
rank--;
+ if (index != 0)
+ gst_element_type_set_skip_documentation (type);
+
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);