mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
nvcodec: Fix various typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2481>
This commit is contained in:
parent
4ed4a7ed7e
commit
1874206abd
7 changed files with 15 additions and 15 deletions
|
@ -37,7 +37,7 @@
|
|||
* * 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
|
||||
*/
|
||||
|
||||
|
@ -110,7 +110,7 @@ static const gchar READ_CHROMA_FROM_SEMI_PLANAR[] =
|
|||
/**
|
||||
* 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
|
||||
*
|
||||
|
@ -133,8 +133,8 @@ static const gchar READ_CHROMA_FROM_PLANAR[] =
|
|||
* @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
|
||||
*
|
||||
|
@ -160,8 +160,8 @@ static const gchar WRITE_CHROMA_TO_SEMI_PLANAR[] =
|
|||
* @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
|
||||
*
|
||||
|
|
|
@ -114,9 +114,9 @@ gst_cuda_convert_caps_remove_format_info (GstCaps * caps)
|
|||
* 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.
|
||||
*/
|
||||
|
|
|
@ -1908,7 +1908,7 @@ gst_nv_base_enc_set_format (GstVideoEncoder * enc, GstVideoCodecState * state)
|
|||
}
|
||||
|
||||
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;
|
||||
|
@ -2049,7 +2049,7 @@ register_cuda_resource (GstGLContext * context,
|
|||
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)) {
|
||||
|
|
|
@ -1075,7 +1075,7 @@ gst_nvdec_set_format (GstVideoDecoder * decoder, GstVideoCodecState * state)
|
|||
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 */
|
||||
|
|
|
@ -717,7 +717,7 @@ gst_nv_decoder_copy_frame_to_system (GstNvDecoder * decoder,
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -788,7 +788,7 @@ gst_nv_decoder_copy_frame_to_cuda (GstNvDecoder * decoder,
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1091,7 +1091,7 @@ gst_nvenc_get_map_input_resource_version (void)
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
|
@ -76,7 +76,7 @@ guint32 gst_nvenc_get_lock_input_buffer_version (void);
|
|||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue