nvcodec: cuda buffers support
Compare changes
Files
4- Seungha Yang authored
If each device context can access each other, enable peer access for better interoperability.
+ 134
− 0
@@ -28,6 +28,10 @@
@@ -41,6 +45,8 @@ struct _GstCudaContextPrivate
@@ -52,6 +58,10 @@ static void gst_cuda_context_get_property (GObject * object, guint prop_id,
@@ -80,6 +90,7 @@ gst_cuda_context_init (GstCudaContext * context)
@@ -131,6 +142,7 @@ gst_cuda_context_constructed (GObject * object)
@@ -183,6 +195,101 @@ gst_cuda_context_constructed (GObject * object)
@@ -274,3 +381,30 @@ gst_cuda_context_get_handle (GstCudaContext * ctx)