Lines Matching refs:copy_params
1261 CUDA_MEMCPY2D copy_params = { 0, }; in gst_nvdec_copy_device_to_memory() local
1310 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nvdec_copy_device_to_memory()
1311 copy_params.srcPitch = pitch; in gst_nvdec_copy_device_to_memory()
1312 copy_params.dstMemoryType = in gst_nvdec_copy_device_to_memory()
1316 copy_params.srcDevice = dptr + (i * pitch * GST_VIDEO_INFO_HEIGHT (info)); 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()
1321 copy_params.dstHost = GST_VIDEO_FRAME_PLANE_DATA (&video_frame, i); in gst_nvdec_copy_device_to_memory()
1322 copy_params.dstPitch = GST_VIDEO_FRAME_PLANE_STRIDE (&video_frame, i); in gst_nvdec_copy_device_to_memory()
1324 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (info, i) in gst_nvdec_copy_device_to_memory()
1326 copy_params.Height = GST_VIDEO_INFO_COMP_HEIGHT (info, i); in gst_nvdec_copy_device_to_memory()
1328 if (!gst_cuda_result (CuMemcpy2DAsync (©_params, nvdec->cuda_stream))) { in gst_nvdec_copy_device_to_memory()