GstCuda.CudaMemoryPool¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
context |
r/w |
||
parent |
r/w |
Methods¶
class |
|
|
|
|
|
|
Details¶
- class GstCuda.CudaMemoryPool¶
New in version 1.26.
- classmethod new(context, props)¶
- Parameters:
context (
GstCuda.CudaContext
) – aGstCuda.CudaContext
props (
CudaGst.memPoolProps
orNone
) – aCudaGst.memPoolProps
- Returns:
a new
GstCuda.CudaMemoryPool
orNone
on failure- Return type:
Creates a new
GstCuda.CudaMemoryPool
with props. If props isNone
, non-exportable pool property will be used.New in version 1.26.
- get_handle()¶
- Returns:
a CUmemoryPool handle
- Return type:
Get CUDA memory pool handle
New in version 1.26.
- ref()¶
- Returns:
self
- Return type:
Increase the reference count of self.
New in version 1.26.
- unref()¶
Decrease the reference count of self.
New in version 1.26.