/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstquery.c | 236 ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING); in GST_START_TEST() 239 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST() 242 fail_unless (gst_element_query (GST_ELEMENT (bin), pos), in GST_START_TEST() 244 fail_unless (gst_element_query (GST_ELEMENT (bin), dur), in GST_START_TEST() 248 fail_unless (gst_element_query (GST_ELEMENT (src), pos), in GST_START_TEST() 250 fail_unless (gst_element_query (GST_ELEMENT (src), pos), in GST_START_TEST() 253 fail_unless (gst_element_query (GST_ELEMENT (sink), pos), in GST_START_TEST() 255 fail_unless (gst_element_query (GST_ELEMENT (sink), pos), in GST_START_TEST() 270 ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL); in GST_START_TEST() 273 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, GST_CLOCK_TIME_NONE); in GST_START_TEST()
|
D | gstbin.c | 145 GST_ELEMENT (bin2), gst_element_factory_make ("identity", NULL), NULL); in GST_START_TEST() 220 GST_ELEMENT (bin2), gst_element_factory_make ("identity", NULL), NULL); in GST_START_TEST() 269 fail_if (gst_element_set_state (GST_ELEMENT (pipeline), in GST_START_TEST() 293 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); in GST_START_TEST() 328 fail_if (gst_element_set_state (GST_ELEMENT (pipeline), in GST_START_TEST() 330 fail_unless (gst_element_get_state (GST_ELEMENT (pipeline), NULL, NULL, in GST_START_TEST() 344 gst_element_set_state (GST_ELEMENT (sink2), GST_STATE_NULL); in GST_START_TEST() 356 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); in GST_START_TEST() 388 fail_if (gst_element_set_state (GST_ELEMENT (pipeline), in GST_START_TEST() 414 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); in GST_START_TEST() [all …]
|
D | gstelement.c | 557 gst_element_add_pad (GST_ELEMENT (test), sinkpad); in gst_test_element3_init() 732 pad = gst_element_request_pad_simple (GST_ELEMENT (test), pad_name); in GST_START_TEST() 734 gst_element_release_request_pad (GST_ELEMENT (test), pad); in GST_START_TEST() 737 pad = gst_element_request_pad (GST_ELEMENT (test), in GST_START_TEST() 741 gst_element_release_request_pad (GST_ELEMENT (test), pad); in GST_START_TEST() 751 pad = gst_element_request_pad_simple (GST_ELEMENT (test), pad_name); in GST_START_TEST() 759 fail_unless (gst_element_link (GST_ELEMENT (test), sink)); in GST_START_TEST() 760 gst_element_unlink (GST_ELEMENT (test), sink); in GST_START_TEST() 762 fail_unless (gst_element_link_pads (GST_ELEMENT (test), "src_%u_%u", sink, in GST_START_TEST() 764 gst_element_unlink (GST_ELEMENT (test), sink); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/ |
D | tcp.c | 72 gst_bin_add_many (GST_BIN (st->sink_pipeline), GST_ELEMENT (st->sink_src), in symmetry_test_setup() 74 fail_unless (gst_element_link_many (GST_ELEMENT (st->sink_src), st->sink, in symmetry_test_setup() 80 GST_ELEMENT (st->src_sink), NULL); in symmetry_test_setup() 81 fail_unless (gst_element_link_many (st->src, GST_ELEMENT (st->src_sink), in symmetry_test_setup() 85 gst_element_set_state (GST_ELEMENT (st->sink_pipeline), in symmetry_test_setup() 89 gst_element_set_state (GST_ELEMENT (st->src_pipeline), GST_STATE_PLAYING); in symmetry_test_setup() 96 fail_unless (gst_element_set_state (GST_ELEMENT (st->sink_pipeline), in symmetry_test_teardown() 98 fail_unless (gst_element_set_state (GST_ELEMENT (st->src_pipeline), in symmetry_test_teardown() 280 gst_bin_add_many (GST_BIN (pipeline), socketsrc, GST_ELEMENT (appsink), NULL); in GST_START_TEST() 281 fail_unless (gst_element_link_many (socketsrc, GST_ELEMENT (appsink), NULL)); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/webrtc/ |
D | transportreceivebin.c | 162 _create_pad_block (GST_ELEMENT (receive), peer_pad, 0, NULL, NULL); in transport_receive_bin_set_receive_state() 322 gst_bin_add (GST_BIN (receive), GST_ELEMENT (transport->dtlssrtpdec)); in transport_receive_bin_constructed() 341 gst_bin_add (GST_BIN (receive), GST_ELEMENT (receive->queue)); in transport_receive_bin_constructed() 342 gst_bin_add (GST_BIN (receive), GST_ELEMENT (capsfilter)); in transport_receive_bin_constructed() 350 gst_bin_add (GST_BIN (receive), GST_ELEMENT (transport->transport->src)); in transport_receive_bin_constructed() 351 if (!gst_element_link_pads (GST_ELEMENT (transport->transport->src), "src", in transport_receive_bin_constructed() 352 GST_ELEMENT (capsfilter), "sink")) in transport_receive_bin_constructed() 361 gst_element_add_pad (GST_ELEMENT (receive), receive->rtp_src); in transport_receive_bin_constructed() 368 gst_element_add_pad (GST_ELEMENT (receive), receive->rtcp_src); in transport_receive_bin_constructed() 375 gst_element_add_pad (GST_ELEMENT (receive), ghost); in transport_receive_bin_constructed()
|
D | transportsendbin.c | 341 gst_bin_add (GST_BIN (send), GST_ELEMENT (send->dtlssrtpenc)); in transport_send_bin_constructed() 342 gst_bin_add (GST_BIN (send), GST_ELEMENT (send->nicesink)); in transport_send_bin_constructed() 344 if (!gst_element_link_pads (GST_ELEMENT (send->dtlssrtpenc), "src", in transport_send_bin_constructed() 353 gst_element_add_pad (GST_ELEMENT (send), ghost); in transport_send_bin_constructed() 362 gst_element_add_pad (GST_ELEMENT (send), ghost); in transport_send_bin_constructed() 372 gst_element_add_pad (GST_ELEMENT (send), ghost); in transport_send_bin_constructed() 438 (GST_ELEMENT (element), query); in gst_transport_send_bin_element_query() 453 (GST_ELEMENT (element), gst_event_new_latency (min_latency))) { in gst_transport_send_bin_element_query() 466 (GST_ELEMENT (element), query); in gst_transport_send_bin_element_query() 491 (GST_ELEMENT (element), event); in gst_transport_send_bin_element_event()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | camerabin.c | 1013 if (gst_element_set_state (GST_ELEMENT (camera), GST_STATE_PLAYING) == in run_single_image_capture_test() 1016 gst_element_set_state (GST_ELEMENT (camera), GST_STATE_NULL); in run_single_image_capture_test() 1034 gst_element_set_state (GST_ELEMENT (camera), GST_STATE_NULL); in run_single_image_capture_test() 1076 if (gst_element_set_state (GST_ELEMENT (camera), GST_STATE_PLAYING) == in GST_START_TEST() 1079 gst_element_set_state (GST_ELEMENT (camera), GST_STATE_NULL); in GST_START_TEST() 1109 gst_element_set_state (GST_ELEMENT (camera), GST_STATE_NULL); in GST_START_TEST() 1129 if (gst_element_set_state (GST_ELEMENT (camera), GST_STATE_PLAYING) == in GST_START_TEST() 1132 gst_element_set_state (GST_ELEMENT (camera), GST_STATE_NULL); in GST_START_TEST() 1160 gst_element_set_state (GST_ELEMENT (camera), GST_STATE_NULL); in GST_START_TEST() 1183 if (gst_element_set_state (GST_ELEMENT (camera), GST_STATE_PLAYING) == in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/examples/gl/qt/qglwtextureshare/ |
D | pipeline.cpp | 78 gst_element_set_state (GST_ELEMENT (this->m_pipeline), GST_STATE_PAUSED); in configure() 80 if (gst_element_get_state (GST_ELEMENT (this->m_pipeline), in configure() 99 gst_element_set_state (GST_ELEMENT (this->m_pipeline), GST_STATE_PLAYING); in start() 155 gst_element_set_state (GST_ELEMENT (this->m_pipeline), GST_STATE_NULL); in unconfigure() 218 gst_element_set_context (GST_ELEMENT (msg->src), display_context); in sync_bus_call() 223 gst_element_set_context (GST_ELEMENT (msg->src), app_context); in sync_bus_call()
|
/third_party/gstreamer/gstplugins_good/tests/examples/rtp/ |
D | client-rtpaux.c | 105 gst_element_add_pad (GST_ELEMENT (bin), binPad); in setup_ghost_sink() 127 ret->output = GST_ELEMENT (bin); in make_audio_session() 152 ret->output = GST_ELEMENT (bin); in make_video_session() 235 parent = GST_ELEMENT (gst_element_get_parent (session->rtpbin)); in handle_new_stream() 349 bus = gst_element_get_bus (GST_ELEMENT (pipe)); in main() 365 join_session (GST_ELEMENT (pipe), rtpBin, videoSession); in main() 366 join_session (GST_ELEMENT (pipe), rtpBin, audioSession); in main() 369 gst_element_set_state (GST_ELEMENT (pipe), GST_STATE_PLAYING); in main() 374 gst_element_set_state (GST_ELEMENT (pipe), GST_STATE_NULL); in main()
|
D | server-rtpaux.c | 114 gst_element_add_pad (GST_ELEMENT (bin), binPad); in setup_ghost() 133 session->input = GST_ELEMENT (audioBin); in make_audio_session() 160 session->input = GST_ELEMENT (videoBin); in make_video_session() 270 bus = gst_element_get_bus (GST_ELEMENT (pipe)); in main() 286 gst_element_set_state (GST_ELEMENT (pipe), GST_STATE_PLAYING); in main() 291 gst_element_set_state (GST_ELEMENT (pipe), GST_STATE_NULL); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/webrtc/ |
D | webrtcrenego.c | 25 receive = GST_ELEMENT (msg->src); in _element_message() 30 webrtc = GST_ELEMENT (gst_pad_get_parent (peer)); in _element_message() 52 if (GST_ELEMENT (msg->src) == pipe) { in _bus_watch() 96 _element_message (GST_ELEMENT (msg->src), sub_msg); in _bus_watch() 272 gst_element_set_state (GST_ELEMENT (pipe1), GST_STATE_PLAYING); in main() 278 gst_element_set_state (GST_ELEMENT (pipe1), GST_STATE_NULL); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/wpe/ |
D | wpe.c | 30 if (GST_ELEMENT (msg->src) == pipe) { in _bus_watch() 134 gst_element_set_state (GST_ELEMENT (pipe1), GST_STATE_READY); in main() 143 gst_element_set_state (GST_ELEMENT (pipe1), GST_STATE_PLAYING); in main() 147 gst_element_set_state (GST_ELEMENT (pipe1), GST_STATE_NULL); in main()
|
/third_party/gstreamer/gstreamer/tests/benchmarks/ |
D | capsnego.c | 256 gst_element_set_state (GST_ELEMENT (bin), GST_STATE_READY); in main() 261 gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED); in main() 262 event_loop (GST_ELEMENT (bin)); in main() 263 gst_element_set_state (GST_ELEMENT (bin), GST_STATE_READY); in main() 270 gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL); in main()
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2codecalphadecodebin.c | 63 gst_element_post_message (GST_ELEMENT (self), in gst_v4l2_codec_alpha_decode_bin_open() 64 gst_missing_element_message_new (GST_ELEMENT (self), in gst_v4l2_codec_alpha_decode_bin_open() 112 gst_element_add_pad (GST_ELEMENT (self), sink_gpad); in gst_v4l2_codec_alpha_decode_bin_constructed() 116 gst_element_add_pad (GST_ELEMENT (self), src_gpad); in gst_v4l2_codec_alpha_decode_bin_constructed()
|
/third_party/gstreamer/gstplugins_bad/gst/codecalpha/ |
D | gstalphadecodebin.c | 61 gst_element_post_message (GST_ELEMENT (self), in gst_alpha_decode_bin_open() 62 gst_missing_element_message_new (GST_ELEMENT (self), in gst_alpha_decode_bin_open() 109 gst_element_add_pad (GST_ELEMENT (self), sink_gpad); in gst_alpha_decode_bin_constructed() 113 gst_element_add_pad (GST_ELEMENT (self), src_gpad); in gst_alpha_decode_bin_constructed()
|
D | gstcodecalphademux.c | 296 gst_element_create_all_pads (GST_ELEMENT (self)); in gst_codec_alpha_demux_init() 297 self->sink_pad = gst_element_get_static_pad (GST_ELEMENT (self), "sink"); in gst_codec_alpha_demux_init() 298 self->src_pad = gst_element_get_static_pad (GST_ELEMENT (self), "src"); in gst_codec_alpha_demux_init() 299 self->alpha_pad = gst_element_get_static_pad (GST_ELEMENT (self), "alpha"); in gst_codec_alpha_demux_init()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | videomixer.c | 262 state_res = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_READY); in test_play_twice_message_received() 266 state_res = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED); in test_play_twice_message_received() 271 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, in test_play_twice_message_received() 275 res = gst_element_send_event (GST_ELEMENT (bin), in test_play_twice_message_received() 280 gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING); in test_play_twice_message_received() 348 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, in GST_START_TEST() 437 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, in GST_START_TEST() 531 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, in GST_START_TEST() 613 state_res = gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, GST_SECOND); in GST_START_TEST() 623 gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/dtls/ |
D | gstdtlssrtpdemux.c | 103 gst_element_add_pad (GST_ELEMENT (self), sink); in gst_dtls_srtp_demux_init() 104 gst_element_add_pad (GST_ELEMENT (self), self->rtp_src); in gst_dtls_srtp_demux_init() 105 gst_element_add_pad (GST_ELEMENT (self), self->dtls_src); in gst_dtls_srtp_demux_init()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkvideofilter.c | 135 if (gst_vulkan_handle_context_query (GST_ELEMENT (render), query, in gst_vulkan_video_filter_query() 139 if (gst_vulkan_queue_handle_context_query (GST_ELEMENT (render), in gst_vulkan_video_filter_query() 300 if (!gst_vulkan_ensure_element_data (GST_ELEMENT (bt), NULL, in gst_vulkan_video_filter_start() 306 if (!gst_vulkan_device_run_context_query (GST_ELEMENT (render), in gst_vulkan_video_filter_start() 319 if (!gst_vulkan_queue_run_context_query (GST_ELEMENT (render), in gst_vulkan_video_filter_start()
|
/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/ |
D | sdlshare2.c | 273 gst_element_set_context (GST_ELEMENT (msg->src), display_context); in sync_bus_call() 280 gst_element_set_context (GST_ELEMENT (msg->src), app_context); in sync_bus_call() 392 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PAUSED); in main() 394 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING); in main() 400 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); in main()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/ |
D | gstsctpdec.c | 239 gst_element_add_pad (GST_ELEMENT (self), self->sink_pad); in gst_sctp_dec_init() 389 it = gst_element_iterate_src_pads (GST_ELEMENT (self)); in gst_sctp_dec_packet_event() 400 it = gst_element_iterate_src_pads (GST_ELEMENT (self)); in gst_sctp_dec_packet_event() 547 new_pad = gst_element_get_static_pad (GST_ELEMENT (self), pad_name); in get_pad_for_stream_id() 579 gst_pad_create_stream_id_printf (new_pad, GST_ELEMENT (self), "%hu", in get_pad_for_stream_id() 585 if (!gst_element_add_pad (GST_ELEMENT (self), new_pad)) in get_pad_for_stream_id() 612 gst_element_remove_pad (GST_ELEMENT (self), pad); in remove_pad() 629 srcpad = gst_element_get_static_pad (GST_ELEMENT (self), pad_name); in on_gst_sctp_association_stream_reset() 707 it = gst_element_iterate_src_pads (GST_ELEMENT (self)); in stop_all_srcpad_tasks()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | decodebin.c | 392 GstElement *self = GST_ELEMENT (parent); in gst_fake_h264_parser_sink_event() 429 GstElement *self = GST_ELEMENT (parent); in gst_fake_h264_parser_sink_chain() 452 gst_element_add_pad (GST_ELEMENT (self), pad); in gst_fake_h264_parser_init() 457 gst_element_add_pad (GST_ELEMENT (self), pad); in gst_fake_h264_parser_init() 493 GstElement *self = GST_ELEMENT (parent); in gst_fake_h264_decoder_sink_event() 521 GstElement *self = GST_ELEMENT (parent); in gst_fake_h264_decoder_sink_chain() 544 gst_element_add_pad (GST_ELEMENT (self), pad); in gst_fake_h264_decoder_init() 549 gst_element_add_pad (GST_ELEMENT (self), pad); in gst_fake_h264_decoder_init()
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | input-selector-test.c | 91 return (GST_STATE (GST_ELEMENT (video_switch)) == GST_STATE_PLAYING); in switch_timer() 150 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING); in main() 156 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_READY); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/ipcpipeline/ |
D | ipc-play.c | 391 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL); in master_bus_msg() 412 gst_element_set_state (GST_ELEMENT (pipeline), desired_state); in master_bus_msg() 418 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PAUSED); in master_bus_msg() 427 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PAUSED); in master_bus_msg() 428 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING); in master_bus_msg() 450 gst_element_set_state (GST_ELEMENT (pipeline), state); in master_bus_msg() 483 keyboard_cb (key, GST_ELEMENT (pipeline)); in master_bus_msg() 494 relative_seek (GST_ELEMENT (pipeline), +0.08); in master_bus_msg() 497 relative_seek (GST_ELEMENT (pipeline), -0.01); in master_bus_msg()
|
/third_party/gstreamer/gstplugins_good/tests/examples/spectrum/ |
D | demo-audiotest.c | 73 GstElement *machine = GST_ELEMENT (user_data); in on_frequency_changed() 103 update_spectrum_bands (GST_ELEMENT (user_data)); in on_configure_event() 111 update_spectrum_bands (GST_ELEMENT (user_data)); in on_fast_slow_mode_changed() 170 GstElement *spectrum = GST_ELEMENT (GST_MESSAGE_SRC (message)); in message_handler()
|