va: Document device-path property.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3361>
This commit is contained in:
Victor Manuel Jaquez Leal 2022-11-08 11:36:12 +01:00 committed by GStreamer Marge Bot
parent 98a3aee6cb
commit c60504bd9e
9 changed files with 62 additions and 0 deletions

View file

@ -1035,6 +1035,13 @@ gst_va_av1_dec_class_init (gpointer g_class, gpointer class_data)
parent_class = g_type_class_peek_parent (g_class);
/**
* GstVaAV1Dec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*
* Since: 1.22
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), AV1,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);

View file

@ -901,6 +901,11 @@ gst_va_base_enc_class_init (GstVaBaseEncClass * klass)
klass->reset_state = GST_DEBUG_FUNCPTR (gst_va_base_enc_reset_state_default);
/**
* GstVaBaseEnc:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*/
properties[PROP_DEVICE_PATH] = g_param_spec_string ("device-path",
"Device Path", "DRM device path", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);

View file

@ -1400,10 +1400,20 @@ gst_va_compositor_class_init (gpointer g_class, gpointer class_data)
vagg_class->create_output_buffer =
GST_DEBUG_FUNCPTR (gst_va_compositor_create_output_buffer);
/**
* GstVaCompositor:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*/
properties[PROP_DEVICE_PATH] = g_param_spec_string ("device-path",
"Device Path", "DRM device path", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
* GstVaCompositor:scale-method:
*
* Sets the scale method algorithm to use when resizing.
*/
properties[PROP_SCALE_METHOD] = g_param_spec_enum ("scale-method",
"Scale Method", "Scale method to use", GST_TYPE_VA_SCALE_METHOD,
VA_FILTER_SCALING_DEFAULT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);

View file

@ -936,6 +936,13 @@ gst_va_h264_dec_class_init (gpointer g_class, gpointer class_data)
parent_class = g_type_class_peek_parent (g_class);
/**
* GstVaH264Dec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*
* Since: 1.22
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), H264,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);

View file

@ -1291,6 +1291,13 @@ gst_va_h265_dec_class_init (gpointer g_class, gpointer class_data)
parent_class = g_type_class_peek_parent (g_class);
/**
* GstVaH265Dec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*
* Since: 1.22
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), HEVC,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);

View file

@ -469,6 +469,11 @@ gst_va_jpeg_dec_class_init (gpointer g_class, gpointer class_data)
jpegdecoder_class->output_picture =
GST_DEBUG_FUNCPTR (gst_va_jpeg_dec_output_picture);
/**
* GstVaJpegDec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), JPEG,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);

View file

@ -631,6 +631,13 @@ gst_va_mpeg2_dec_class_init (gpointer g_class, gpointer class_data)
parent_class = g_type_class_peek_parent (g_class);
/**
* GstVaMpeg2Dec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*
* Since: 1.22
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), MPEG2,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);

View file

@ -504,6 +504,13 @@ gst_va_vp8_dec_class_init (gpointer g_class, gpointer class_data)
parent_class = g_type_class_peek_parent (g_class);
/**
* GstVaVp8Dec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*
* Since: 1.22
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), VP8,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);

View file

@ -652,6 +652,13 @@ gst_va_vp9_dec_class_init (gpointer g_class, gpointer class_data)
parent_class = g_type_class_peek_parent (g_class);
/**
* GstVaVp9Dec:device-path:
*
* It shows the DRM device path used for the VA operation, if any.
*
* Since: 1.22
*/
gst_va_base_dec_class_init (GST_VA_BASE_DEC_CLASS (g_class), VP9,
cdata->render_device_path, cdata->sink_caps, cdata->src_caps,
src_doc_caps, sink_doc_caps);