Can deepstream source load data from gpu?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
RTX6000
• DeepStream Version
6.0
• TensorRT Version
8.0
• NVIDIA GPU Driver Version (valid for GPU only)
470
• Issue Type( questions, new requirements, bugs)
questions
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I cannot directly load data from gpu, and use it on deepstream.

Is there any API, which could be called to solve this ?

Can you share your use case? Suppose appsrc can accept any source and then process it in the pipeline.

I want to display something on gpu directly rather than copy it to cpu.
eg.
I use opencv to read a mp4 file, and upload it to gpu.
‘’’’’’’’’’’’’’’’’’’’’’’
Mat frame;
cap >> frame;
cv::cuda::GpuMat test;
test.upload(frame);
‘’’’’’’’’’’’’’’’’’’’’’’
How can I push the frames to pipeline?