Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1472>
}
const gchar *
-gst_cuda_buffery_copy_type_to_string (GstCudaBufferCopyType type)
+gst_cuda_buffer_copy_type_to_string (GstCudaBufferCopyType type)
{
switch (type) {
case GST_CUDA_BUFFER_COPY_SYSTEM:
cuda_context = GST_CUDA_MEMORY_CAST (dst_mem)->context;
GST_TRACE_OBJECT (context, "GL -> %s",
- gst_cuda_buffery_copy_type_to_string (dst_type));
+ gst_cuda_buffer_copy_type_to_string (dst_type));
return cuda_copy_gl_interop (dst, dst_info, src, src_info, gl_context,
cuda_context, stream, TRUE, dst_type);
cuda_context = GST_CUDA_MEMORY_CAST (src_mem)->context;
GST_TRACE_OBJECT (context, "%s -> GL",
- gst_cuda_buffery_copy_type_to_string (src_type));
+ gst_cuda_buffer_copy_type_to_string (src_type));
return cuda_copy_gl_interop (dst, dst_info, src, src_info, gl_context,
cuda_context, stream, FALSE, src_type);
}
GST_TRACE_OBJECT (context, "%s -> %s",
- gst_cuda_buffery_copy_type_to_string (src_type),
- gst_cuda_buffery_copy_type_to_string (dst_type));
+ gst_cuda_buffer_copy_type_to_string (src_type),
+ gst_cuda_buffer_copy_type_to_string (dst_type));
return gst_cuda_buffer_copy_internal (dst, dst_type, dst_info,
src, src_type, src_info, cuda_context, stream);
} GstCudaBufferCopyType;
/**
- * gst_cuda_buffery_copy_type_to_string:
+ * gst_cuda_buffer_copy_type_to_string:
* @type: The #GstCudaBufferCopyType to get name from
*
* Returns: The human readable name of @type
* Since: 1.22
*/
GST_CUDA_API
-const gchar * gst_cuda_buffery_copy_type_to_string (GstCudaBufferCopyType type);
+const gchar * gst_cuda_buffer_copy_type_to_string (GstCudaBufferCopyType type);
/**
* gst_cuda_buffer_copy:
GST_LOG_OBJECT (self,
"Copy %s -> %s failed, checking whether fallback is possible",
- gst_cuda_buffery_copy_type_to_string (in_type),
- gst_cuda_buffery_copy_type_to_string (out_type));
+ gst_cuda_buffer_copy_type_to_string (in_type),
+ gst_cuda_buffer_copy_type_to_string (out_type));
switch (in_type) {
case GST_CUDA_BUFFER_COPY_GL:
if (in_type == fallback_in_type && out_type == fallback_out_type) {
GST_ERROR_OBJECT (self, "Failed to copy %s -> %s",
- gst_cuda_buffery_copy_type_to_string (in_type),
- gst_cuda_buffery_copy_type_to_string (out_type));
+ gst_cuda_buffer_copy_type_to_string (in_type),
+ gst_cuda_buffer_copy_type_to_string (out_type));
return GST_FLOW_ERROR;
}
GST_LOG_OBJECT (self, "Trying %s -> %s fallback",
- gst_cuda_buffery_copy_type_to_string (fallback_in_type),
- gst_cuda_buffery_copy_type_to_string (fallback_out_type));
+ gst_cuda_buffer_copy_type_to_string (fallback_in_type),
+ gst_cuda_buffer_copy_type_to_string (fallback_out_type));
ret = gst_cuda_buffer_copy (outbuf, fallback_out_type, out_info, inbuf,
fallback_in_type, in_info, ctrans->context, ctrans->cuda_stream);
return GST_FLOW_OK;
GST_ERROR_OBJECT (self, "Failed to copy %s -> %s",
- gst_cuda_buffery_copy_type_to_string (in_type),
- gst_cuda_buffery_copy_type_to_string (out_type));
+ gst_cuda_buffer_copy_type_to_string (in_type),
+ gst_cuda_buffer_copy_type_to_string (out_type));
return GST_FLOW_ERROR;
}