Home
last modified time | relevance | path

Searched refs:appsink (Results 1 – 25 of 45) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/
Dgstappsink.c551 gst_app_sink_init (GstAppSink * appsink) in gst_app_sink_init() argument
555 priv = appsink->priv = gst_app_sink_get_instance_private (appsink); in gst_app_sink_init()
573 GstAppSink *appsink = GST_APP_SINK_CAST (obj); in gst_app_sink_dispose() local
574 GstAppSinkPrivate *priv = appsink->priv; in gst_app_sink_dispose()
578 GST_OBJECT_LOCK (appsink); in gst_app_sink_dispose()
583 GST_OBJECT_UNLOCK (appsink); in gst_app_sink_dispose()
607 GstAppSink *appsink = GST_APP_SINK_CAST (obj); in gst_app_sink_finalize() local
608 GstAppSinkPrivate *priv = appsink->priv; in gst_app_sink_finalize()
621 GstAppSink *appsink = GST_APP_SINK_CAST (object); in gst_app_sink_set_property() local
625 gst_app_sink_set_caps (appsink, gst_value_get_caps (value)); in gst_app_sink_set_property()
[all …]
Dgstappsink.h75 void (*eos) (GstAppSink *appsink, gpointer user_data);
76 GstFlowReturn (*new_preroll) (GstAppSink *appsink, gpointer user_data);
77 GstFlowReturn (*new_sample) (GstAppSink *appsink, gpointer user_data);
78 gboolean (*new_event) (GstAppSink *appsink, gpointer user_data);
100 void (*eos) (GstAppSink *appsink);
101 GstFlowReturn (*new_preroll) (GstAppSink *appsink);
102 GstFlowReturn (*new_sample) (GstAppSink *appsink);
106 GstSample * (*pull_preroll) (GstAppSink *appsink);
107 GstSample * (*pull_sample) (GstAppSink *appsink);
108 GstSample * (*try_pull_preroll) (GstAppSink *appsink, GstClockTime timeout);
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/pipelines/
Dflacdec.c67 GstElement *appsink; in GST_START_TEST() local
84 appsink = gst_bin_get_by_name (GST_BIN (pipeline), "sink"); in GST_START_TEST()
85 fail_unless (appsink != NULL); in GST_START_TEST()
90 g_signal_emit_by_name (appsink, "pull-sample", &sample); in GST_START_TEST()
109 g_object_unref (appsink); in GST_START_TEST()
117 GstElement *appsink; in GST_START_TEST() local
135 appsink = gst_bin_get_by_name (GST_BIN (pipeline), "sink"); in GST_START_TEST()
136 fail_unless (appsink != NULL); in GST_START_TEST()
144 fail_unless (gst_element_send_event (appsink, event)); in GST_START_TEST()
149 g_signal_emit_by_name (appsink, "pull-sample", &sample); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/tests/examples/stepping/
Dframestep1.c76 new_preroll (GstElement * appsink, gpointer user_data) in new_preroll() argument
80 g_signal_emit_by_name (appsink, "pull-preroll", &buffer); in new_preroll()
93 GstElement *bin, *videotestsrc, *appsink; in main() local
108 appsink = gst_element_factory_make ("appsink", "appsink"); in main()
109 g_assert (appsink); in main()
110 g_object_set (appsink, "emit-signals", TRUE, NULL); in main()
111 g_object_set (appsink, "sync", TRUE, NULL); in main()
112 g_signal_connect (appsink, "new-preroll", (GCallback) new_preroll, NULL); in main()
116 gst_bin_add (GST_BIN (bin), appsink); in main()
119 gst_element_link_many (videotestsrc, appsink, NULL); in main()
/third_party/pulseaudio/src/modules/bluetooth/
Da2dp-codec-gst.c40 static void app_sink_eos(GstAppSink *appsink, gpointer userdata) { in app_sink_eos() argument
55 GstElement *appsink = NULL; in gst_init_common() local
58 appsink = gst_element_factory_make("appsink", "app_sink"); in gst_init_common()
59 if (!appsink) { in gst_init_common()
63 g_object_set(appsink, "sync", FALSE, "async", FALSE, "enable-last-sample", FALSE, NULL); in gst_init_common()
66 gst_app_sink_set_callbacks(GST_APP_SINK(appsink), &callbacks, info, NULL); in gst_init_common()
71 info->app_sink = appsink; in gst_init_common()
77 if (appsink) in gst_init_common()
78 gst_object_unref(appsink); in gst_init_common()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/basecamerabinsrc/
Dgstcamerabinpreview.c86 gst_camerabin_preview_pipeline_new_sample (GstAppSink * appsink, in gst_camerabin_preview_pipeline_new_sample() argument
96 sample = gst_app_sink_pull_sample (appsink); in gst_camerabin_preview_pipeline_new_sample()
145 data->appsink = gst_element_factory_make ("appsink", "preview-appsink"); in gst_camerabin_create_preview_pipeline()
149 if (!data->appsrc || !data->appsink || !csp || !vscale) { in gst_camerabin_create_preview_pipeline()
154 g_object_set (data->appsink, "sync", FALSE, "enable-last-sample", in gst_camerabin_create_preview_pipeline()
158 data->appsink, csp, vscale, NULL); in gst_camerabin_create_preview_pipeline()
181 data->appsink, "sink", GST_PAD_LINK_CHECK_NOTHING)); in gst_camerabin_create_preview_pipeline()
189 gst_app_sink_set_callbacks ((GstAppSink *) data->appsink, &callbacks, data, in gst_camerabin_create_preview_pipeline()
216 if (data->appsink) in gst_camerabin_create_preview_pipeline()
217 gst_object_unref (data->appsink); in gst_camerabin_create_preview_pipeline()
[all …]
Dgstcamerabinpreview.h42 GstElement *appsink; member
/third_party/gstreamer/gstplugins_good/tests/examples/rtsp/
Dtest-onvif.c10 new_sample (GstElement * appsink, GstElement * rtspsrc) in new_sample() argument
17 g_signal_emit_by_name (appsink, "pull-sample", &sample); in new_sample()
32 GstElement *appsink; in setup_backchannel_shoveler() local
39 appsink = gst_bin_get_by_name (GST_BIN (backpipe), "out"); in setup_backchannel_shoveler()
40 g_object_set (G_OBJECT (appsink), "caps", caps, "emit-signals", TRUE, NULL); in setup_backchannel_shoveler()
42 g_signal_connect (appsink, "new-sample", G_CALLBACK (new_sample), rtspsrc); in setup_backchannel_shoveler()
/third_party/pulseaudio/src/modules/rtp/
Drtp-gstreamer.c62 GstElement *appsink; member
423 GstElement *udpsrc = NULL, *rtpbin = NULL, *depay = NULL, *appsink = NULL; in init_receive_pipeline() local
439 MAKE_ELEMENT(appsink, "appsink"); in init_receive_pipeline()
443 gst_bin_add_many(GST_BIN(c->pipeline), udpsrc, rtpbin, depay, appsink, NULL); in init_receive_pipeline()
463 g_object_set(appsink, "sync", FALSE, "enable-last-sample", FALSE, NULL); in init_receive_pipeline()
472 g_object_set(appsink, "caps", sink_caps, NULL); in init_receive_pipeline()
484 !gst_element_link(resample, appsink)) { in init_receive_pipeline()
491 !gst_element_link(depay, appsink)) { in init_receive_pipeline()
513 c->appsink = gst_object_ref(appsink); in init_receive_pipeline()
532 if (appsink) in init_receive_pipeline()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dappsink.c40 GstElement *appsink; in setup_appsink() local
44 appsink = gst_check_setup_element ("appsink"); in setup_appsink()
45 mysrcpad = gst_check_setup_src_pad (appsink, &srctemplate); in setup_appsink()
49 gst_check_setup_events (mysrcpad, appsink, caps, GST_FORMAT_TIME); in setup_appsink()
52 return appsink; in setup_appsink()
56 cleanup_appsink (GstElement * appsink) in cleanup_appsink() argument
60 gst_check_teardown_src_pad (appsink); in cleanup_appsink()
61 gst_check_teardown_element (appsink); in cleanup_appsink()
75 callback_function (GstAppSink * appsink, gpointer callback_data) in callback_function() argument
230 callback_function_sample_fallback (GstAppSink * appsink, gpointer p_counter) in callback_function_sample_fallback() argument
[all …]
Dcompositor.c1730 _buffer_recvd (GstElement * appsink, gint * buffers_recvd) in _buffer_recvd() argument
1734 g_signal_emit_by_name (appsink, "pull-sample", &sample); in _buffer_recvd()
1774 GstElement *bin, *src, *src2, *src3, *compositor, *appsink; in run_test_repeat_after_eos() local
1793 appsink = gst_element_factory_make ("appsink", NULL); in run_test_repeat_after_eos()
1794 g_object_set (appsink, "emit-signals", TRUE, NULL); in run_test_repeat_after_eos()
1795 gst_bin_add_many (GST_BIN (bin), src, compositor, appsink, NULL); in run_test_repeat_after_eos()
1807 res = gst_element_link (compositor, appsink); in run_test_repeat_after_eos()
1828 g_signal_connect (appsink, "new-sample", G_CALLBACK (_buffer_recvd), in run_test_repeat_after_eos()
2004 first_buffer_received_cb (GstElement * appsink, gpointer user_data) in first_buffer_received_cb() argument
2010 g_signal_emit_by_name (appsink, "pull-sample", &sample); in first_buffer_received_cb()
[all …]
Dplaybin.c821 GstElement *playbin, *appsink;
838 appsink = gst_element_factory_make ("appsink", "appsink");
839 g_object_set (playbin, "audio-sink", appsink, NULL);
847 g_signal_emit_by_name (appsink, "pull-sample", &sample);
864 g_signal_emit_by_name (appsink, "pull-sample", &sample);
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dadaptive_demux_engine.c44 if (stream->appsink) in adaptive_demux_engine_stream_state_finalize()
45 gst_object_unref (stream->appsink); in adaptive_demux_engine_stream_state_finalize()
56 GstAppSink * appsink) in getTestOutputDataByAppsink() argument
63 if (state->appsink == appsink) { in getTestOutputDataByAppsink()
67 ck_abort_msg ("cannot find appsink %p in the output data", appsink); in getTestOutputDataByAppsink()
113 on_appSinkNewSample (GstAppSink * appsink, gpointer user_data) in on_appSinkNewSample() argument
126 testOutputStream = getTestOutputDataByAppsink (priv, appsink); in on_appSinkNewSample()
128 sample = gst_app_sink_pull_sample (appsink); in on_appSinkNewSample()
152 on_appSinkEOS (GstAppSink * appsink, gpointer user_data) in on_appSinkEOS() argument
160 testOutputStream = getTestOutputDataByAppsink (priv, appsink); in on_appSinkEOS()
[all …]
/third_party/gstreamer/gstplugins_base/tests/icles/
Dplaybin-text.c85 have_subtitle (GstElement * appsink, App * app) in have_subtitle() argument
92 g_signal_emit_by_name (appsink, "pull-sample", &sample); in have_subtitle()
100 gst_element_query_position (appsink, GST_FORMAT_TIME, &position); in have_subtitle()
102 clock = gst_element_get_clock (appsink); in have_subtitle()
103 base_time = gst_element_get_base_time (appsink); in have_subtitle()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dsplitmuxsrc.c151 receive_sample (GstAppSink * appsink, gpointer user_data G_GNUC_UNUSED) in receive_sample() argument
159 g_signal_emit_by_name (appsink, "pull-sample", &sample); in receive_sample()
223 GstElement *appsink; in test_playback() local
233 appsink = gst_element_factory_make ("appsink", NULL); in test_playback()
234 fail_if (appsink == NULL); in test_playback()
235 g_object_set (G_OBJECT (appsink), "sync", FALSE, NULL); in test_playback()
237 g_object_set (G_OBJECT (pipeline), "video-sink", appsink, NULL); in test_playback()
248 gst_app_sink_set_callbacks (GST_APP_SINK (appsink), &callbacks, NULL, NULL); in test_playback()
366 new_sample_verify_continuous_timestamps (GstAppSink * appsink, in new_sample_verify_continuous_timestamps() argument
374 sample = gst_app_sink_pull_sample (appsink); in new_sample_verify_continuous_timestamps()
[all …]
Dsplitmuxsinktimecode.c157 receive_sample (GstAppSink * appsink, gpointer user_data) in receive_sample() argument
165 g_signal_emit_by_name (appsink, "pull-sample", &sample); in receive_sample()
235 GstElement *appsink; in test_playback() local
245 appsink = gst_element_factory_make ("appsink", NULL); in test_playback()
246 fail_if (appsink == NULL); in test_playback()
247 g_object_set (G_OBJECT (appsink), "sync", FALSE, NULL); in test_playback()
249 g_object_set (G_OBJECT (pipeline), "video-sink", appsink, NULL); in test_playback()
260 gst_app_sink_set_callbacks (GST_APP_SINK (appsink), &callbacks, NULL, NULL); in test_playback()
459 GstElement *appsink; in count_frames() local
470 appsink = gst_element_factory_make ("appsink", NULL); in count_frames()
[all …]
Dsplitmuxsink.c151 receive_sample (GstAppSink * appsink, gpointer user_data) in receive_sample() argument
159 g_signal_emit_by_name (appsink, "pull-sample", &sample); in receive_sample()
229 GstElement *appsink; in test_playback() local
239 appsink = gst_element_factory_make ("appsink", NULL); in test_playback()
240 fail_if (appsink == NULL); in test_playback()
241 g_object_set (G_OBJECT (appsink), "sync", FALSE, NULL); in test_playback()
243 g_object_set (G_OBJECT (pipeline), "video-sink", appsink, NULL); in test_playback()
254 gst_app_sink_set_callbacks (GST_APP_SINK (appsink), &callbacks, NULL, NULL); in test_playback()
Dmpg123audiodec.c167 GstElement ** appsink) in setup_input_pipeline() argument
174 *appsink = gst_element_factory_make ("appsink", NULL); in setup_input_pipeline()
176 gst_bin_add_many (GST_BIN (*pipeline), source, parser, *appsink, NULL); in setup_input_pipeline()
177 gst_element_link_many (source, parser, *appsink, NULL); in setup_input_pipeline()
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dtcp.c256 GstAppSink *appsink = NULL; in GST_START_TEST() local
279 appsink = GST_APP_SINK (gst_check_setup_element ("appsink")); in GST_START_TEST()
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()
285 fail_unless ((sample = gst_app_sink_pull_sample (appsink)) != NULL); in GST_START_TEST()
289 fail_unless ((sample = gst_app_sink_pull_sample (appsink)) != NULL); in GST_START_TEST()
293 fail_unless (NULL == gst_app_sink_pull_sample (appsink)); in GST_START_TEST()
294 fail_unless (gst_app_sink_is_eos (appsink)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/
Dsdlshare.c328 on_new_sample (GstElement * appsink, gpointer data) in on_new_sample() argument
335 g_signal_emit_by_name (appsink, "pull-sample", &sample, NULL); in on_new_sample()
529 GstElement *appsink; in main() local
609 appsink = gst_bin_get_by_name (GST_BIN (pipeline), "sink"); in main()
615 g_object_set (appsink, "emit-signals", TRUE, "sync", TRUE, "caps", caps, in main()
617 g_signal_connect (appsink, "new-sample", G_CALLBACK (on_new_sample), NULL); in main()
618 gst_object_unref (appsink); in main()
/third_party/gstreamer/gstplugins_base/tests/examples/app/
Dmeson.build7 'appsink-src',
8 'appsink-src2',
/third_party/gstreamer/gstplugins_base/gst/app/
Dgstappsink.c34 GST_ELEMENT_REGISTER_DEFINE (appsink, "appsink", GST_RANK_NONE,
Dgstappelements.h34 GST_ELEMENT_REGISTER_DECLARE (appsink);
Dgstapp.c28 ret |= GST_ELEMENT_REGISTER (appsink, plugin); in plugin_init()
/third_party/gstreamer/gstplugins_base/docs/libs/app/
Dindex.md7 To use it the functionality, insert an `appsrc` or `appsink` element

12