Home
last modified time | relevance | path

Searched refs:sync_meta (Results 1 – 18 of 18) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglsyncmeta.c57 _default_set_sync_gl (GstGLSyncMeta * sync_meta, GstGLContext * context) in _default_set_sync_gl() argument
62 if (sync_meta->data) { in _default_set_sync_gl()
63 GST_LOG ("deleting sync object %p", sync_meta->data); in _default_set_sync_gl()
64 gl->DeleteSync ((GLsync) sync_meta->data); in _default_set_sync_gl()
66 sync_meta->data = in _default_set_sync_gl()
68 GST_LOG ("setting sync object %p", sync_meta->data); in _default_set_sync_gl()
76 _default_wait_gl (GstGLSyncMeta * sync_meta, GstGLContext * context) in _default_wait_gl() argument
80 if (sync_meta->data && gl->WaitSync) { in _default_wait_gl()
81 GST_LOG ("waiting on sync object %p", sync_meta->data); in _default_wait_gl()
82 gl->WaitSync ((GLsync) sync_meta->data, 0, GL_TIMEOUT_IGNORED); in _default_wait_gl()
[all …]
Dgstglsyncmeta.h87 void gst_gl_sync_meta_set_sync_point (GstGLSyncMeta * sync_meta, GstGLContext * …
89 void gst_gl_sync_meta_wait (GstGLSyncMeta * sync_meta, GstGLContext * …
91 void gst_gl_sync_meta_wait_cpu (GstGLSyncMeta * sync_meta, GstGLContext * …
Dgstglbasesrc.c395 GstGLSyncMeta *sync_meta; in gst_gl_base_src_fill() local
419 sync_meta = gst_buffer_get_gl_sync_meta (buffer); in gst_gl_base_src_fill()
420 if (sync_meta) in gst_gl_base_src_fill()
421 gst_gl_sync_meta_set_sync_point (sync_meta, src->context); in gst_gl_base_src_fill()
Dgstglviewconvert.c2023 GstGLSyncMeta *sync_meta; in _do_view_convert() local
2157 if ((sync_meta = gst_buffer_get_gl_sync_meta (priv->primary_in))) { in _do_view_convert()
2158 gst_gl_sync_meta_wait (sync_meta, context); in _do_view_convert()
2163 if ((sync_meta = gst_buffer_get_gl_sync_meta (priv->auxilliary_in))) { in _do_view_convert()
2164 gst_gl_sync_meta_wait (sync_meta, context); in _do_view_convert()
2220 if ((sync_meta = gst_buffer_add_gl_sync_meta (context, priv->primary_out))) in _do_view_convert()
2221 gst_gl_sync_meta_set_sync_point (sync_meta, context); in _do_view_convert()
2225 if ((sync_meta = in _do_view_convert()
2227 gst_gl_sync_meta_set_sync_point (sync_meta, context); in _do_view_convert()
Dgstglcolorconvert.c2870 GstGLSyncMeta *sync_meta; in _do_convert() local
2928 sync_meta = gst_buffer_get_gl_sync_meta (convert->inbuf); in _do_convert()
2929 if (sync_meta) in _do_convert()
2930 gst_gl_sync_meta_wait (sync_meta, convert->context); in _do_convert()
2986 GstGLSyncMeta *sync_meta = in _do_convert() local
2989 if (sync_meta) in _do_convert()
2990 gst_gl_sync_meta_set_sync_point (sync_meta, convert->context); in _do_convert()
Dgstglupload.c2189 GstGLSyncMeta *sync_meta; in _nvmm_upload_perform() local
2191 sync_meta = gst_buffer_add_gl_sync_meta (nvmm->upload->context, *outbuf); in _nvmm_upload_perform()
2192 if (sync_meta) { in _nvmm_upload_perform()
2193 gst_gl_sync_meta_set_sync_point (sync_meta, nvmm->upload->context); in _nvmm_upload_perform()
/third_party/gstreamer/gstplugins_good/ext/qt/
Dgstqsgtexture.cc114 GstGLSyncMeta *sync_meta; in bind() local
146 sync_meta = gst_buffer_get_gl_sync_meta (this->sync_buffer_); in bind()
147 if (!sync_meta) in bind()
148 sync_meta = gst_buffer_add_gl_sync_meta (context, this->sync_buffer_); in bind()
150 gst_gl_sync_meta_set_sync_point (sync_meta, context); in bind()
152 gst_gl_sync_meta_wait (sync_meta, qt_context); in bind()
Dqtwindow.cc174 GstGLSyncMeta *sync_meta; in afterRendering() local
240 sync_meta = gst_buffer_get_gl_sync_meta (this->priv->buffer); in afterRendering()
241 if (!sync_meta) { in afterRendering()
242 sync_meta = gst_buffer_add_gl_sync_meta (this->priv->context, this->priv->buffer); in afterRendering()
244 gst_gl_sync_meta_set_sync_point (sync_meta, context); in afterRendering()
Dgstqtoverlay.cc410 GstGLSyncMeta *sync_meta; in gst_qt_overlay_prepare_output_buffer() local
455 sync_meta = gst_buffer_add_gl_sync_meta (bfilter->context, *outbuf); in gst_qt_overlay_prepare_output_buffer()
456 gst_gl_sync_meta_set_sync_point (sync_meta, bfilter->context); in gst_qt_overlay_prepare_output_buffer()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/
Dsdlshare.c333 GstGLSyncMeta *sync_meta; in on_new_sample() local
347 sync_meta = gst_buffer_get_gl_sync_meta (buf); in on_new_sample()
348 if (!sync_meta) { in on_new_sample()
350 sync_meta = gst_buffer_add_gl_sync_meta (gst_context, buf); in on_new_sample()
352 gst_gl_sync_meta_set_sync_point (sync_meta, gst_context); in on_new_sample()
482 GstGLSyncMeta *sync_meta; in sdl_event_loop() local
497 sync_meta = gst_buffer_get_gl_sync_meta (vframe->buffer); in sdl_event_loop()
498 if (sync_meta) in sdl_event_loop()
499 gst_gl_sync_meta_wait (sync_meta, sdl_context); in sdl_event_loop()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglmixer.c110 GstGLSyncMeta *sync_meta; in gst_gl_mixer_pad_prepare_frame() local
118 sync_meta = gst_buffer_get_gl_sync_meta (buffer); in gst_gl_mixer_pad_prepare_frame()
119 if (sync_meta) in gst_gl_mixer_pad_prepare_frame()
120 gst_gl_sync_meta_wait (sync_meta, GST_GL_BASE_MIXER (mix)->context); in gst_gl_mixer_pad_prepare_frame()
703 GstGLSyncMeta *sync_meta; in gst_gl_mixer_aggregate_frames() local
715 sync_meta = gst_buffer_get_gl_sync_meta (outbuf); in gst_gl_mixer_aggregate_frames()
716 if (sync_meta) in gst_gl_mixer_aggregate_frames()
717 gst_gl_sync_meta_set_sync_point (sync_meta, context); in gst_gl_mixer_aggregate_frames()
Dcaopengllayersink.m637 GstGLSyncMeta *sync_meta;
659 sync_meta = gst_buffer_add_gl_sync_meta (ca_sink->context, next_sync);
660 gst_gl_sync_meta_set_sync_point (sync_meta, ca_sink->context);
960 GstGLSyncMeta *sync_meta;
991 sync_meta = gst_buffer_get_gl_sync_meta (ca_sink->stored_sync);
992 if (sync_meta)
993 gst_gl_sync_meta_wait (sync_meta, gst_gl_context_get_current ());
Dgstglimagesink.c1650 GstGLSyncMeta *sync_meta; in prepare_next_buffer() local
1723 sync_meta = gst_buffer_get_gl_sync_meta (next_buffer); in prepare_next_buffer()
1725 if (!sync_meta) { in prepare_next_buffer()
1727 sync_meta = gst_buffer_add_gl_sync_meta (glimage_sink->context, next_sync); in prepare_next_buffer()
1728 gst_gl_sync_meta_set_sync_point (sync_meta, glimage_sink->context); in prepare_next_buffer()
1749 glimage_sink->next_sync_meta = sync_meta; in prepare_next_buffer()
1779 GstGLSyncMeta *sync_meta; in gst_glimage_sink_prepare() local
1795 sync_meta = gst_buffer_get_gl_sync_meta (buf); in gst_glimage_sink_prepare()
1796 if (sync_meta) in gst_glimage_sink_prepare()
1797 gst_gl_sync_meta_wait (sync_meta, glimage_sink->context); in gst_glimage_sink_prepare()
Dgstgldownloadelement.c702 GstGLSyncMeta *sync_meta; in gst_gl_buffer_pool_nvmm_alloc() local
704 sync_meta = gst_buffer_add_gl_sync_meta (gl_pool->context, *outbuf); in gst_gl_buffer_pool_nvmm_alloc()
705 if (sync_meta) { in gst_gl_buffer_pool_nvmm_alloc()
706 gst_gl_sync_meta_set_sync_point (sync_meta, gl_pool->context); in gst_gl_buffer_pool_nvmm_alloc()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideodec.c896 _amc_gl_set_sync (GstGLSyncMeta * sync_meta, GstGLContext * context) in _amc_gl_set_sync() argument
1164 _amc_gl_iterate_queue_unlocked (GstGLSyncMeta * sync_meta, gboolean wait) in _amc_gl_iterate_queue_unlocked() argument
1166 struct gl_sync *sync = sync_meta->data; in _amc_gl_iterate_queue_unlocked()
1199 GstGLSyncMeta *sync_meta; member
1206 struct gl_sync *sync = wait->sync_meta->data; in _amc_gl_wait_gl()
1209 wait->ret = _amc_gl_iterate_queue_unlocked (wait->sync_meta, TRUE); in _amc_gl_wait_gl()
1214 _amc_gl_wait (GstGLSyncMeta * sync_meta, GstGLContext * context) in _amc_gl_wait() argument
1216 struct gl_sync *sync = sync_meta->data; in _amc_gl_wait()
1219 wait.sync_meta = sync_meta; in _amc_gl_wait()
1256 _amc_gl_render_on_free (GstGLContext * context, GstGLSyncMeta * sync_meta) in _amc_gl_render_on_free() argument
[all …]
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstglwidget.c348 GstGLSyncMeta *sync_meta; in gtk_gst_gl_widget_render() local
363 sync_meta = gst_buffer_get_gl_sync_meta (buffer); in gtk_gst_gl_widget_render()
364 if (sync_meta) { in gtk_gst_gl_widget_render()
366 gst_gl_sync_meta_set_sync_point (sync_meta, priv->context); in gtk_gst_gl_widget_render()
367 gst_gl_sync_meta_wait (sync_meta, priv->other_context); in gtk_gst_gl_widget_render()
/third_party/gstreamer/gstplugins_bad/
DChangeLog25230 9b9e39be248389370e80b429da5a528418733483: amc: Fix crash when a sync_meta survives its sink
36129 amc: Fix crash when a sync_meta survives its sink
83482 Solved by moving the release_output_buffer into the sync_meta the is pushed
83598 gstglimagesink.c:1959:18: error: unused variable 'sync_meta' [-Werror=unused-variable]
83599 GstGLSyncMeta *sync_meta = NULL;
/third_party/gstreamer/gstplugins_base/
DChangeLog28047 gstglimagesink.c:1959:18: error: unused variable 'sync_meta' [-Werror=unused-variable]
28048 GstGLSyncMeta *sync_meta = NULL;