Rendering a new egl stream using a cuda kernel?

I am looking into the Jetson_multimedia_api samples, both the argus ones and the regular.

I am slowly starting to get the hang of EGL streams, by examining the examples.

I am on the lookout EGL example of creating a stream based on two image streams using a cuda kernel. Essentially I want to use a cuda kernel as a rudimentary “shader”, so I need to know how I map memory and such.

Kind regards


For this use-case, please check cuda_postprocess() in 12_camera_v4l2_cuda. You can get EGLImage from NvBuffer and call CUDA APIs to get CUDA pointer. And then can access/process the buffers through CUDA programming.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.