summaryrefslogtreecommitdiff
path: root/sys/msdk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/msdk')
-rw-r--r--sys/msdk/gstmsdkallocator_libva.c2
-rw-r--r--sys/msdk/gstmsdkbufferpool.c2
-rw-r--r--sys/msdk/gstmsdkenc.c2
-rw-r--r--sys/msdk/gstmsdkh264enc.c2
-rw-r--r--sys/msdk/gstmsdksystemmemory.c2
-rw-r--r--sys/msdk/gstmsdkvc1dec.c2
-rw-r--r--sys/msdk/gstmsdkvideomemory.c6
-rw-r--r--sys/msdk/gstmsdkvpp.c10
-rw-r--r--sys/msdk/gstmsdkvpputil.c2
-rw-r--r--sys/msdk/msdk.c2
10 files changed, 16 insertions, 16 deletions
diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c
index 05ffa5928..6aedf47c5 100644
--- a/sys/msdk/gstmsdkallocator_libva.c
+++ b/sys/msdk/gstmsdkallocator_libva.c
@@ -651,7 +651,7 @@ gst_msdk_replace_mfx_memid (GstMsdkContext * context,
msdk_mid = (GstMsdkMemoryID *) mfx_surface->Data.MemId;
dpy = gst_msdk_context_get_handle (context);
- /* Destory the underlined VAImage if already mapped */
+ /* Destroy the underlined VAImage if already mapped */
if (msdk_mid->image.image_id != VA_INVALID_ID
&& msdk_mid->image.buf != VA_INVALID_ID) {
status =
diff --git a/sys/msdk/gstmsdkbufferpool.c b/sys/msdk/gstmsdkbufferpool.c
index c8c6157dc..4d8ad3bac 100644
--- a/sys/msdk/gstmsdkbufferpool.c
+++ b/sys/msdk/gstmsdkbufferpool.c
@@ -297,7 +297,7 @@ gst_msdk_buffer_pool_acquire_buffer (GstBufferPool * pool,
}
}
#ifndef _WIN32
- /* When using dmabuf, we should confirm that the fd of memeory and
+ /* When using dmabuf, we should confirm that the fd of memory and
* the fd of surface match, since there is no guarantee that fd matches
* between surface and memory.
*/
diff --git a/sys/msdk/gstmsdkenc.c b/sys/msdk/gstmsdkenc.c
index 64dea7513..62187364e 100644
--- a/sys/msdk/gstmsdkenc.c
+++ b/sys/msdk/gstmsdkenc.c
@@ -148,7 +148,7 @@ ensure_bitrate_control (GstMsdkEnc * thiz)
GST_DEBUG_OBJECT (thiz, "set target bitrate: %u kbit/sec", thiz->bitrate);
mfx->RateControlMethod = thiz->rate_control;
- /* No effect in CQP varient algorithms */
+ /* No effect in CQP variant algorithms */
if ((mfx->RateControlMethod != MFX_RATECONTROL_CQP) &&
(thiz->bitrate > G_MAXUINT16 || thiz->max_vbv_bitrate > G_MAXUINT16)) {
mfxU32 max_val = MAX (thiz->max_vbv_bitrate, thiz->bitrate);
diff --git a/sys/msdk/gstmsdkh264enc.c b/sys/msdk/gstmsdkh264enc.c
index a47489be1..b77d15c29 100644
--- a/sys/msdk/gstmsdkh264enc.c
+++ b/sys/msdk/gstmsdkh264enc.c
@@ -539,7 +539,7 @@ gst_msdkh264enc_class_init (GstMsdkH264EncClass * klass)
g_object_class_install_property (gobject_class, PROP_B_PYRAMID,
g_param_spec_boolean ("b-pyramid", "B-pyramid",
- "Enable B-Pyramid Referene structure", FALSE,
+ "Enable B-Pyramid Reference structure", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (element_class,
diff --git a/sys/msdk/gstmsdksystemmemory.c b/sys/msdk/gstmsdksystemmemory.c
index 74bac7262..95217dd58 100644
--- a/sys/msdk/gstmsdksystemmemory.c
+++ b/sys/msdk/gstmsdksystemmemory.c
@@ -234,7 +234,7 @@ gst_msdk_system_memory_map_full (GstMemory * base_mem, GstMapInfo * info,
if ((info->flags & GST_MAP_WRITE) && mem->surface
&& mem->surface->Data.Locked) {
- GST_WARNING ("The surface in memory %p is not still avaliable", mem);
+ GST_WARNING ("The surface in memory %p is not still available", mem);
return NULL;
}
diff --git a/sys/msdk/gstmsdkvc1dec.c b/sys/msdk/gstmsdkvc1dec.c
index 89e73a42a..5438ed1ba 100644
--- a/sys/msdk/gstmsdkvc1dec.c
+++ b/sys/msdk/gstmsdkvc1dec.c
@@ -93,7 +93,7 @@ gst_msdkvc1dec_configure (GstMsdkDec * decoder)
decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_MAIN;
else {
decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_ADVANCED;
- /* asf advanced profile codec-data has 1 byte in the begining
+ /* asf advanced profile codec-data has 1 byte in the beginning
* which is the ASF binding byte. MediaSDK can't recognize this
* byte, so discard it */
if (decoder->input_state->codec_data) {
diff --git a/sys/msdk/gstmsdkvideomemory.c b/sys/msdk/gstmsdkvideomemory.c
index 5fc536988..8db07652a 100644
--- a/sys/msdk/gstmsdkvideomemory.c
+++ b/sys/msdk/gstmsdkvideomemory.c
@@ -107,7 +107,7 @@ gst_msdk_video_memory_get_surface_available (GstMemory * mem)
/*
* Every time releasing a gst buffer, we need to check the status of surface's lock,
- * so that we could manage locked surfaces seperatedly in the context.
+ * so that we could manage locked surfaces separately in the context.
* Otherwise, we put the surface to the available list.
*/
void
@@ -209,7 +209,7 @@ gst_video_meta_map_msdk_memory (GstVideoMeta * meta, guint plane,
}
if ((flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) {
- GST_WARNING ("The surface in memory %p is not still avaliable", mem);
+ GST_WARNING ("The surface in memory %p is not still available", mem);
return FALSE;
}
@@ -305,7 +305,7 @@ gst_msdk_video_memory_map_full (GstMemory * base_mem, GstMapInfo * info,
if ((info->flags & GST_MAP_WRITE) && mem->surface
&& mem->surface->Data.Locked) {
- GST_WARNING ("The surface in memory %p is not still avaliable", mem);
+ GST_WARNING ("The surface in memory %p is not still available", mem);
return NULL;
}
diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c
index fb8ed163d..66b32e082 100644
--- a/sys/msdk/gstmsdkvpp.c
+++ b/sys/msdk/gstmsdkvpp.c
@@ -352,7 +352,7 @@ gst_msdkvpp_create_buffer_pool (GstMsdkVPP * thiz, GstPadDirection direction,
if (!gst_buffer_pool_set_config (pool, config))
goto error_pool_config;
- /* Updating pool_info with algined info of allocator */
+ /* Updating pool_info with aligned info of allocator */
*pool_info = info;
return pool;
@@ -445,7 +445,7 @@ gst_msdkvpp_decide_allocation (GstBaseTransform * trans, GstQuery * query)
gst_object_unref (thiz->srcpad_buffer_pool);
/* Always create a pool for vpp out buffers. Each of the msdk element
- * has to create it's own mfxsurfacepool which is an msdk contraint.
+ * has to create it's own mfxsurfacepool which is an msdk constraint.
* For eg: Each Msdk component (vpp, dec and enc) will invoke the external
* Frame allocator for video-memory usage.So sharing the pool between
* gst-msdk elements might not be a good idea, rather each element
@@ -534,7 +534,7 @@ gst_msdkvpp_propose_allocation (GstBaseTransform * trans,
gst_query_add_allocation_param (query, allocator, &params);
gst_structure_free (config);
- /* if upstream does't have a pool requirement, set only
+ /* if upstream doesn't have a pool requirement, set only
* size, min_buffers and max_buffers in query */
gst_query_add_allocation_pool (query, need_pool ? pool : NULL, size,
min_buffers, 0);
@@ -808,7 +808,7 @@ vpp_error:
error_more_data:
GST_WARNING_OBJECT (thiz,
- "MSDK Requries additional input for processing, "
+ "MSDK Requires additional input for processing, "
"Retruning FLOW_DROPPED since no output buffer was generated");
ret = GST_BASE_TRANSFORM_FLOW_DROPPED;
goto transform_end;
@@ -1039,7 +1039,7 @@ gst_msdkvpp_initialize (GstMsdkVPP * thiz)
/* Enable the required filters */
ensure_filters (thiz);
- /* Add exteneded buffers */
+ /* Add extended buffers */
if (thiz->num_extra_params) {
thiz->param.NumExtParam = thiz->num_extra_params;
thiz->param.ExtParam = thiz->extra_params;
diff --git a/sys/msdk/gstmsdkvpputil.c b/sys/msdk/gstmsdkvpputil.c
index 7980aa75d..7517bda89 100644
--- a/sys/msdk/gstmsdkvpputil.c
+++ b/sys/msdk/gstmsdkvpputil.c
@@ -333,7 +333,7 @@ fixate_output_frame_size (GstMsdkVPP * thiz, GstVideoInfo * vinfo,
goto done;
}
- /* If all this failed, keep the height that was nearest to the orignal
+ /* If all this failed, keep the height that was nearest to the original
* height and the nearest possible width. This changes the DAR but
* there's not much else to do here.
*/
diff --git a/sys/msdk/msdk.c b/sys/msdk/msdk.c
index 2f4903950..47d0384ab 100644
--- a/sys/msdk/msdk.c
+++ b/sys/msdk/msdk.c
@@ -141,7 +141,7 @@ msdk_status_to_string (mfxStatus status)
default:
break;
}
- return "undefiend error";
+ return "undefined error";
}
void