cuda: Add a `gst_cuda_context_new_wrapped` constructor
authorThibault Saunier <tsaunier@igalia.com>
Sun, 12 Dec 2021 13:19:52 +0000 (13:19 +0000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Apr 2022 16:39:43 +0000 (16:39 +0000)
commit86dcfc29dc2657db1fc355d151b759425905fb31
treedecd42acdb38b0f4e1d1a72f21515247e2fec9c3
parentc033f8fad2fd8e7ac9232f43bf11811fd3b2c4bb
cuda: Add a `gst_cuda_context_new_wrapped` constructor

So that application or people implementing cuda element from
outside GStreamer itself can ensure that their contexts are used
by GStreamer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1472>
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.h
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h