mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +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),
|
GST_VAAPI_OBJECT_VADISPLAY(texture),
|
||||||
texture->priv->gl_surface,
|
texture->priv->gl_surface,
|
||||||
GST_VAAPI_OBJECT_ID(surface),
|
GST_VAAPI_OBJECT_ID(surface),
|
||||||
get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(flags)
|
from_GstVaapiSurfaceRenderFlags(flags)
|
||||||
);
|
);
|
||||||
GST_VAAPI_OBJECT_UNLOCK_DISPLAY(texture);
|
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
|
* Converts #GstVaapiSurfaceRenderFlags to flags suitable for
|
||||||
* vaPutSurface().
|
* vaPutSurface().
|
||||||
*/
|
*/
|
||||||
guint get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(guint flags)
|
guint from_GstVaapiSurfaceRenderFlags(guint flags)
|
||||||
{
|
{
|
||||||
guint va_fields = 0, va_csc = 0;
|
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)
|
const char *string_of_VAEntrypoint(VAEntrypoint entrypoint)
|
||||||
attribute_hidden;
|
attribute_hidden;
|
||||||
|
|
||||||
guint get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(guint flags)
|
guint from_GstVaapiSurfaceRenderFlags(guint flags)
|
||||||
attribute_hidden;
|
attribute_hidden;
|
||||||
|
|
||||||
guint to_GstVaapiSurfaceStatus(guint va_flags)
|
guint to_GstVaapiSurfaceStatus(guint va_flags)
|
||||||
|
|
|
@ -433,7 +433,7 @@ gst_vaapi_window_x11_render(
|
||||||
dst_rect->width,
|
dst_rect->width,
|
||||||
dst_rect->height,
|
dst_rect->height,
|
||||||
NULL, 0,
|
NULL, 0,
|
||||||
get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(flags)
|
from_GstVaapiSurfaceRenderFlags(flags)
|
||||||
);
|
);
|
||||||
GST_VAAPI_OBJECT_UNLOCK_DISPLAY(window);
|
GST_VAAPI_OBJECT_UNLOCK_DISPLAY(window);
|
||||||
if (!vaapi_check_status(status, "vaPutSurface()"))
|
if (!vaapi_check_status(status, "vaPutSurface()"))
|
||||||
|
|
Loading…
Reference in a new issue