cudadownload: Passthrough in case of CUDA -> SYSTEM
authorSeungha Yang <seungha@centricular.com>
Thu, 30 Jun 2022 08:47:05 +0000 (17:47 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 30 Jun 2022 10:45:45 +0000 (10:45 +0000)
commitd9f08e17f12e5d265685c425c59c5c04a71a464c
tree020dfac38823d815b1e075bba3f08a98aae84b90
parenta54eddad3acdcb8340268f6a6f172da3ecf1cd9e
cudadownload: Passthrough in case of CUDA -> SYSTEM

GstCudaMemory supports CPU access via CUDA pinned host memory already
and it would show faster memory transfer performance between
GPU and CPU than copying from/to normal system memory.
If downstream supports video meta, we can passthrough CUDA memory.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2690>
subprojects/gst-plugins-bad/sys/nvcodec/gstcudamemorycopy.c