Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2481>
* * Add more interpolation method and make it selectable,
* currently default bi-linear interpolation only
* * Add fast-path for conversion like videoconvert
- * * Full colorimetiry and chroma-siting support
+ * * Full colorimetry and chroma-siting support
* * cropping, and x, y position support
*/
/**
* read_chroma:
* @tex1: a CUDA texture object representing a chroma planar plane
- * @tex2: a CUDA texture object representing the orher planar plane
+ * @tex2: a CUDA texture object representing the other planar plane
* @x: the x coordinate to read data from @tex1 and @tex2
* @y: the y coordinate to read data from @tex1 and @tex2
*
* @dst2: dummy
* @u: a pixel value to write @dst1
* @v: a pixel value to write @dst1
- * @x: the x coordinate to wrtie data into @tex1
- * @x: the y coordinate to wrtie data into @tex1
+ * @x: the x coordinate to write data into @tex1
+ * @x: the y coordinate to write data into @tex1
* @pstride: the pixel stride of @dst1
* @mask: bitmask to be applied to high bitdepth plane
*
* @dst2: a CUDA global memory pointing to a the other planar chroma plane
* @u: a pixel value to write @dst1
* @v: a pixel value to write @dst1
- * @x: the x coordinate to wrtie data into @tex1
- * @x: the y coordinate to wrtie data into @tex1
+ * @x: the x coordinate to write data into @tex1
+ * @x: the y coordinate to write data into @tex1
* @pstride: the pixel stride of @dst1
* @mask: bitmask to be applied to high bitdepth plane
*
* PAL 1 3 2 6 4 6 7 8 9 0 10
* GRAY 1 4 3 2 1 5 6 7 8 9 0
*
- * PAL or GRAY are never prefered, if we can we would convert to PAL instead
+ * PAL or GRAY are never preferred, if we can we would convert to PAL instead
* of GRAY, though
- * less subsampling is prefered and if any, preferably horizontal
+ * less subsampling is preferred and if any, preferably horizontal
* We would like to keep the alpha, even if we would need to to colorspace conversion
* or lose depth.
*/
}
resource->nv_resource.version =
- gst_nvenc_get_registure_resource_version ();
+ gst_nvenc_get_register_resource_version ();
resource->nv_resource.resourceType =
NV_ENC_INPUT_RESOURCE_TYPE_CUDADEVICEPTR;
resource->nv_resource.width = input_width;
gl_buf_obj = gl_mem->pbo;
GST_LOG_OBJECT (nvenc,
- "registure glbuffer %d to CUDA resource", gl_buf_obj->id);
+ "register glbuffer %d to CUDA resource", gl_buf_obj->id);
if (gst_cuda_graphics_resource_register_gl_buffer (resource,
gl_buf_obj->id, CU_GRAPHICS_REGISTER_FLAGS_NONE)) {
gst_buffer_replace (&nvdec->codec_data, codec_data);
}
- /* For all CODEC we get completre picture ... */
+ /* For all CODEC we get complete picture ... */
nvdec->recv_complete_picture = TRUE;
/* Except for JPEG, for which it depends on the caps */
}
if (!gst_cuda_context_push (decoder->context)) {
- GST_ERROR_OBJECT (decoder, "Failed to pust CUDA context");
+ GST_ERROR_OBJECT (decoder, "Failed to push CUDA context");
gst_video_frame_unmap (&video_frame);
return FALSE;
}
}
if (!gst_cuda_context_push (decoder->context)) {
- GST_ERROR_OBJECT (decoder, "Failed to pust CUDA context");
+ GST_ERROR_OBJECT (decoder, "Failed to push CUDA context");
return FALSE;
}
}
guint32
-gst_nvenc_get_registure_resource_version (void)
+gst_nvenc_get_register_resource_version (void)
{
/* NV_ENC_REGISTER_RESOURCE_VER == NVENCAPI_STRUCT_VERSION(3) */
return GST_NVENCAPI_STRUCT_VERSION (3, gst_nvenc_api_version);
guint32 gst_nvenc_get_map_input_resource_version (void);
-guint32 gst_nvenc_get_registure_resource_version (void);
+guint32 gst_nvenc_get_register_resource_version (void);
guint32 gst_nvenc_get_stat_version (void);