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.CudaContextprops (
CudaGst.memPoolPropsorNone) – aCudaGst.memPoolProps
- Returns:
a new
GstCuda.CudaMemoryPoolorNoneon failure- Return type:
Creates a new
GstCuda.CudaMemoryPoolwith 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.