Home
last modified time | relevance | path

Searched refs:src_pad (Results 1 – 25 of 34) sorted by relevance

12

/third_party/gstreamer/gstreamer/tests/check/elements/
Ddataurisrc.c240 GstPad *src_pad; in GST_START_TEST() local
255 src_pad = gst_element_get_static_pad (src, "src"); in GST_START_TEST()
256 fail_unless (src_pad != NULL); in GST_START_TEST()
259 fail_unless (gst_pad_activate_mode (src_pad, GST_PAD_MODE_PULL, TRUE)); in GST_START_TEST()
275 fail_unless (gst_pad_query (src_pad, seeking_query) == TRUE); in GST_START_TEST()
283 fail_unless (gst_pad_query (src_pad, seeking_query) == FALSE); in GST_START_TEST()
288 flow = gst_pad_get_range (src_pad, 0, 100, &buf1); in GST_START_TEST()
295 flow = gst_pad_get_range (src_pad, 0, 50, &buf2); in GST_START_TEST()
305 flow = gst_pad_get_range (src_pad, 50, 50, &buf2); in GST_START_TEST()
313 flow = gst_pad_get_range (src_pad, 1, 100, &buf1); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/rist/
Dgstroundrobin.c64 GstPad *src_pad = NULL; in gst_round_robin_chain() local
71 src_pad = g_list_nth_data (elem->srcpads, disp->index); in gst_round_robin_chain()
73 if (src_pad) { in gst_round_robin_chain()
74 gst_object_ref (src_pad); in gst_round_robin_chain()
79 if (!src_pad) in gst_round_robin_chain()
83 ret = gst_pad_push (src_pad, buffer); in gst_round_robin_chain()
84 gst_object_unref (src_pad); in gst_round_robin_chain()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Daspectratiocrop.c47 GstPad *src_pad; in check_aspectratiocrop() local
69 src_pad = gst_pad_new (NULL, GST_PAD_SRC); in check_aspectratiocrop()
70 gst_pad_set_active (src_pad, TRUE); in check_aspectratiocrop()
72 gst_check_setup_events (src_pad, element, incaps, GST_FORMAT_TIME); in check_aspectratiocrop()
76 fail_unless (gst_pad_link (src_pad, pad_peer) == GST_PAD_LINK_OK, in check_aspectratiocrop()
94 fail_unless (gst_pad_push (src_pad, buffer) == GST_FLOW_OK, in check_aspectratiocrop()
120 gst_pad_set_active (src_pad, FALSE); in check_aspectratiocrop()
Drtpssrcdemux.c93 rtpssrcdemux_pad_added (G_GNUC_UNUSED GstElement * demux, GstPad * src_pad, in rtpssrcdemux_pad_added() argument
99 GST_PAD_NAME (src_pad)); in rtpssrcdemux_pad_added()
107 if (g_str_has_prefix (GST_PAD_NAME (src_pad), "src_")) { in rtpssrcdemux_pad_added()
110 } else if (g_str_has_prefix (GST_PAD_NAME (src_pad), "rtcp_src_")) { in rtpssrcdemux_pad_added()
/third_party/gstreamer/gstplugins_bad/gst/codecalpha/
Dgstcodecalphademux.c58 GstPad *src_pad; member
109 ret = gst_pad_push (self->src_pad, buffer); in gst_codec_alpha_demux_chain()
262 g_clear_object (&self->src_pad); in gst_codec_alpha_demux_dispose()
298 self->src_pad = gst_element_get_static_pad (GST_ELEMENT (self), "src"); in gst_codec_alpha_demux_init()
302 gst_flow_combiner_add_pad (self->flow_combiner, self->src_pad); in gst_codec_alpha_demux_init()
306 GST_PAD_SET_PROXY_CAPS (self->src_pad); in gst_codec_alpha_demux_init()
310 GST_PAD_SET_PROXY_SCHEDULING (self->src_pad); in gst_codec_alpha_demux_init()
Dgstalphadecodebin.c98 GstPad *src_pad = NULL, *sink_pad = NULL; in gst_alpha_decode_bin_constructed() local
168 src_pad = gst_element_get_static_pad (alphacombine, "src"); in gst_alpha_decode_bin_constructed()
169 gst_ghost_pad_set_target (GST_GHOST_PAD (src_gpad), src_pad); in gst_alpha_decode_bin_constructed()
170 gst_object_unref (src_pad); in gst_alpha_decode_bin_constructed()
Dgstalphacombine.c97 GstPad *src_pad; member
374 ret = gst_pad_push (self->src_pad, buffer); in gst_alpha_combine_sink_chain()
426 ret = gst_pad_push_event (self->src_pad, event); in gst_alpha_combine_set_sink_format()
606 g_clear_object (&self->src_pad); in gst_alpha_combine_dispose()
653 self->src_pad = gst_element_get_static_pad (GST_ELEMENT (self), "src"); in gst_alpha_combine_init()
660 GST_PAD_SET_PROXY_SCHEDULING (self->src_pad); in gst_alpha_combine_init()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin3.c327 GstPad *sink_pad, *src_pad; member
352 GstPad *src_pad; member
1688 gst_pad_add_probe (output->slot->src_pad, GST_PAD_PROBE_TYPE_IDLE, in get_output_for_slot()
2055 || ((slot->src_pad = g_value_dup_object (&item)) == NULL)) { in create_new_slot()
2057 GST_DEBUG_PAD_NAME (slot->src_pad)); in create_new_slot()
2067 gst_pad_add_probe (slot->src_pad, in create_new_slot()
2072 GST_DEBUG_PAD_NAME (slot->src_pad)); in create_new_slot()
2260 gst_pad_add_probe (slot->src_pad, GST_PAD_PROBE_TYPE_BUFFER, in reconfigure_output_stream()
2265 gst_pad_link_full (slot->src_pad, output->decoder_sink, in reconfigure_output_stream()
2276 gst_pad_unlink (slot->src_pad, output->decoder_sink); in reconfigure_output_stream()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2codecalphadecodebin.c101 GstPad *src_pad = NULL, *sink_pad = NULL; in gst_v4l2_codec_alpha_decode_bin_constructed() local
171 src_pad = gst_element_get_static_pad (alphacombine, "src"); in gst_v4l2_codec_alpha_decode_bin_constructed()
172 gst_ghost_pad_set_target (GST_GHOST_PAD (src_gpad), src_pad); in gst_v4l2_codec_alpha_decode_bin_constructed()
173 gst_object_unref (src_pad); in gst_v4l2_codec_alpha_decode_bin_constructed()
/third_party/gstreamer/gstplugins_bad/ext/sctp/
Dgstsctpenc.c268 self->src_pad = gst_pad_new_from_static_template (&src_template, "src"); in gst_sctp_enc_init()
269 gst_pad_set_event_function (self->src_pad, in gst_sctp_enc_init()
271 gst_element_add_pad (GST_ELEMENT (self), self->src_pad); in gst_sctp_enc_init()
351 stop_srcpad_task (self->src_pad, self); in gst_sctp_enc_change_state()
367 gst_pad_start_task (self->src_pad, in gst_sctp_enc_change_state()
368 (GstTaskFunction) gst_sctp_enc_srcpad_loop, self->src_pad, NULL); in gst_sctp_enc_change_state()
504 gst_pad_push_event (self->src_pad, gst_event_new_stream_start (s_id)); in gst_sctp_enc_srcpad_loop()
507 gst_pad_set_caps (self->src_pad, caps); in gst_sctp_enc_srcpad_loop()
517 gst_pad_push_event (self->src_pad, gst_event_new_segment (&segment)); in gst_sctp_enc_srcpad_loop()
527 flow_ret = gst_pad_push (self->src_pad, buffer); in gst_sctp_enc_srcpad_loop()
[all …]
Dgstsctpdec.c653 GstPad *src_pad; in on_receive() local
657 src_pad = get_pad_for_stream_id (self, stream_id); in on_receive()
658 g_assert (src_pad); in on_receive()
660 GST_DEBUG_OBJECT (src_pad, in on_receive()
664 sctpdec_pad = GST_SCTP_DEC_PAD (src_pad); in on_receive()
677 GST_DEBUG_OBJECT (src_pad, "Failed to push item because we're flushing"); in on_receive()
680 gst_object_unref (src_pad); in on_receive()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dtest-splitmuxpartreader.c58 handle_get_pad (GstSplitMuxPartReader * reader, GstPad * src_pad, in handle_get_pad() argument
63 "name", GST_PAD_NAME (src_pad), "direction", GST_PAD_SRC, NULL); in handle_get_pad()
65 g_print ("Creating new dummy pad %s\n", GST_PAD_NAME (src_pad)); in handle_get_pad()
Dgstsplitmuxpartreader.h53 typedef GstPad *(*GstSplitMuxPartReaderPadCb)(GstSplitMuxPartReader *reader, GstPad *src_pad, gpoin…
111 gboolean gst_splitmux_part_reader_src_query (GstSplitMuxPartReader *part, GstPad *src_pad, GstQuery…
/third_party/gstreamer/gstplugins_bad/gst/pcapparse/
Dgstpcapparse.c177 self->src_pad = gst_pad_new_from_static_template (&src_template, "src"); in gst_pcap_parse_init()
178 gst_pad_use_fixed_caps (self->src_pad); in gst_pcap_parse_init()
179 gst_element_add_pad (GST_ELEMENT (self), self->src_pad); in gst_pcap_parse_init()
305 gst_pad_set_caps (self->src_pad, new_caps); in gst_pcap_parse_set_property()
665 gst_pad_set_caps (self->src_pad, self->caps); in gst_pcap_parse_chain()
668 gst_pad_push_event (self->src_pad, gst_event_new_segment (&segment)); in gst_pcap_parse_chain()
672 ret = gst_pad_push_list (self->src_pad, list); in gst_pcap_parse_chain()
700 ret = gst_pad_push_event (self->src_pad, event); in gst_pcap_sink_event()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dcurlhttpsrc.c649 GstPad *src_pad; in test_curl_http_src_downloader_new() local
667 src_pad = gst_element_get_static_pad (tp->src, "src"); in test_curl_http_src_downloader_new()
668 fail_unless (src_pad != NULL); in test_curl_http_src_downloader_new()
669 gst_pad_add_probe (src_pad, GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM, in test_curl_http_src_downloader_new()
671 gst_object_unref (src_pad); in test_curl_http_src_downloader_new()
843 GstPad *src_pad; in GST_START_TEST() local
853 src_pad = gst_element_get_static_pad (context.downloader1->src, "src"); in GST_START_TEST()
854 fail_unless (src_pad != NULL); in GST_START_TEST()
856 probe_id = gst_pad_add_probe (src_pad, GST_PAD_PROBE_TYPE_BUFFER, in GST_START_TEST()
880 gst_pad_remove_probe (src_pad, probe_id); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/tests/icles/
Dtest-overlay-blending.c231 GstPad *src_pad; in main() local
252 src_pad = gst_element_get_static_pad (src, "src"); in main()
253 gst_pad_add_probe (src_pad, GST_PAD_PROBE_TYPE_BUFFER, buffer_cb, in main()
255 gst_object_unref (src_pad); in main()
Daudio-trickplay.c60 GstPad *src_pad; in main() local
123 src_pad = gst_element_get_static_pad (src, "src"); in main()
124 gst_pad_add_probe (src_pad, GST_PAD_PROBE_TYPE_BUFFER, print_buffer_ts, NULL, in main()
126 gst_object_unref (src_pad); in main()
/third_party/gstreamer/gstreamer/gst/parse/
Dgrammar.y231 gchar *src_pad; member
522 g_free (link->src_pad); in gst_parse_free_delayed_link()
543 PRETTY_PAD_NAME_ARGS (src, link->src_pad), in gst_parse_no_more_pads()
557 PRETTY_PAD_NAME_ARGS (src, link->src_pad), in gst_parse_found_pad()
560 if (gst_element_link_pads_filtered (src, link->src_pad, link->sink, in gst_parse_found_pad()
567 PRETTY_PAD_NAME_ARGS (src, link->src_pad), in gst_parse_found_pad()
579 gst_parse_perform_delayed_link (GstElement *src, const gchar *src_pad, in gst_parse_perform_delayed_link() argument
599 PRETTY_PAD_NAME_ARGS (src, src_pad), in gst_parse_perform_delayed_link()
602 data->src_pad = g_strdup (src_pad); in gst_parse_perform_delayed_link()
720 const gchar *src_pad = (const gchar *) srcs->data; in gst_parse_perform_link() local
[all …]
Dgrammar.y.in231 gchar *src_pad; member
522 g_free (link->src_pad);
543 PRETTY_PAD_NAME_ARGS (src, link->src_pad),
557 PRETTY_PAD_NAME_ARGS (src, link->src_pad),
560 if (gst_element_link_pads_filtered (src, link->src_pad, link->sink,
567 PRETTY_PAD_NAME_ARGS (src, link->src_pad),
579 gst_parse_perform_delayed_link (GstElement *src, const gchar *src_pad, argument
595 /* TODO: maybe we should check if src_pad matches this template's names */
599 PRETTY_PAD_NAME_ARGS (src, src_pad),
602 data->src_pad = g_strdup (src_pad);
[all …]
Dgrammar.tab.c305 gchar *src_pad; member
596 g_free (link->src_pad); in gst_parse_free_delayed_link()
617 PRETTY_PAD_NAME_ARGS (src, link->src_pad), in gst_parse_no_more_pads()
631 PRETTY_PAD_NAME_ARGS (src, link->src_pad), in gst_parse_found_pad()
634 if (gst_element_link_pads_filtered (src, link->src_pad, link->sink, in gst_parse_found_pad()
641 PRETTY_PAD_NAME_ARGS (src, link->src_pad), in gst_parse_found_pad()
653 gst_parse_perform_delayed_link (GstElement *src, const gchar *src_pad, in gst_parse_perform_delayed_link() argument
673 PRETTY_PAD_NAME_ARGS (src, src_pad), in gst_parse_perform_delayed_link()
676 data->src_pad = g_strdup (src_pad); in gst_parse_perform_delayed_link()
794 const gchar *src_pad = (const gchar *) srcs->data; in gst_parse_perform_link() local
[all …]
/third_party/gstreamer/gstreamer/libs/gst/check/
Dgstcheck.c903 GstPad *src_pad; in gst_check_element_push_buffer_list() local
916 src_pad = gst_pad_new ("src", GST_PAD_SRC); in gst_check_element_push_buffer_list()
919 gst_pad_use_fixed_caps (src_pad); in gst_check_element_push_buffer_list()
922 gst_pad_set_active (src_pad, TRUE); in gst_check_element_push_buffer_list()
924 gst_check_setup_events (src_pad, element, caps_in, GST_FORMAT_BYTES); in gst_check_element_push_buffer_list()
927 fail_unless (gst_pad_link (src_pad, pad_peer) == GST_PAD_LINK_OK, in gst_check_element_push_buffer_list()
974 fail_unless (gst_pad_push (src_pad, next_buffer) == last_flow_return, in gst_check_element_push_buffer_list()
977 fail_unless (gst_pad_push (src_pad, next_buffer) == GST_FLOW_OK, in gst_check_element_push_buffer_list()
1017 gst_pad_set_active (src_pad, FALSE); in gst_check_element_push_buffer_list()
/third_party/gstreamer/gstplugins_bad/gst/camerabin2/
Dgstwrappercamerabinsrc.c84 if (self->src_pad) { in gst_wrapper_camera_bin_src_dispose()
85 gst_object_unref (self->src_pad); in gst_wrapper_camera_bin_src_dispose()
86 self->src_pad = NULL; in gst_wrapper_camera_bin_src_dispose()
241 gst_pad_peer_query (self->src_pad, drain); in gst_wrapper_camera_bin_src_set_output()
247 gst_ghost_pad_set_target (GST_GHOST_PAD (output_pad), self->src_pad); in gst_wrapper_camera_bin_src_set_output()
369 gst_pad_unlink (self->src_pad, self->video_tee_sink); in gst_wrapper_camera_bin_src_vidsrc_probe()
609 self->src_pad = gst_element_get_static_pad (self->digitalzoom, "src"); in gst_wrapper_camera_bin_src_construct_pipeline()
610 gst_ghost_pad_set_target (GST_GHOST_PAD (self->vfsrc), self->src_pad); in gst_wrapper_camera_bin_src_construct_pipeline()
819 gst_pad_link (self->src_pad, self->video_tee_sink); in start_video_capture()
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstaspectratiocrop.c239 GstPad *src_pad; in gst_aspect_ratio_crop_init() local
257 src_pad = gst_ghost_pad_new ("src", link_pad); in gst_aspect_ratio_crop_init()
258 gst_pad_set_query_function (src_pad, in gst_aspect_ratio_crop_init()
260 gst_element_add_pad (GST_ELEMENT (aspect_ratio_crop), src_pad); in gst_aspect_ratio_crop_init()
/third_party/gstreamer/gstplugins_base/tests/examples/decodebin_next/
Ddecodebin3.c319 GstPad *src_pad, *sink_pad; in main() local
327 src_pad = gst_element_get_static_pad (new_src, "src"); in main()
329 if (gst_pad_link (src_pad, sink_pad) != GST_PAD_LINK_OK) { in main()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgsttee.c588 GstPad *src_pad = g_value_get_object (item); in gst_tee_query_allocation() local
595 GST_DEBUG_PAD_NAME (src_pad)); in gst_tee_query_allocation()
597 peer_pad = gst_pad_get_peer (src_pad); in gst_tee_query_allocation()
601 GST_DEBUG_PAD_NAME (src_pad)); in gst_tee_query_allocation()
605 GST_DEBUG_PAD_NAME (src_pad)); in gst_tee_query_allocation()
617 GST_PAD_NAME (src_pad)); in gst_tee_query_allocation()

12