Searched refs:ctxh (Results 1 – 5 of 5) sorted by relevance
23 _find_local_gl_context (GstGLContextHelper * ctxh) in _find_local_gl_context() argument27 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() local37 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() argument45 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 …]
218 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 …]
35 void gst_gl_context_helper_free (GstGLContextHelper *ctxh);36 void gst_gl_context_helper_ensure_context (GstGLContextHelper *ctxh);
55 GstGLContextHelper *ctxh; member
199 GstGLContextHelper *ctxh; field321 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);