• Home
  • Raw
  • Download

Lines Matching refs:copy_params

584   CUDA_MEMCPY2D copy_params = { 0, };  in gst_nv_decoder_copy_frame_to_gl_internal()  local
614 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_gl_internal()
615 copy_params.srcPitch = frame->pitch; in gst_nv_decoder_copy_frame_to_gl_internal()
616 copy_params.dstMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_gl_internal()
638 copy_params.dstPitch = GST_VIDEO_INFO_PLANE_STRIDE (info, i); in gst_nv_decoder_copy_frame_to_gl_internal()
639 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (info, i) in gst_nv_decoder_copy_frame_to_gl_internal()
642 copy_params.srcDevice = frame->devptr + in gst_nv_decoder_copy_frame_to_gl_internal()
644 copy_params.dstDevice = dst_ptr; in gst_nv_decoder_copy_frame_to_gl_internal()
645 copy_params.Height = GST_VIDEO_INFO_COMP_HEIGHT (info, i); in gst_nv_decoder_copy_frame_to_gl_internal()
647 if (!gst_cuda_result (CuMemcpy2DAsync (&copy_params, NULL))) { in gst_nv_decoder_copy_frame_to_gl_internal()
688 CUDA_MEMCPY2D copy_params = { 0, }; in gst_nv_decoder_copy_frame_to_system() local
704 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_system()
705 copy_params.srcPitch = frame->pitch; in gst_nv_decoder_copy_frame_to_system()
706 copy_params.dstMemoryType = CU_MEMORYTYPE_HOST; in gst_nv_decoder_copy_frame_to_system()
707 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (&decoder->info, 0) in gst_nv_decoder_copy_frame_to_system()
711 copy_params.srcDevice = frame->devptr + in gst_nv_decoder_copy_frame_to_system()
713 copy_params.dstHost = GST_VIDEO_FRAME_PLANE_DATA (&video_frame, i); in gst_nv_decoder_copy_frame_to_system()
714 copy_params.dstPitch = GST_VIDEO_FRAME_PLANE_STRIDE (&video_frame, i); in gst_nv_decoder_copy_frame_to_system()
715 copy_params.Height = GST_VIDEO_FRAME_COMP_HEIGHT (&video_frame, i); in gst_nv_decoder_copy_frame_to_system()
717 if (!gst_cuda_result (CuMemcpy2DAsync (&copy_params, decoder->cuda_stream))) { in gst_nv_decoder_copy_frame_to_system()
741 CUDA_MEMCPY2D copy_params = { 0, }; in gst_nv_decoder_copy_frame_to_cuda() local
774 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_cuda()
775 copy_params.srcPitch = frame->pitch; in gst_nv_decoder_copy_frame_to_cuda()
776 copy_params.dstMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_cuda()
779 copy_params.srcDevice = frame->devptr + 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()
783 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (&decoder->info, 0) in gst_nv_decoder_copy_frame_to_cuda()
785 copy_params.Height = GST_VIDEO_INFO_COMP_HEIGHT (&decoder->info, i); in gst_nv_decoder_copy_frame_to_cuda()
787 if (!gst_cuda_result (CuMemcpy2DAsync (&copy_params, decoder->cuda_stream))) { in gst_nv_decoder_copy_frame_to_cuda()