Home
last modified time | relevance | path

Searched refs:ctxh (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dglcontexthelper.c23 _find_local_gl_context (GstGLContextHelper * ctxh) in _find_local_gl_context() argument
27 gst_gl_query_local_gl_context (GST_ELEMENT (ctxh->element), GST_PAD_SRC, in _find_local_gl_context()
36 GstGLContextHelper *ctxh = g_new0 (GstGLContextHelper, 1); in gst_gl_context_helper_new() local
37 ctxh->element = gst_object_ref (element); in gst_gl_context_helper_new()
39 return ctxh; in gst_gl_context_helper_new()
43 gst_gl_context_helper_free (GstGLContextHelper * ctxh) in gst_gl_context_helper_free() argument
45 g_return_if_fail (ctxh != NULL); in gst_gl_context_helper_free()
47 gst_object_unref (ctxh->element); in gst_gl_context_helper_free()
49 if (ctxh->display) in gst_gl_context_helper_free()
50 gst_object_unref (ctxh->display); in gst_gl_context_helper_free()
[all …]
Dvtdec.c218 if (!vtdec->ctxh) in gst_vtdec_start()
219 vtdec->ctxh = gst_gl_context_helper_new (GST_ELEMENT (decoder)); in gst_vtdec_start()
242 if (vtdec->ctxh) in gst_vtdec_stop()
243 gst_gl_context_helper_free (vtdec->ctxh); in gst_vtdec_stop()
244 vtdec->ctxh = NULL; in gst_vtdec_stop()
457 if (!vtdec->ctxh) in gst_vtdec_negotiate()
458 vtdec->ctxh = gst_gl_context_helper_new (GST_ELEMENT (vtdec)); in gst_vtdec_negotiate()
459 gst_gl_context_helper_ensure_context (vtdec->ctxh); in gst_vtdec_negotiate()
462 vtdec->ctxh->context, cache_gl ? cache_gl->ctx : NULL); in gst_vtdec_negotiate()
464 if (cache_gl && cache_gl->ctx != vtdec->ctxh->context) { in gst_vtdec_negotiate()
[all …]
Dglcontexthelper.h35 void gst_gl_context_helper_free (GstGLContextHelper *ctxh);
36 void gst_gl_context_helper_ensure_context (GstGLContextHelper *ctxh);
Dvtdec.h55 GstGLContextHelper *ctxh; member
Davfvideosrc.m199 GstGLContextHelper *ctxh; field
321 ctxh = gst_gl_context_helper_new (element);
924 if (ctxh)
925 gst_gl_context_helper_free (ctxh);
926 ctxh = NULL;
1114 gst_gl_context_helper_ensure_context (ctxh);
1116 ctxh->context, cache_gl ? cache_gl->ctx : NULL);
1117 if (cache_gl && cache_gl->ctx != ctxh->context) {
1122 textureCache = gst_video_texture_cache_gl_new (ctxh->context);
1134 &ctxh->display, &ctxh->other_context);