mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
Use a shorter function name.
This commit is contained in:
parent
a1dbe90077
commit
c58a45f099
4 changed files with 6 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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()"))
|
||||
|
|
Loading…
Reference in a new issue