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,
Connect CUDA to EGLStream as a consumer with given flags.
Connect CUDA as a consumer to
EGLStreamKHRspecified bystreamwith specifiedflagsdefined byCUeglResourceLocationFlags. The flags specify whether the consumer wants to access frames from system memory or video memory. Default isCU_EGL_RESOURCE_LOCATION_VIDMEM.- Parameters:
stream (intptr_t) –
EGLStreamKHRhandle.flags (unsigned int) – Flags denote intended location - system or video.
- Returns:
Pointer to the returned connection handle.
- Return type:
intptr_t
See also
cuEGLStreamConsumerConnectWithFlags