cuda.bindings._v2.driver.egl_stream_consumer_connect_with_flags#

cuda.bindings._v2.driver.egl_stream_consumer_connect_with_flags(
intptr_t stream,
unsigned int flags,
) → intptr_t#

Connect CUDA to EGLStream as a consumer with given flags.

Connect CUDA as a consumer to EGLStreamKHR specified by stream with specified flags defined by CUeglResourceLocationFlags. The flags specify whether the consumer wants to access frames from system memory or video memory. Default is CU_EGL_RESOURCE_LOCATION_VIDMEM.

Parameters:
  • stream (intptr_t) – EGLStreamKHR handle.

  • flags (unsigned int) – Flags denote intended location - system or video.

Returns:

Pointer to the returned connection handle.

Return type:

intptr_t

See also

cuEGLStreamConsumerConnectWithFlags