Searched refs:cuda_stream (Results 1 – 10 of 10) sorted by relevance
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | cuda-converter.c | 750 CUstream cuda_stream); 911 CUstream cuda_stream) in gst_cuda_converter_frame() argument 924 src, in_info, dst, out_info, cuda_stream); in gst_cuda_converter_frame() 946 GstVideoInfo * out_info, CUstream cuda_stream) in gst_cuda_converter_frame_unlocked() argument 954 return convert->convert (convert, src, in_info, dst, out_info, cuda_stream); in gst_cuda_converter_frame_unlocked() 989 CUfilter_mode mode, CUstream cuda_stream) in convert_create_texture_unchecked() argument 1010 gst_cuda_result (CuStreamSynchronize (cuda_stream)); in convert_create_texture_unchecked() 1024 GstVideoInfo * info, guint plane, CUstream cuda_stream) in convert_create_texture() argument 1064 cuda_ret = CuMemcpy2DAsync (©_params, cuda_stream); in convert_create_texture() 1084 cuda_stream); in convert_create_texture() [all …]
|
D | gstcudabasefilter.c | 238 if (!gst_cuda_result (CuMemcpy2DAsync (¶m, btrans->cuda_stream))) { in gst_cuda_base_filter_transform_frame() 246 gst_cuda_result (CuStreamSynchronize (btrans->cuda_stream)); in gst_cuda_base_filter_transform_frame() 276 out_mem, &btrans->out_info, btrans->cuda_stream); in gst_cuda_base_filter_transform_frame() 308 if (!gst_cuda_result (CuMemcpy2DAsync (¶m, btrans->cuda_stream))) { in gst_cuda_base_filter_transform_frame() 316 gst_cuda_result (CuStreamSynchronize (btrans->cuda_stream)); in gst_cuda_base_filter_transform_frame()
|
D | cuda-converter.h | 46 CUstream cuda_stream); 53 CUstream cuda_stream);
|
D | gstcudabasetransform.c | 198 cuda_ret = CuStreamCreate (&filter->cuda_stream, CU_STREAM_DEFAULT); in gst_cuda_base_transform_start() 202 filter->cuda_stream = NULL; in gst_cuda_base_transform_start() 215 if (filter->context && filter->cuda_stream) { in gst_cuda_base_transform_stop() 217 gst_cuda_result (CuStreamDestroy (filter->cuda_stream)); in gst_cuda_base_transform_stop() 223 filter->cuda_stream = NULL; in gst_cuda_base_transform_stop() 419 if (!gst_cuda_result (CuMemcpy2DAsync (¶m, filter->cuda_stream))) { in gst_cuda_base_transform_transform_frame_default() 428 CuStreamSynchronize (filter->cuda_stream); in gst_cuda_base_transform_transform_frame_default()
|
D | gstnvdecoder.c | 82 CUstream cuda_stream; member 127 if (self->context && self->cuda_stream) { in gst_nv_decoder_dispose() 129 gst_cuda_result (CuStreamDestroy (self->cuda_stream)); in gst_nv_decoder_dispose() 131 self->cuda_stream = NULL; in gst_nv_decoder_dispose() 217 cuda_ret = CuStreamCreate (&self->cuda_stream, CU_STREAM_DEFAULT); in gst_nv_decoder_new() 221 self->cuda_stream = NULL; in gst_nv_decoder_new() 717 if (!gst_cuda_result (CuMemcpy2DAsync (©_params, decoder->cuda_stream))) { in gst_nv_decoder_copy_frame_to_system() 723 gst_cuda_result (CuStreamSynchronize (decoder->cuda_stream)); in gst_nv_decoder_copy_frame_to_system() 787 if (!gst_cuda_result (CuMemcpy2DAsync (©_params, decoder->cuda_stream))) { in gst_nv_decoder_copy_frame_to_cuda() 793 gst_cuda_result (CuStreamSynchronize (decoder->cuda_stream)); in gst_nv_decoder_copy_frame_to_cuda()
|
D | gstnvdec.c | 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() [all …]
|
D | gstcudabasetransform.h | 51 CUstream cuda_stream; member
|
D | gstnvdec.h | 87 CUstream cuda_stream; member
|
D | gstnvbaseenc.c | 483 cuda_ret = CuStreamCreate (&nvenc->cuda_stream, CU_STREAM_DEFAULT); in gst_nv_base_enc_open() 487 nvenc->cuda_stream = NULL; in gst_nv_base_enc_open() 997 if (nvenc->cuda_ctx && nvenc->cuda_stream) { in gst_nv_base_enc_close() 999 gst_cuda_result (CuStreamDestroy (nvenc->cuda_stream)); in gst_nv_base_enc_close() 1005 nvenc->cuda_stream = NULL; in gst_nv_base_enc_close() 2170 gst_cuda_graphics_resource_map (resources[i], nvenc->cuda_stream, in _map_gl_input_buffer() 2208 cuda_ret = CuMemcpy2DAsync (¶m, nvenc->cuda_stream); in _map_gl_input_buffer() 2215 gst_cuda_graphics_resource_unmap (resources[i], nvenc->cuda_stream); in _map_gl_input_buffer() 2219 gst_cuda_result (CuStreamSynchronize (nvenc->cuda_stream)); in _map_gl_input_buffer() 2266 cuda_ret = CuMemcpy2DAsync (¶m, nvenc->cuda_stream); in gst_nv_base_enc_upload_frame() [all …]
|
D | gstnvbaseenc.h | 113 CUstream cuda_stream; member
|