gstreamer/subprojects/gst-plugins-bad/sys/nvcodec
Seungha Yang 9914ff9b4c nvdec: Don't use default CUDA stream
NVDEC launches CUDA kernel function (ConvertNV12BLtoNV12 or so)
when CuvidMapVideoFrame() is called. Which seems to be
NVDEC's internal post-processing kernel function, maybe
to convert tiled YUV to linear YUV format or something similar.

A problem if we don't pass CUDA stream to the CuvidMapVideoFrame()
call is that the NVDEC's internel kernel function will use default CUDA stream.
Then lots of the other CUDA API calls will be blocked/serialized.

To avoid the unnecessary blocking, we should pass our own
CUDA stream object to the CuvidMapVideoFrame() call

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3605>
2022-12-19 20:27:35 +00:00
..
cuviddec.h nvcodec: Bump SDK header version to 11.1 2022-05-03 23:56:34 +09:00
gstcudabasetransform.c cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstcudabasetransform.h cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstcudaconverter.c cuda: Rewrite colorspace/rescale object 2022-11-15 16:25:44 +00:00
gstcudaconverter.h cuda: Rewrite colorspace/rescale object 2022-11-15 16:25:44 +00:00
gstcudaconvertscale.c cudaconvertscale, cudascale: Add "add-borders" property and support 8bits RGB planar formats 2022-11-15 16:25:44 +00:00
gstcudaconvertscale.h cudaconvert, cudascale: Port to GstCudaBaseCovert baseclass 2022-11-15 16:25:44 +00:00
gstcudafilter.c cudaconvert, cudascale: Port to GstCudaBaseCovert baseclass 2022-11-15 16:25:44 +00:00
gstcudafilter.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstcudaformat.h cudaupload,cudadownload: Add support for planar 8bits RGB formats 2022-11-15 16:25:44 +00:00
gstcudamemorycopy.c cuda: Hide memory copy util function 2022-12-08 19:52:23 +00:00
gstcudamemorycopy.h nvcodec: Refactor cudaupload/download and add support for GL memory 2022-03-06 15:39:04 +00:00
gstcudanvmm.c cudaupload,cudadownload: Add support for dGPU NVMM 2022-03-07 19:05:29 +00:00
gstcudanvmm.h cudaupload,cudadownload: Add support for dGPU NVMM 2022-03-07 19:05:29 +00:00
gstcuvidloader.c nvcodec: Indent update 2022-03-06 15:39:04 +00:00
gstcuvidloader.h cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstnvav1dec.c nvdecoder: Handle input caps change 2022-11-16 13:12:38 +00:00
gstnvav1dec.h nvcodec: Add AV1 decoder 2022-05-04 01:23:25 +09:00
gstnvbaseenc.c cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstnvbaseenc.h cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstnvdec.c nvdec: Don't use default CUDA stream 2022-12-19 20:27:35 +00:00
gstnvdec.h cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstnvdecoder.c nvdec: Don't use default CUDA stream 2022-12-19 20:27:35 +00:00
gstnvdecoder.h nvdecoder: Handle input caps change 2022-11-16 13:12:38 +00:00
gstnvenc.c cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstnvenc.h cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00
gstnvencoder.cpp nvcodec: Update for documentation 2022-10-24 12:42:51 +00:00
gstnvencoder.h nvencoder: Add support for dynamic GPU device selection 2022-06-30 12:38:08 +00:00
gstnvh264dec.c nvdecoder: Handle input caps change 2022-11-16 13:12:38 +00:00
gstnvh264dec.h nvcodec: Add cuda-device-id read-only property to stateless decoders 2022-06-30 01:54:17 +09:00
gstnvh264enc.c nvh264enc: add constrained-baseline to the caps profiles 2021-10-21 09:06:08 +00:00
gstnvh264enc.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstnvh264encoder.cpp nvcodec: Update for documentation 2022-10-24 12:42:51 +00:00
gstnvh264encoder.h nvencoder: Add support for dynamic GPU device selection 2022-06-30 12:38:08 +00:00
gstnvh265dec.c nvdecoder: Handle input caps change 2022-11-16 13:12:38 +00:00
gstnvh265dec.h nvcodec: Add cuda-device-id read-only property to stateless decoders 2022-06-30 01:54:17 +09:00
gstnvh265enc.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstnvh265enc.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstnvh265encoder.cpp nvcodec: Update for documentation 2022-10-24 12:42:51 +00:00
gstnvh265encoder.h nvencoder: Add support for dynamic GPU device selection 2022-06-30 12:38:08 +00:00
gstnvvp8dec.c nvdecoder: Handle input caps change 2022-11-16 13:12:38 +00:00
gstnvvp8dec.h nvcodec: Add cuda-device-id read-only property to stateless decoders 2022-06-30 01:54:17 +09:00
gstnvvp9dec.c nvdecoder: Handle input caps change 2022-11-16 13:12:38 +00:00
gstnvvp9dec.h nvcodec: Add cuda-device-id read-only property to stateless decoders 2022-06-30 01:54:17 +09:00
meson.build cuda: Rewrite colorspace/rescale object 2022-11-15 16:25:44 +00:00
nvcuvid.h nvcodec: Bump SDK header version to 11.1 2022-05-03 23:56:34 +09:00
nvEncodeAPI.h nvcodec: Bump SDK header version to 11.1 2022-05-03 23:56:34 +09:00
plugin.c nvencoder: Add support for dynamic GPU device selection 2022-06-30 12:38:08 +00:00