From: gb Date: Tue, 30 Mar 2010 08:13:34 +0000 (+0000) Subject: Use a shorter function name. X-Git-Tag: accepted/trunk/20120822.173359~547 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c58a45f099eb188b5284a7f96b1bbc6d7eb3b5b9;p=profile%2Fivi%2Fgstreamer-vaapi.git Use a shorter function name. --- diff --git a/gst-libs/gst/vaapi/gstvaapitexture.c b/gst-libs/gst/vaapi/gstvaapitexture.c index 3932fbe..b86f842 100644 --- a/gst-libs/gst/vaapi/gstvaapitexture.c +++ b/gst-libs/gst/vaapi/gstvaapitexture.c @@ -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); diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c index 2000433..c40bc6e 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils.c +++ b/gst-libs/gst/vaapi/gstvaapiutils.c @@ -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; diff --git a/gst-libs/gst/vaapi/gstvaapiutils.h b/gst-libs/gst/vaapi/gstvaapiutils.h index 7363947..f5cd4b9 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils.h +++ b/gst-libs/gst/vaapi/gstvaapiutils.h @@ -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) diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_x11.c b/gst-libs/gst/vaapi/gstvaapiwindow_x11.c index ab8a47d..f10860c 100644 --- a/gst-libs/gst/vaapi/gstvaapiwindow_x11.c +++ b/gst-libs/gst/vaapi/gstvaapiwindow_x11.c @@ -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()"))