Use a shorter function name.

This commit is contained in:
gb 2010-03-30 08:13:34 +00:00
parent a1dbe90077
commit c58a45f099
4 changed files with 6 additions and 5 deletions

View 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);

View 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;

View 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)

View 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()"))