Home
last modified time | relevance | path

Searched refs:pad_template (Results 1 – 25 of 42) sorted by relevance

12

/third_party/gstreamer/gstreamer/gst/
Dgstpadtemplate.c308 gst_static_pad_template_get (GstStaticPadTemplate * pad_template) in gst_static_pad_template_get() argument
313 if (!name_is_valid (pad_template->name_template, pad_template->presence)) in gst_static_pad_template_get()
316 caps = gst_static_caps_get (&pad_template->static_caps); in gst_static_pad_template_get()
319 "name", pad_template->name_template, in gst_static_pad_template_get()
320 "name-template", pad_template->name_template, in gst_static_pad_template_get()
321 "direction", pad_template->direction, in gst_static_pad_template_get()
322 "presence", pad_template->presence, "caps", caps, NULL); in gst_static_pad_template_get()
342 pad_template, GType pad_type) in gst_pad_template_new_from_static_pad_template_with_gtype()
349 if (!name_is_valid (pad_template->name_template, pad_template->presence)) in gst_pad_template_new_from_static_pad_template_with_gtype()
352 caps = gst_static_caps_get (&pad_template->static_caps); in gst_pad_template_new_from_static_pad_template_with_gtype()
[all …]
Dgstpadtemplate.h219 GstPadTemplate * gst_static_pad_template_get (GstStaticPadTemplate *pad_template);
223 GstStaticPadTemplate * pad_template,
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiofilter.c226 GstPadTemplate *pad_template; in gst_audio_filter_class_add_pad_templates() local
231 pad_template = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, in gst_audio_filter_class_add_pad_templates()
233 gst_element_class_add_pad_template (element_class, pad_template); in gst_audio_filter_class_add_pad_templates()
235 pad_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, in gst_audio_filter_class_add_pad_templates()
237 gst_element_class_add_pad_template (element_class, pad_template); in gst_audio_filter_class_add_pad_templates()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dautodetect.c42 static GstStaticPadTemplate pad_template = GST_STATIC_PAD_TEMPLATE ("sink", in gst_fake_audio_sink_class_init() local
48 gst_element_class_add_static_pad_template (gstelement_class, &pad_template); in gst_fake_audio_sink_class_init()
66 static GstStaticPadTemplate pad_template = GST_STATIC_PAD_TEMPLATE ("sink", in gst_fake_video_sink_class_init() local
72 gst_element_class_add_static_pad_template (gstelement_class, &pad_template); in gst_fake_video_sink_class_init()
/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspafilter.c46 GstPadTemplate *pad_template; in gst_my_audio_filter_class_add_pad_templates() local
50 pad_template = in gst_my_audio_filter_class_add_pad_templates()
53 gst_element_class_add_pad_template (elem_class, pad_template); in gst_my_audio_filter_class_add_pad_templates()
55 pad_template = in gst_my_audio_filter_class_add_pad_templates()
58 gst_element_class_add_pad_template (elem_class, pad_template); in gst_my_audio_filter_class_add_pad_templates()
Dgstladspasink.c63 GstPadTemplate *pad_template; in gst_my_base_sink_class_add_pad_template() local
67 pad_template = in gst_my_base_sink_class_add_pad_template()
70 gst_element_class_add_pad_template (elem_class, pad_template); in gst_my_base_sink_class_add_pad_template()
Dgstladspasource.c64 GstPadTemplate *pad_template; in gst_my_base_source_class_add_pad_template() local
68 pad_template = in gst_my_base_source_class_add_pad_template()
71 gst_element_class_add_pad_template (elem_class, pad_template); in gst_my_base_source_class_add_pad_template()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfessence.c78 (gpointer) writer->pad_template); in mxf_essence_element_writer_register()
103 if (writer->pad_template == templ) in mxf_essence_element_writer_find()
Dmxfessence.h51 const GstPadTemplate *pad_template; member
Dmxfdv-dif.c269 mxf_dv_dif_essence_element_writer.pad_template = in mxf_dv_dif_init()
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2filter.c245 GstPadTemplate *pad_template; in gst_lv2_filter_type_class_add_pad_templates() local
267 pad_template = in gst_lv2_filter_type_class_add_pad_templates()
270 gst_element_class_add_pad_template (elem_class, pad_template); in gst_lv2_filter_type_class_add_pad_templates()
272 pad_template = in gst_lv2_filter_type_class_add_pad_templates()
275 gst_element_class_add_pad_template (elem_class, pad_template); in gst_lv2_filter_type_class_add_pad_templates()
Dgstlv2source.c622 GstPadTemplate *pad_template; in gst_lv2_source_base_init() local
636 pad_template = in gst_lv2_source_base_init()
639 gst_element_class_add_pad_template (element_class, pad_template); in gst_lv2_source_base_init()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpredenc.c458 GstPadTemplate *pad_template; in gst_rtp_red_enc_init() local
460 pad_template = in gst_rtp_red_enc_init()
462 self->srcpad = gst_pad_new_from_template (pad_template, "src"); in gst_rtp_red_enc_init()
465 pad_template = in gst_rtp_red_enc_init()
467 self->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_rtp_red_enc_init()
Dgstrtpreddec.c499 GstPadTemplate *pad_template; in gst_rtp_red_dec_init() local
501 pad_template = in gst_rtp_red_dec_init()
503 self->srcpad = gst_pad_new_from_template (pad_template, "src"); in gst_rtp_red_dec_init()
506 pad_template = in gst_rtp_red_dec_init()
508 self->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_rtp_red_dec_init()
/third_party/gstreamer/gstplugins_good/ext/qt/
Dgstqtsrc.cc235 GstPadTemplate *pad_template; in gst_qt_src_get_caps() local
245 pad_template = in gst_qt_src_get_caps()
247 if (pad_template != NULL) in gst_qt_src_get_caps()
248 caps = gst_pad_template_get_caps (pad_template); in gst_qt_src_get_caps()
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/
Dgstipcpipelinesink.c210 GstPadTemplate *pad_template; in gst_ipc_pipeline_sink_init() local
222 pad_template = in gst_ipc_pipeline_sink_init()
224 g_return_if_fail (pad_template != NULL); in gst_ipc_pipeline_sink_init()
226 sink->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_ipc_pipeline_sink_init()
/third_party/gstreamer/gstplugins_bad/ext/wpe/wpe-extension/
Dgstwpeaudiosink.c278 GstPadTemplate *pad_template = in gst_wpe_audio_sink_init() local
280 g_return_if_fail (pad_template != NULL); in gst_wpe_audio_sink_init()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbasedepayload.c362 GstPadTemplate *pad_template; in gst_rtp_base_depayload_init() local
371 pad_template = in gst_rtp_base_depayload_init()
373 g_return_if_fail (pad_template != NULL); in gst_rtp_base_depayload_init()
374 filter->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_rtp_base_depayload_init()
382 pad_template = in gst_rtp_base_depayload_init()
384 g_return_if_fail (pad_template != NULL); in gst_rtp_base_depayload_init()
385 filter->srcpad = gst_pad_new_from_template (pad_template, "src"); in gst_rtp_base_depayload_init()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstaudiovisualizer.c580 GstPadTemplate *pad_template; in gst_audio_visualizer_init() local
585 pad_template = in gst_audio_visualizer_init()
587 g_return_if_fail (pad_template != NULL); in gst_audio_visualizer_init()
588 scope->priv->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_audio_visualizer_init()
595 pad_template = in gst_audio_visualizer_init()
597 g_return_if_fail (pad_template != NULL); in gst_audio_visualizer_init()
598 scope->priv->srcpad = gst_pad_new_from_template (pad_template, "src"); in gst_audio_visualizer_init()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstelement.c549 GstPadTemplate *pad_template; in gst_test_element3_init() local
552 pad_template = in gst_test_element3_init()
554 g_return_if_fail (pad_template != NULL); in gst_test_element3_init()
555 sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_test_element3_init()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/audio/
Dgstnonstreamaudiodecoder.c468 GstPadTemplate *pad_template; in gst_nonstream_audio_decoder_init() local
488 pad_template = in gst_nonstream_audio_decoder_init()
490 …g_return_if_fail (pad_template != NULL); /* derived class is supposed to define a src pad templ… in gst_nonstream_audio_decoder_init()
492 dec->srcpad = gst_pad_new_from_template (pad_template, "src"); in gst_nonstream_audio_decoder_init()
503 pad_template = in gst_nonstream_audio_decoder_init()
505 …g_return_if_fail (pad_template != NULL); /* derived class is supposed to define a sink pad temp… in gst_nonstream_audio_decoder_init()
507 dec->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_nonstream_audio_decoder_init()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsasrc.c317 GstPadTemplate *pad_template; in gst_alsasrc_getcaps() local
338 pad_template = gst_element_class_get_pad_template (element_class, "src"); in gst_alsasrc_getcaps()
339 g_return_val_if_fail (pad_template != NULL, NULL); in gst_alsasrc_getcaps()
341 templ_caps = gst_pad_template_get_caps (pad_template); in gst_alsasrc_getcaps()
Dgstalsasink.c285 GstPadTemplate *pad_template; in gst_alsasink_getcaps() local
314 pad_template = gst_element_class_get_pad_template (element_class, "sink"); in gst_alsasink_getcaps()
315 if (pad_template == NULL) { in gst_alsasink_getcaps()
321 templ_caps = gst_pad_template_get_caps (pad_template); in gst_alsasink_getcaps()
/third_party/gstreamer/gstplugins_good/sys/directsound/
Dgstdirectsoundsink.c277 GstPadTemplate *pad_template; in gst_directsound_sink_getcaps() local
290 pad_template = gst_element_class_get_pad_template (element_class, "sink"); in gst_directsound_sink_getcaps()
291 g_return_val_if_fail (pad_template != NULL, NULL); in gst_directsound_sink_getcaps()
294 gst_pad_template_get_caps (pad_template)); in gst_directsound_sink_getcaps()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasetransform.c378 GstPadTemplate *pad_template; in gst_base_transform_init() local
385 pad_template = in gst_base_transform_init()
387 g_return_if_fail (pad_template != NULL); in gst_base_transform_init()
388 trans->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_base_transform_init()
399 pad_template = in gst_base_transform_init()
401 g_return_if_fail (pad_template != NULL); in gst_base_transform_init()
402 trans->srcpad = gst_pad_new_from_template (pad_template, "src"); in gst_base_transform_init()

12