diff --git a/sys/nvcodec/cuda-converter.c b/sys/nvcodec/cuda-converter.c index 5b81acc29b..614ca0cbd6 100644 --- a/sys/nvcodec/cuda-converter.c +++ b/sys/nvcodec/cuda-converter.c @@ -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 * diff --git a/sys/nvcodec/gstcudaconvert.c b/sys/nvcodec/gstcudaconvert.c index 76de2a8d6f..03c7837d0a 100644 --- a/sys/nvcodec/gstcudaconvert.c +++ b/sys/nvcodec/gstcudaconvert.c @@ -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. */ diff --git a/sys/nvcodec/gstnvbaseenc.c b/sys/nvcodec/gstnvbaseenc.c index 34bbffa0e8..4299f5a213 100644 --- a/sys/nvcodec/gstnvbaseenc.c +++ b/sys/nvcodec/gstnvbaseenc.c @@ -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)) { diff --git a/sys/nvcodec/gstnvdec.c b/sys/nvcodec/gstnvdec.c index 2ccb696f1f..cdb0169180 100644 --- a/sys/nvcodec/gstnvdec.c +++ b/sys/nvcodec/gstnvdec.c @@ -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 */ diff --git a/sys/nvcodec/gstnvdecoder.c b/sys/nvcodec/gstnvdecoder.c index ccf09b0f8f..a6cbcca70c 100644 --- a/sys/nvcodec/gstnvdecoder.c +++ b/sys/nvcodec/gstnvdecoder.c @@ -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; } diff --git a/sys/nvcodec/gstnvenc.c b/sys/nvcodec/gstnvenc.c index 252e9ab6fb..4218369381 100644 --- a/sys/nvcodec/gstnvenc.c +++ b/sys/nvcodec/gstnvenc.c @@ -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); diff --git a/sys/nvcodec/gstnvenc.h b/sys/nvcodec/gstnvenc.h index 839223d40a..cd7af19ae0 100644 --- a/sys/nvcodec/gstnvenc.h +++ b/sys/nvcodec/gstnvenc.h @@ -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);