Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdec.c1143 CUDA_MEMCPY2D mcpy2d = { 0, }; in copy_video_frame_to_gl_textures() local
1186 mcpy2d.srcMemoryType = CU_MEMORYTYPE_DEVICE; in copy_video_frame_to_gl_textures()
1187 mcpy2d.srcPitch = pitch; in copy_video_frame_to_gl_textures()
1188 mcpy2d.dstMemoryType = CU_MEMORYTYPE_DEVICE; in copy_video_frame_to_gl_textures()
1210 mcpy2d.dstPitch = GST_VIDEO_INFO_PLANE_STRIDE (info, i); in copy_video_frame_to_gl_textures()
1211 mcpy2d.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (info, i) in copy_video_frame_to_gl_textures()
1214 mcpy2d.srcDevice = dptr + (i * pitch * GST_VIDEO_INFO_HEIGHT (info)); in copy_video_frame_to_gl_textures()
1215 mcpy2d.dstDevice = cuda_ptr; in copy_video_frame_to_gl_textures()
1216 mcpy2d.Height = GST_VIDEO_INFO_COMP_HEIGHT (info, i); in copy_video_frame_to_gl_textures()
1218 if (!gst_cuda_result (CuMemcpy2DAsync (&mcpy2d, nvdec->cuda_stream))) { in copy_video_frame_to_gl_textures()