GstCuda.CudaStream

Fields

Name

Type

Access

Description

context

GstCuda.CudaContext

r/w

parent

Gst.MiniObject

r/w

Methods

class

new (context)

get_handle ()

ref ()

unref ()

Details

class GstCuda.CudaStream

New in version 1.24.

classmethod new(context)
Parameters:

context (GstCuda.CudaContext) – a GstCuda.CudaContext

Returns:

a new GstCuda.CudaStream or None on failure

Return type:

GstCuda.CudaStream or None

Creates a new GstCuda.CudaStream

New in version 1.24.

get_handle()
Returns:

a CUstream handle of self or None if self is None

Return type:

object

Get CUDA stream handle

New in version 1.24.

ref()
Returns:

self

Return type:

GstCuda.CudaStream

Increase the reference count of self.

New in version 1.24.

unref()

Decrease the reference count of self.

New in version 1.24.