I’m trying to encode YUV images using CUDA NvEnc.
Here’s my case. I have two processes, one is a game, and the other is a NvEnc encoder. The game is a Vulkan application generating RGBA images in every frame. The game then converts the RGBA image (VkImage) to a YUV image (VkImage, linear format, not optimal).
I want to share the GPU memory the YUV image is mapped to with the other process, which is the NvEnc encoder process. In the NvEnc encoder process, I’d like to map a CUmipmappedArray to the shared VkImage(YUV) to be used as input without copying.
Is this use case supported in Linux at the moment?
Thanks in advance.