cuda.bindings._v2.driver.egl_stream_producer_connect#

cuda.bindings._v2.driver.egl_stream_producer_connect(
intptr_t stream,
unsigned int width,
unsigned int height,
) → intptr_t#

Connect CUDA to EGLStream as a producer.

Connect CUDA as a producer to EGLStreamKHR specified by stream. The EGLStreamKHR is an EGL object that transfers a sequence of image frames from one API to another.

Parameters:
  • stream (intptr_t) – EGLStreamKHR handle.

  • width (unsigned int) – width of the image to be submitted to the stream.

  • height (unsigned int) – height of the image to be submitted to the stream.

Returns:

Pointer to the returned connection handle.

Return type:

intptr_t

See also

cuEGLStreamProducerConnect