Lines Matching refs:gl_mem
2048 GstGLMemoryPBO *gl_mem = (GstGLMemoryPBO *) data->mem; in register_cuda_resource() local
2049 gl_buf_obj = gl_mem->pbo; in register_cuda_resource()
2150 GstGLMemoryPBO *gl_mem; in _map_gl_input_buffer() local
2156 gl_mem = (GstGLMemoryPBO *) gst_buffer_peek_memory (data->buffer, i); in _map_gl_input_buffer()
2157 g_return_if_fail (gst_is_gl_memory_pbo ((GstMemory *) gl_mem)); in _map_gl_input_buffer()
2159 gl_buf_obj = (GstGLBuffer *) gl_mem->pbo; in _map_gl_input_buffer()
2163 gst_gl_memory_pbo_upload_transfer (gl_mem); in _map_gl_input_buffer()
2164 gst_gl_memory_pbo_download_transfer (gl_mem); in _map_gl_input_buffer()
2167 gl_mem->mem.tex_id); in _map_gl_input_buffer()
2175 gl_mem->mem.tex_id); in _map_gl_input_buffer()
2185 "texture %u in cuda ret :%d", gl_mem->mem.tex_id, cuda_ret); in _map_gl_input_buffer()
2211 "ret :%d", gl_mem->mem.tex_id, cuda_ret); in _map_gl_input_buffer()
2485 GstGLMemory *gl_mem; in gst_nv_base_enc_handle_frame() local
2488 gl_mem = (GstGLMemory *) gst_buffer_peek_memory (frame->input_buffer, 0); in gst_nv_base_enc_handle_frame()
2489 g_assert (gst_is_gl_memory ((GstMemory *) gl_mem)); in gst_nv_base_enc_handle_frame()
2496 gst_gl_context_thread_add (gl_mem->mem.context, in gst_nv_base_enc_handle_frame()