Home
last modified time | relevance | path

Searched refs:cgr_info (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdec.c117 GstCudaGraphicsResource *cgr_info; in ensure_cuda_graphics_resource() local
128 cgr_info = gst_mini_object_get_qdata (GST_MINI_OBJECT (mem), quark); in ensure_cuda_graphics_resource()
129 if (!cgr_info) { in ensure_cuda_graphics_resource()
130 cgr_info = gst_cuda_graphics_resource_new (nvdec->cuda_ctx, in ensure_cuda_graphics_resource()
134 data.resource = cgr_info; in ensure_cuda_graphics_resource()
136 gst_gl_context_thread_add ((GstGLContext *) cgr_info->graphics_context, in ensure_cuda_graphics_resource()
140 gst_cuda_graphics_resource_free (cgr_info); in ensure_cuda_graphics_resource()
145 gst_mini_object_set_qdata (GST_MINI_OBJECT (mem), quark, cgr_info, in ensure_cuda_graphics_resource()
149 return cgr_info; in ensure_cuda_graphics_resource()
Dgstnvbaseenc.c2074 GstCudaGraphicsResource *cgr_info; in ensure_cuda_graphics_resource() local
2085 cgr_info = gst_mini_object_get_qdata (GST_MINI_OBJECT (mem), quark); in ensure_cuda_graphics_resource()
2086 if (!cgr_info) { in ensure_cuda_graphics_resource()
2087 cgr_info = gst_cuda_graphics_resource_new (nvenc->cuda_ctx, in ensure_cuda_graphics_resource()
2091 data.resource = cgr_info; in ensure_cuda_graphics_resource()
2093 gst_gl_context_thread_add ((GstGLContext *) cgr_info->graphics_context, in ensure_cuda_graphics_resource()
2097 gst_cuda_graphics_resource_free (cgr_info); in ensure_cuda_graphics_resource()
2102 gst_mini_object_set_qdata (GST_MINI_OBJECT (mem), quark, cgr_info, in ensure_cuda_graphics_resource()
2106 return cgr_info; in ensure_cuda_graphics_resource()