Home
last modified time | relevance | path

Searched refs:cuda_mem (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdec.c1268 GstCudaMemory *cuda_mem = NULL; in gst_nvdec_copy_device_to_memory() local
1286 cuda_mem = cmem; in gst_nvdec_copy_device_to_memory()
1290 if (!cuda_mem) { in gst_nvdec_copy_device_to_memory()
1313 cuda_mem ? CU_MEMORYTYPE_DEVICE : CU_MEMORYTYPE_HOST; in gst_nvdec_copy_device_to_memory()
1317 if (cuda_mem) { in gst_nvdec_copy_device_to_memory()
1318 copy_params.dstDevice = cuda_mem->data + cuda_mem->offset[i]; in gst_nvdec_copy_device_to_memory()
1319 copy_params.dstPitch = cuda_mem->stride; in gst_nvdec_copy_device_to_memory()
1331 if (!cuda_mem) in gst_nvdec_copy_device_to_memory()
1340 if (!cuda_mem) in gst_nvdec_copy_device_to_memory()
Dgstnvdecoder.c743 GstCudaMemory *cuda_mem = NULL; in gst_nv_decoder_copy_frame_to_cuda() local
760 cuda_mem = cmem; in gst_nv_decoder_copy_frame_to_cuda()
764 if (!cuda_mem) { in gst_nv_decoder_copy_frame_to_cuda()
781 copy_params.dstDevice = cuda_mem->data + cuda_mem->offset[i]; in gst_nv_decoder_copy_frame_to_cuda()
782 copy_params.dstPitch = cuda_mem->stride; in gst_nv_decoder_copy_frame_to_cuda()
Dgstnvbaseenc.c2234 GstCudaMemory *cuda_mem = NULL; in gst_nv_base_enc_upload_frame() local
2242 cuda_mem = (GstCudaMemory *) gst_buffer_peek_memory (frame->buffer, 0); in gst_nv_base_enc_upload_frame()
2252 param.srcDevice = cuda_mem->data + cuda_mem->offset[i]; in gst_nv_base_enc_upload_frame()
2253 param.srcPitch = cuda_mem->stride; in gst_nv_base_enc_upload_frame()