Lines Matching refs:cuda_stream
894 cuda_ret = CuStreamCreate (&nvdec->cuda_stream, CU_STREAM_DEFAULT); in gst_nvdec_open()
898 nvdec->cuda_stream = NULL; in gst_nvdec_open()
1026 if (nvdec->cuda_ctx && nvdec->cuda_stream) { in gst_nvdec_close()
1028 gst_cuda_result (CuStreamDestroy (nvdec->cuda_stream)); in gst_nvdec_close()
1034 nvdec->cuda_stream = NULL; in gst_nvdec_close()
1194 gst_cuda_graphics_resource_map (resources[i], nvdec->cuda_stream, in copy_video_frame_to_gl_textures()
1218 if (!gst_cuda_result (CuMemcpy2DAsync (&mcpy2d, nvdec->cuda_stream))) { in copy_video_frame_to_gl_textures()
1224 gst_cuda_result (CuStreamSynchronize (nvdec->cuda_stream)); in copy_video_frame_to_gl_textures()
1228 gst_cuda_graphics_resource_unmap (resources[i], nvdec->cuda_stream); in copy_video_frame_to_gl_textures()
1328 if (!gst_cuda_result (CuMemcpy2DAsync (©_params, nvdec->cuda_stream))) { in gst_nvdec_copy_device_to_memory()
1338 gst_cuda_result (CuStreamSynchronize (nvdec->cuda_stream)); in gst_nvdec_copy_device_to_memory()