Use a shorter function name.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Tue, 30 Mar 2010 08:13:34 +0000 (08:13 +0000)
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Tue, 30 Mar 2010 08:13:34 +0000 (08:13 +0000)
gst-libs/gst/vaapi/gstvaapitexture.c
gst-libs/gst/vaapi/gstvaapiutils.c
gst-libs/gst/vaapi/gstvaapiutils.h
gst-libs/gst/vaapi/gstvaapiwindow_x11.c

index 3932fbe..b86f842 100644 (file)
@@ -504,7 +504,7 @@ gst_vaapi_texture_put_surface(
         GST_VAAPI_OBJECT_VADISPLAY(texture),
         texture->priv->gl_surface,
         GST_VAAPI_OBJECT_ID(surface),
-        get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(flags)
+        from_GstVaapiSurfaceRenderFlags(flags)
     );
     GST_VAAPI_OBJECT_UNLOCK_DISPLAY(texture);
 
index 2000433..c40bc6e 100644 (file)
@@ -101,12 +101,13 @@ const char *string_of_VAEntrypoint(VAEntrypoint entrypoint)
 }
 
 /**
- * get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags:
+ * from_GstVaapiSurfaceRenderFlags:
+ * @flags: the #GstVaapiSurfaceRenderFlags
  *
  * Converts #GstVaapiSurfaceRenderFlags to flags suitable for
  * vaPutSurface().
  */
-guint get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(guint flags)
+guint from_GstVaapiSurfaceRenderFlags(guint flags)
 {
     guint va_fields = 0, va_csc = 0;
 
index 7363947..f5cd4b9 100644 (file)
@@ -50,7 +50,7 @@ const char *string_of_VAProfile(VAProfile profile)
 const char *string_of_VAEntrypoint(VAEntrypoint entrypoint)
     attribute_hidden;
 
-guint get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(guint flags)
+guint from_GstVaapiSurfaceRenderFlags(guint flags)
     attribute_hidden;
 
 guint to_GstVaapiSurfaceStatus(guint va_flags)
index ab8a47d..f10860c 100644 (file)
@@ -433,7 +433,7 @@ gst_vaapi_window_x11_render(
         dst_rect->width,
         dst_rect->height,
         NULL, 0,
-        get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(flags)
+        from_GstVaapiSurfaceRenderFlags(flags)
     );
     GST_VAAPI_OBJECT_UNLOCK_DISPLAY(window);
     if (!vaapi_check_status(status, "vaPutSurface()"))